2024.09.24 01:07:31.341588 [ 667 ] {} Context: Server was built in debug mode. It will work slowly. 2024.09.24 01:07:31.344407 [ 667 ] {} Context: The setting 'allow_remote_fs_zero_copy_replication' is enabled for MergeTree tables. But the feature of 'zero-copy replication' is under development and is not ready for production. The usage of this feature can lead to data corruption and loss. The setting should be disabled in production. 2024.09.24 01:07:35.145158 [ 667 ] {} Context: The setting 'merge_tree_metadata_cache' is enabled. But the feature of 'metadata cache in RocksDB' is experimental and is not ready for production. The usage of this feature can lead to data corruption and loss. The setting should be disabled in production. See the corresponding report at https://github.com/ClickHouse/ClickHouse/issues/51182 2024.09.24 01:07:35.843796 [ 667 ] {} KeeperLogStore: No logs exists in /var/lib/clickhouse/coordination/logs. It's Ok if it's the first run of clickhouse-keeper. 2024.09.24 01:07:35.844620 [ 667 ] {} KeeperLogStore: Removing all changelogs 2024.09.24 01:07:35.845930 [ 667 ] {} KeeperServer: Got 1000000000000000 value for setting 'reserved_log_items' which is bigger than int32_t max value, lowering value to 2147483647. 2024.09.24 01:07:35.850076 [ 667 ] {} KeeperStateManager: No state was read 2024.09.24 01:07:35.850177 [ 667 ] {} RaftInstance: invalid election timeout lower bound detected, adjusted to 0 2024.09.24 01:07:35.850255 [ 667 ] {} RaftInstance: invalid election timeout upper bound detected, adjusted to 0 2024.09.24 01:07:35.901654 [ 887 ] {} RaftInstance: Election timeout, initiate leader election 2024.09.24 01:07:35.979059 [ 667 ] {} Access(local_directory): File /var/lib/clickhouse/access/users.list doesn't exist 2024.09.24 01:07:35.979173 [ 667 ] {} Access(local_directory): Recovering lists in directory /var/lib/clickhouse/access/ 2024.09.24 01:07:36.361910 [ 667 ] {} Context: Table system.session_log is enabled. It's unreliable and may contain garbage. Do not use it for any kind of security monitoring. 2024.09.24 01:09:57.014513 [ 1023 ] {} ZooKeeperClient: Code: 33. DB::Exception: Cannot read all data. Bytes read: 0. Bytes expected: 4. (CANNOT_READ_ALL_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000b5e130c in /usr/bin/clickhouse 6. /build/src/IO/ReadBuffer.h:198: DB::ReadBuffer::readStrict(char*, unsigned long) @ 0x000000000b5e112f in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:117: void DB::readPODBinary(int&, DB::ReadBuffer&) @ 0x0000000013996b42 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:1099: void DB::readBinary(int&, DB::ReadBuffer&) @ 0x0000000013996afd in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:1136: void DB::readBinaryEndian<(std::endian)64206, int>(int&, DB::ReadBuffer&) @ 0x000000001e5fe55d in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:1149: void DB::readBinaryBigEndian(int&, DB::ReadBuffer&) @ 0x000000001e5fe51d in /usr/bin/clickhouse 11. /build/src/Common/ZooKeeper/ZooKeeperIO.h:51: void Coordination::read(int&, DB::ReadBuffer&) @ 0x000000001e5f999d in /usr/bin/clickhouse 12. /build/src/Common/ZooKeeper/ZooKeeperImpl.cpp:284: void Coordination::ZooKeeper::read(int&) @ 0x000000001f3074b4 in /usr/bin/clickhouse 13. /build/src/Common/ZooKeeper/ZooKeeperImpl.cpp:744: Coordination::ZooKeeper::receiveEvent() @ 0x000000001f2fc8ec in /usr/bin/clickhouse 14. /build/src/Common/ZooKeeper/ZooKeeperImpl.cpp:710: Coordination::ZooKeeper::receiveThread() @ 0x000000001f2fc364 in /usr/bin/clickhouse 15. /build/src/Common/ZooKeeper/ZooKeeperImpl.cpp:356: Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1::operator()() const @ 0x000000001f302198 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&>()()) std::__invoke[abi:v15000]> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&) @ 0x000000001f302175 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&, std::tuple<>&>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001f302159 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&, std::tuple<>&>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&, std::tuple<>&) @ 0x000000001f3020bd in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&&)::'lambda'()::operator()() @ 0x000000001f301fe5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1>()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&&)::'lambda'()&>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&&) @ 0x000000001f301f55 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&&)::'lambda'()&) @ 0x000000001f301f35 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001f301f15 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001f301ee0 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a610e2 in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:09:57.134308 [ 1022 ] {} ZooKeeperClient: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:38918 -> [::1]:9181). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000013cefb88 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000013cef1a4 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b204acd in /usr/bin/clickhouse 8. /build/src/Common/ZooKeeper/ZooKeeperCommon.cpp:51: Coordination::ZooKeeperRequest::write(DB::WriteBuffer&) const @ 0x000000001f2cb085 in /usr/bin/clickhouse 9. /build/src/Common/ZooKeeper/ZooKeeperImpl.cpp:645: Coordination::ZooKeeper::sendThread() @ 0x000000001f2fb65c in /usr/bin/clickhouse 10. /build/src/Common/ZooKeeper/ZooKeeperImpl.cpp:355: Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0::operator()() const @ 0x000000001f301958 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0&>()()) std::__invoke[abi:v15000]> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0&>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0&) @ 0x000000001f301935 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0&, std::tuple<>&>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001f301919 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0&, std::tuple<>&>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0&, std::tuple<>&) @ 0x000000001f30187d in /usr/bin/clickhouse 14. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0&&)::'lambda'()::operator()() @ 0x000000001f3017a5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0>()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0&&)::'lambda'()&>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0&&) @ 0x000000001f301715 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0&&)::'lambda'()&) @ 0x000000001f3016f5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001f3016d5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001f3016a0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a610e2 in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:09:57.290733 [ 1023 ] {} ZooKeeperClient: Poco::Exception. Code: 1000, e.code() = 107, Net Exception: Socket is not connected, Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(String const&, int) @ 0x00000000249623a7 in /usr/bin/clickhouse 4. /build/base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x00000000249664e7 in /usr/bin/clickhouse 5. /build/base/poco/Net/src/NetException.cpp:26: Poco::Net::NetException::NetException(String const&, int) @ 0x000000002476d347 in /usr/bin/clickhouse 6. /build/base/poco/Net/src/SocketImpl.cpp:995: Poco::Net::SocketImpl::error(int, String const&) @ 0x000000002477cc8b in /usr/bin/clickhouse 7. /build/base/poco/Net/src/SocketImpl.cpp:914: Poco::Net::SocketImpl::error() @ 0x000000002477b629 in /usr/bin/clickhouse 8. /build/base/poco/Net/src/SocketImpl.cpp:272: Poco::Net::SocketImpl::shutdown() @ 0x000000002477e052 in /usr/bin/clickhouse 9. /build/base/poco/Net/src/StreamSocket.cpp:109: Poco::Net::StreamSocket::shutdown() @ 0x0000000024781d7e in /usr/bin/clickhouse 10. /build/src/Common/ZooKeeper/ZooKeeperImpl.cpp:961: Coordination::ZooKeeper::finalize(bool, bool, String const&) @ 0x000000001f2f4cda in /usr/bin/clickhouse 11. /build/src/Common/ZooKeeper/ZooKeeperImpl.cpp:732: Coordination::ZooKeeper::receiveThread() @ 0x000000001f2fc763 in /usr/bin/clickhouse 12. /build/src/Common/ZooKeeper/ZooKeeperImpl.cpp:356: Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1::operator()() const @ 0x000000001f302198 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&>()()) std::__invoke[abi:v15000]> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&) @ 0x000000001f302175 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&, std::tuple<>&>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001f302159 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&, std::tuple<>&>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&, std::tuple<>&) @ 0x000000001f3020bd in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&&)::'lambda'()::operator()() @ 0x000000001f301fe5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1>()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&&)::'lambda'()&>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&&) @ 0x000000001f301f55 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&&)::'lambda'()&) @ 0x000000001f301f35 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001f301f15 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001f301ee0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a610e2 in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:10:00.601627 [ 1166 ] {ed7cc8bc-44f9-43a5-a99d-89346f452aed} executeQuery: Code: 43. DB::Exception: Function untuple can't have lambda-expressions as arguments. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:48242) (comment: 03142_untuple_crash.sql) (in query: SELECT untuple(x -> 0) -- { serverError ILLEGAL_TYPE_OF_ARGUMENT } ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [60]) @ 0x000000000b19cbfe in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4935: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c933f24 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:10:00.602310 [ 1166 ] {ed7cc8bc-44f9-43a5-a99d-89346f452aed} TCPHandler: Code: 43. DB::Exception: Function untuple can't have lambda-expressions as arguments. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [60]) @ 0x000000000b19cbfe in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4935: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c933f24 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:10:00.912819 [ 1125 ] {f3284e9e-a85d-4fd7-b56f-018381e7bcb9} executeQuery: Code: 344. DB::Exception: Adding a new column of a type which has dynamic subcolumns to an existing table is not allowed. It has known bugs. (SUPPORT_IS_DISABLED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:48216) (comment: 02910_object-json-crash-add-column.sql) (in query: ALTER TABLE test02910 ADD COLUMN j2 Tuple(JSON) DEFAULT jString;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [114]) @ 0x000000001b8a71de in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1097: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58df51 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:10:00.913681 [ 1125 ] {f3284e9e-a85d-4fd7-b56f-018381e7bcb9} TCPHandler: Code: 344. DB::Exception: Adding a new column of a type which has dynamic subcolumns to an existing table is not allowed. It has known bugs. (SUPPORT_IS_DISABLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [114]) @ 0x000000001b8a71de in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1097: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58df51 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:10:00.922718 [ 1125 ] {e27d88cb-0000-4dbf-b99a-c4141387b016} executeQuery: Code: 344. DB::Exception: Adding a new column of a type which has dynamic subcolumns to an existing table is not allowed. It has known bugs. (SUPPORT_IS_DISABLED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:48216) (comment: 02910_object-json-crash-add-column.sql) (in query: ALTER TABLE test02910 ADD COLUMN j2 Tuple(Float64, JSON);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [114]) @ 0x000000001b8a71de in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1097: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58df51 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:10:00.923402 [ 1125 ] {e27d88cb-0000-4dbf-b99a-c4141387b016} TCPHandler: Code: 344. DB::Exception: Adding a new column of a type which has dynamic subcolumns to an existing table is not allowed. It has known bugs. (SUPPORT_IS_DISABLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [114]) @ 0x000000001b8a71de in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1097: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58df51 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:10:00.932882 [ 1125 ] {30e5b8c0-ef08-4260-ae99-ce3a38013526} executeQuery: Code: 344. DB::Exception: Adding a new column of a type which has dynamic subcolumns to an existing table is not allowed. It has known bugs. (SUPPORT_IS_DISABLED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:48216) (comment: 02910_object-json-crash-add-column.sql) (in query: ALTER TABLE test02910 ADD COLUMN j2 Tuple(Array(Tuple(JSON))) DEFAULT jString;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [114]) @ 0x000000001b8a71de in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1097: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58df51 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:10:00.933784 [ 1125 ] {30e5b8c0-ef08-4260-ae99-ce3a38013526} TCPHandler: Code: 344. DB::Exception: Adding a new column of a type which has dynamic subcolumns to an existing table is not allowed. It has known bugs. (SUPPORT_IS_DISABLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [114]) @ 0x000000001b8a71de in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1097: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58df51 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:10:00.942354 [ 1125 ] {ef68925f-e653-4fd3-b67c-10a9e419fbba} executeQuery: Code: 344. DB::Exception: Adding a new column of a type which has dynamic subcolumns to an existing table is not allowed. It has known bugs. (SUPPORT_IS_DISABLED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:48216) (comment: 02910_object-json-crash-add-column.sql) (in query: ALTER TABLE test02910 ADD COLUMN j2 JSON default jString;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [114]) @ 0x000000001b8a71de in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1097: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58df51 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:10:00.943158 [ 1125 ] {ef68925f-e653-4fd3-b67c-10a9e419fbba} TCPHandler: Code: 344. DB::Exception: Adding a new column of a type which has dynamic subcolumns to an existing table is not allowed. It has known bugs. (SUPPORT_IS_DISABLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [114]) @ 0x000000001b8a71de in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1097: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58df51 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:10:01.135987 [ 1125 ] {ac8fadf3-03d8-471d-a221-f5d30c855c7a} test_kjwngi6w.test02910_second (24131050-5b71-4669-8d56-4c8393328610): Table can't create parts with adaptive granularity, but settings min_rows_for_wide_part = 0, min_bytes_for_wide_part = 1073741824. Parts with non-adaptive granularity can be stored only in Wide (default) format. Settings 'min_rows_for_wide_part'and 'min_bytes_for_wide_part' will be ignored. 2024.09.24 01:10:01.372780 [ 1125 ] {8f68fc94-fa15-4712-a926-78d7deeee235} executeQuery: Code: 344. DB::Exception: Adding a new column of a type which has dynamic subcolumns to an existing table is not allowed. It has known bugs. (SUPPORT_IS_DISABLED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:48216) (comment: 02910_object-json-crash-add-column.sql) (in query: ALTER TABLE test02910_second ADD COLUMN `tags_json` Tuple(JSON) DEFAULT jString;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [114]) @ 0x000000001b8a71de in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1097: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58df51 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:10:01.373603 [ 1125 ] {8f68fc94-fa15-4712-a926-78d7deeee235} TCPHandler: Code: 344. DB::Exception: Adding a new column of a type which has dynamic subcolumns to an existing table is not allowed. It has known bugs. (SUPPORT_IS_DISABLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [114]) @ 0x000000001b8a71de in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1097: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58df51 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:10:01.382715 [ 1125 ] {6c758257-afd3-4d8f-a8f0-426bc5aa4bfa} executeQuery: Code: 344. DB::Exception: Adding a new column of a type which has dynamic subcolumns to an existing table is not allowed. It has known bugs. (SUPPORT_IS_DISABLED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:48216) (comment: 02910_object-json-crash-add-column.sql) (in query: ALTER TABLE test02910_second ADD COLUMN `tags_json` Tuple(Float64, JSON);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [114]) @ 0x000000001b8a71de in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1097: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58df51 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:10:01.383456 [ 1125 ] {6c758257-afd3-4d8f-a8f0-426bc5aa4bfa} TCPHandler: Code: 344. DB::Exception: Adding a new column of a type which has dynamic subcolumns to an existing table is not allowed. It has known bugs. (SUPPORT_IS_DISABLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [114]) @ 0x000000001b8a71de in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1097: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58df51 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:10:01.393236 [ 1125 ] {8b65dfe4-c464-41f4-ac31-e2fee1e0d49a} executeQuery: Code: 344. DB::Exception: Adding a new column of a type which has dynamic subcolumns to an existing table is not allowed. It has known bugs. (SUPPORT_IS_DISABLED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:48216) (comment: 02910_object-json-crash-add-column.sql) (in query: ALTER TABLE test02910_second ADD COLUMN `tags_json` Tuple(Array(Tuple(JSON))) DEFAULT jString;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [114]) @ 0x000000001b8a71de in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1097: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58df51 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:10:01.394192 [ 1125 ] {8b65dfe4-c464-41f4-ac31-e2fee1e0d49a} TCPHandler: Code: 344. DB::Exception: Adding a new column of a type which has dynamic subcolumns to an existing table is not allowed. It has known bugs. (SUPPORT_IS_DISABLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [114]) @ 0x000000001b8a71de in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1097: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58df51 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:10:01.402816 [ 1125 ] {0868d3ec-5778-4f67-88e7-3b7623e96da7} executeQuery: Code: 344. DB::Exception: Adding a new column of a type which has dynamic subcolumns to an existing table is not allowed. It has known bugs. (SUPPORT_IS_DISABLED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:48216) (comment: 02910_object-json-crash-add-column.sql) (in query: ALTER TABLE test02910_second ADD COLUMN `tags_json` JSON;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [114]) @ 0x000000001b8a71de in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1097: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58df51 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:10:01.403725 [ 1125 ] {0868d3ec-5778-4f67-88e7-3b7623e96da7} TCPHandler: Code: 344. DB::Exception: Adding a new column of a type which has dynamic subcolumns to an existing table is not allowed. It has known bugs. (SUPPORT_IS_DISABLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [114]) @ 0x000000001b8a71de in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1097: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58df51 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:10:01.549978 [ 671 ] {a0c6886b-2d8d-4ab7-95ed-6f0ebef866a1} DynamicQueryHandler: Code: 271. DB::Exception: Cannot decompress Gorilla-encoded data. File has wrong header. (CANNOT_DECOMPRESS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [62]) @ 0x000000000bc6327e in /usr/bin/clickhouse 6. /build/src/Compression/CompressionCodecGorilla.cpp:429: DB::CompressionCodecGorilla::doDecompressData(char const*, unsigned int, char*, unsigned int) const @ 0x000000001b80ca12 in /usr/bin/clickhouse 7. /build/src/Compression/ICompressionCodec.cpp:112: DB::ICompressionCodec::decompress(char const*, unsigned int, char*) const @ 0x000000001b822b7a in /usr/bin/clickhouse 8. /build/src/Compression/CompressedReadBufferBase.cpp:308: DB::CompressedReadBufferBase::decompress(DB::BufferBase::Buffer&, unsigned long, unsigned long) @ 0x000000001b7d2267 in /usr/bin/clickhouse 9. /build/src/Compression/CompressedReadBuffer.cpp:26: DB::CompressedReadBuffer::nextImpl() @ 0x000000001b7d067a in /usr/bin/clickhouse 10. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2189bc in /usr/bin/clickhouse 11. /build/src/IO/ReadBuffer.cpp:25: DB::(anonymous namespace)::ReadBufferWrapper::nextImpl() @ 0x000000001b39c50f in /usr/bin/clickhouse 12. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2189bc in /usr/bin/clickhouse 13. /build/src/IO/ReadBuffer.h:105: DB::ConcatReadBuffer::nextImpl() @ 0x000000001bd89ae6 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2189bc in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:91: DB::ReadBuffer::nextIfAtEnd() @ 0x000000001399f4f8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1266: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b227f in /usr/bin/clickhouse 17. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 19. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:10:02.766818 [ 1122 ] {1a3bb0f1-5c47-4e7d-aa4b-389a071065f4} PostgreSQLConnectionPool: Connection error: connection to server at "127.121.0.1", port 5432 failed: Connection refused Is the server running on that host and accepting TCP/IP connections? 2024.09.24 01:10:02.767407 [ 1122 ] {1a3bb0f1-5c47-4e7d-aa4b-389a071065f4} PostgreSQLConnectionPool: Connection error: connection to server at "127.121.0.1", port 5432 failed: Connection refused Is the server running on that host and accepting TCP/IP connections? 2024.09.24 01:10:02.767968 [ 1122 ] {1a3bb0f1-5c47-4e7d-aa4b-389a071065f4} PostgreSQLConnectionPool: Connection error: connection to server at "127.121.0.1", port 5432 failed: Connection refused Is the server running on that host and accepting TCP/IP connections? 2024.09.24 01:10:02.768534 [ 1122 ] {1a3bb0f1-5c47-4e7d-aa4b-389a071065f4} PostgreSQLConnectionPool: Connection error: connection to server at "127.121.0.1", port 5432 failed: Connection refused Is the server running on that host and accepting TCP/IP connections? 2024.09.24 01:10:02.769035 [ 1122 ] {1a3bb0f1-5c47-4e7d-aa4b-389a071065f4} PostgreSQLConnectionPool: Connection error: connection to server at "127.121.0.1", port 5432 failed: Connection refused Is the server running on that host and accepting TCP/IP connections? 2024.09.24 01:10:02.876436 [ 1122 ] {1a3bb0f1-5c47-4e7d-aa4b-389a071065f4} executeQuery: Code: 614. DB::Exception: Try 5. Connection to `127.121.0.1:5432` failed with error: connection to server at "127.121.0.1", port 5432 failed: Connection refused Is the server running on that host and accepting TCP/IP connections? . (POSTGRESQL_CONNECTION_FAILURE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:45262) (comment: 02888_system_tables_with_inaccsessible_table_function.sql) (in query: CREATE TABLE test_qsvzy9xk.tablefunc01_without_schema AS postgresql('127.121.0.1:5432', 'postgres_db', 'postgres_table', 'postgres_user', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b200fea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x000000001a94f169 in /usr/bin/clickhouse 6. /build/src/Core/PostgreSQL/PoolWithFailover.cpp:135: postgres::PoolWithFailover::get() @ 0x000000001adf3188 in /usr/bin/clickhouse 7. /build/src/Storages/StoragePostgreSQL.cpp:98: DB::StoragePostgreSQL::getTableStructureFromData(std::shared_ptr const&, String const&, String const&, std::shared_ptr const&) @ 0x000000001d7d9104 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:43: DB::TableFunctionPostgreSQL::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a9cf64f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:788: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7eac00 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f0864 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 21. ? @ 0x00007f1d281b3ac3 in ? 22. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:10:02.877250 [ 1122 ] {1a3bb0f1-5c47-4e7d-aa4b-389a071065f4} TCPHandler: Code: 614. DB::Exception: Try 5. Connection to `127.121.0.1:5432` failed with error: connection to server at "127.121.0.1", port 5432 failed: Connection refused Is the server running on that host and accepting TCP/IP connections? . (POSTGRESQL_CONNECTION_FAILURE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b200fea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x000000001a94f169 in /usr/bin/clickhouse 6. /build/src/Core/PostgreSQL/PoolWithFailover.cpp:135: postgres::PoolWithFailover::get() @ 0x000000001adf3188 in /usr/bin/clickhouse 7. /build/src/Storages/StoragePostgreSQL.cpp:98: DB::StoragePostgreSQL::getTableStructureFromData(std::shared_ptr const&, String const&, String const&, std::shared_ptr const&) @ 0x000000001d7d9104 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:43: DB::TableFunctionPostgreSQL::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a9cf64f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:788: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7eac00 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f0864 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 21. ? @ 0x00007f1d281b3ac3 in ? 22. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:10:02.885146 [ 1122 ] {1c0ace55-60d9-4063-8faf-cb7e63aab2a5} mysqlxx::Pool: mysqlxx::ConnectionFailed 2024.09.24 01:10:02.885318 [ 1122 ] {1c0ace55-60d9-4063-8faf-cb7e63aab2a5} Application: Connection to mysql_db@127.123.0.1:3306 as user mysql_user failed: mysqlxx::ConnectionFailed: Can't connect to MySQL server on '127.123.0.1' (115) ((nullptr):0) 2024.09.24 01:10:02.885502 [ 1122 ] {1c0ace55-60d9-4063-8faf-cb7e63aab2a5} Application: Connection to mysql failed 1 times 2024.09.24 01:10:02.886023 [ 1122 ] {1c0ace55-60d9-4063-8faf-cb7e63aab2a5} mysqlxx::Pool: mysqlxx::ConnectionFailed 2024.09.24 01:10:02.886169 [ 1122 ] {1c0ace55-60d9-4063-8faf-cb7e63aab2a5} Application: Connection to mysql_db@127.123.0.1:3306 as user mysql_user failed: mysqlxx::ConnectionFailed: Can't connect to MySQL server on '127.123.0.1' (115) ((nullptr):0) 2024.09.24 01:10:02.886288 [ 1122 ] {1c0ace55-60d9-4063-8faf-cb7e63aab2a5} Application: Connection to mysql failed 2 times 2024.09.24 01:10:02.886787 [ 1122 ] {1c0ace55-60d9-4063-8faf-cb7e63aab2a5} mysqlxx::Pool: mysqlxx::ConnectionFailed 2024.09.24 01:10:02.886939 [ 1122 ] {1c0ace55-60d9-4063-8faf-cb7e63aab2a5} Application: Connection to mysql_db@127.123.0.1:3306 as user mysql_user failed: mysqlxx::ConnectionFailed: Can't connect to MySQL server on '127.123.0.1' (115) ((nullptr):0) 2024.09.24 01:10:02.887060 [ 1122 ] {1c0ace55-60d9-4063-8faf-cb7e63aab2a5} Application: Connection to mysql failed 3 times 2024.09.24 01:10:03.005542 [ 1122 ] {1c0ace55-60d9-4063-8faf-cb7e63aab2a5} executeQuery: Poco::Exception. Code: 1000, e.code() = 0, Exception: Connections to mysql failed: mysql_db@127.123.0.1:3306 as user mysql_user, ERROR 2002 : mysqlxx::ConnectionFailed: Can't connect to MySQL server on '127.123.0.1' (115) ((nullptr):0) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:45262) (comment: 02888_system_tables_with_inaccsessible_table_function.sql) (in query: CREATE TABLE test_qsvzy9xk.tablefunc02_without_schema AS mysql('127.123.0.1:3306', 'mysql_db', 'mysql_table', 'mysql_user', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/mysqlxx/PoolWithFailover.cpp:214: mysqlxx::PoolWithFailover::get() @ 0x0000000024610243 in /usr/bin/clickhouse 4. /build/src/Databases/MySQL/FetchTablesColumnsList.cpp:88: DB::fetchTablesColumnsList(mysqlxx::PoolWithFailover&, String const&, std::vector> const&, DB::Settings const&, MultiEnum) @ 0x000000001c86e46c in /usr/bin/clickhouse 5. /build/src/Storages/StorageMySQL.cpp:82: DB::StorageMySQL::getTableStructureFromData(mysqlxx::PoolWithFailover&, String const&, String const&, std::shared_ptr const&) @ 0x000000001d7cffa1 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMySQL.cpp:62: DB::TableFunctionMySQL::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a9cc2f5 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:788: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7eac00 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f0864 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:10:03.006443 [ 1122 ] {1c0ace55-60d9-4063-8faf-cb7e63aab2a5} TCPHandler: Code: 1000. DB::Exception: Exception: Connections to mysql failed: mysql_db@127.123.0.1:3306 as user mysql_user, ERROR 2002 : mysqlxx::ConnectionFailed: Can't connect to MySQL server on '127.123.0.1' (115) ((nullptr):0). (POCO_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/mysqlxx/PoolWithFailover.cpp:214: mysqlxx::PoolWithFailover::get() @ 0x0000000024610243 in /usr/bin/clickhouse 4. /build/src/Databases/MySQL/FetchTablesColumnsList.cpp:88: DB::fetchTablesColumnsList(mysqlxx::PoolWithFailover&, String const&, std::vector> const&, DB::Settings const&, MultiEnum) @ 0x000000001c86e46c in /usr/bin/clickhouse 5. /build/src/Storages/StorageMySQL.cpp:82: DB::StorageMySQL::getTableStructureFromData(mysqlxx::PoolWithFailover&, String const&, String const&, std::shared_ptr const&) @ 0x000000001d7cffa1 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMySQL.cpp:62: DB::TableFunctionMySQL::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a9cc2f5 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:788: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7eac00 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f0864 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:10:03.957004 [ 1126 ] {a00de800-e29c-4432-8ffe-172d87e28040} executeQuery: Code: 636. DB::Exception: Cannot extract table structure from Parquet format file, because there are no files with provided path in S3 or all files are empty. You must specify table structure manually: Cannot extract table structure from Parquet format file. You can specify the structure manually. (CANNOT_EXTRACT_TABLE_STRUCTURE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:45306) (comment: 02873_s3_presigned_url_and_url_with_special_characters.sql) (in query: select * from s3('https://datasets-documentation.s3.eu-west-3.amazonaws.com/MyPrefix/BU%20-%20UNIT%20-%201/*.parquet');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageS3.cpp:1489: DB::(anonymous namespace)::ReadBufferIterator::next() @ 0x000000001d94dcd1 in /usr/bin/clickhouse 7. /build/src/Formats/ReadSchemaUtils.cpp:85: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001e6968ed in /usr/bin/clickhouse 8. /build/src/Formats/ReadSchemaUtils.cpp:239: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001e6986a8 in /usr/bin/clickhouse 9. /build/src/Storages/StorageS3.cpp:1569: DB::StorageS3::getTableStructureFromDataImpl(DB::StorageS3::Configuration const&, std::optional const&, std::shared_ptr) @ 0x000000001d946dfe in /usr/bin/clickhouse 10. /build/src/Storages/StorageS3.cpp:997: DB::StorageS3::StorageS3(DB::StorageS3::Configuration const&, std::shared_ptr, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional, bool, std::shared_ptr) @ 0x000000001d946675 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageS3* std::construct_at[abi:v15000]&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, DB::StorageS3*>(DB::StorageS3*, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x000000001a9a4091 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void, void>(std::allocator&, DB::StorageS3*, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x000000001a9a3d9a in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&>(std::allocator, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x000000001a9a3a45 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void>(std::allocator const&, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x000000001a9a387a in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void>(DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x000000001a99ce00 in /usr/bin/clickhouse 16. /build/src/TableFunctions/TableFunctionS3.cpp:351: DB::TableFunctionS3::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a99b765 in /usr/bin/clickhouse 17. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 18. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 19. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 2024.09.24 01:10:03.957950 [ 1126 ] {a00de800-e29c-4432-8ffe-172d87e28040} TCPHandler: Code: 636. DB::Exception: Cannot extract table structure from Parquet format file, because there are no files with provided path in S3 or all files are empty. You must specify table structure manually: Cannot extract table structure from Parquet format file. You can specify the structure manually. (CANNOT_EXTRACT_TABLE_STRUCTURE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageS3.cpp:1489: DB::(anonymous namespace)::ReadBufferIterator::next() @ 0x000000001d94dcd1 in /usr/bin/clickhouse 7. /build/src/Formats/ReadSchemaUtils.cpp:85: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001e6968ed in /usr/bin/clickhouse 8. /build/src/Formats/ReadSchemaUtils.cpp:239: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001e6986a8 in /usr/bin/clickhouse 9. /build/src/Storages/StorageS3.cpp:1569: DB::StorageS3::getTableStructureFromDataImpl(DB::StorageS3::Configuration const&, std::optional const&, std::shared_ptr) @ 0x000000001d946dfe in /usr/bin/clickhouse 10. /build/src/Storages/StorageS3.cpp:997: DB::StorageS3::StorageS3(DB::StorageS3::Configuration const&, std::shared_ptr, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional, bool, std::shared_ptr) @ 0x000000001d946675 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageS3* std::construct_at[abi:v15000]&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, DB::StorageS3*>(DB::StorageS3*, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x000000001a9a4091 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void, void>(std::allocator&, DB::StorageS3*, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x000000001a9a3d9a in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&>(std::allocator, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x000000001a9a3a45 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void>(std::allocator const&, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x000000001a9a387a in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void>(DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x000000001a99ce00 in /usr/bin/clickhouse 16. /build/src/TableFunctions/TableFunctionS3.cpp:351: DB::TableFunctionS3::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a99b765 in /usr/bin/clickhouse 17. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 18. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 19. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 2024.09.24 01:10:04.476416 [ 1126 ] {7c192108-cc14-40da-824a-ec408b7664e1} executeQuery: Code: 636. DB::Exception: Cannot extract table structure from Parquet format file, because there are no files with provided path in S3 or all files are empty. You must specify table structure manually: Cannot extract table structure from Parquet format file. You can specify the structure manually. (CANNOT_EXTRACT_TABLE_STRUCTURE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:45306) (comment: 02873_s3_presigned_url_and_url_with_special_characters.sql) (in query: select * from s3('https://datasets-documentation.s3.eu-west-3.amazonaws.com/MyPrefix/*.parquet?some_tocken=ABCD');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageS3.cpp:1489: DB::(anonymous namespace)::ReadBufferIterator::next() @ 0x000000001d94dcd1 in /usr/bin/clickhouse 7. /build/src/Formats/ReadSchemaUtils.cpp:85: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001e6968ed in /usr/bin/clickhouse 8. /build/src/Formats/ReadSchemaUtils.cpp:239: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001e6986a8 in /usr/bin/clickhouse 9. /build/src/Storages/StorageS3.cpp:1569: DB::StorageS3::getTableStructureFromDataImpl(DB::StorageS3::Configuration const&, std::optional const&, std::shared_ptr) @ 0x000000001d946dfe in /usr/bin/clickhouse 10. /build/src/Storages/StorageS3.cpp:997: DB::StorageS3::StorageS3(DB::StorageS3::Configuration const&, std::shared_ptr, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional, bool, std::shared_ptr) @ 0x000000001d946675 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageS3* std::construct_at[abi:v15000]&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, DB::StorageS3*>(DB::StorageS3*, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x000000001a9a4091 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void, void>(std::allocator&, DB::StorageS3*, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x000000001a9a3d9a in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&>(std::allocator, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x000000001a9a3a45 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void>(std::allocator const&, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x000000001a9a387a in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void>(DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x000000001a99ce00 in /usr/bin/clickhouse 16. /build/src/TableFunctions/TableFunctionS3.cpp:351: DB::TableFunctionS3::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a99b765 in /usr/bin/clickhouse 17. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 18. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 19. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 2024.09.24 01:10:04.477593 [ 1126 ] {7c192108-cc14-40da-824a-ec408b7664e1} TCPHandler: Code: 636. DB::Exception: Cannot extract table structure from Parquet format file, because there are no files with provided path in S3 or all files are empty. You must specify table structure manually: Cannot extract table structure from Parquet format file. You can specify the structure manually. (CANNOT_EXTRACT_TABLE_STRUCTURE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageS3.cpp:1489: DB::(anonymous namespace)::ReadBufferIterator::next() @ 0x000000001d94dcd1 in /usr/bin/clickhouse 7. /build/src/Formats/ReadSchemaUtils.cpp:85: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001e6968ed in /usr/bin/clickhouse 8. /build/src/Formats/ReadSchemaUtils.cpp:239: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001e6986a8 in /usr/bin/clickhouse 9. /build/src/Storages/StorageS3.cpp:1569: DB::StorageS3::getTableStructureFromDataImpl(DB::StorageS3::Configuration const&, std::optional const&, std::shared_ptr) @ 0x000000001d946dfe in /usr/bin/clickhouse 10. /build/src/Storages/StorageS3.cpp:997: DB::StorageS3::StorageS3(DB::StorageS3::Configuration const&, std::shared_ptr, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional, bool, std::shared_ptr) @ 0x000000001d946675 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageS3* std::construct_at[abi:v15000]&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, DB::StorageS3*>(DB::StorageS3*, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x000000001a9a4091 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void, void>(std::allocator&, DB::StorageS3*, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x000000001a9a3d9a in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&>(std::allocator, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x000000001a9a3a45 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void>(std::allocator const&, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x000000001a9a387a in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void>(DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x000000001a99ce00 in /usr/bin/clickhouse 16. /build/src/TableFunctions/TableFunctionS3.cpp:351: DB::TableFunctionS3::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a99b765 in /usr/bin/clickhouse 17. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 18. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 19. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 2024.09.24 01:10:07.672179 [ 1125 ] {464429a3-b340-418f-9b25-725bd20e8a09} executeQuery: Code: 43. DB::Exception: Illegal type UInt8 of argument of function arrayShiftLeft, expected String: While processing arrayShiftLeft(['foo'], 3, 3). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:45370) (comment: 02845_arrayShiftRotate.sql) (in query: select arrayShiftLeft(['foo'], 3, 3);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayShiftRotate.cpp:81: DB::FunctionArrayShiftRotate, DB::NameArrayShiftLeft>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000132cb5cf in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:10:07.673250 [ 1125 ] {464429a3-b340-418f-9b25-725bd20e8a09} TCPHandler: Code: 43. DB::Exception: Illegal type UInt8 of argument of function arrayShiftLeft, expected String: While processing arrayShiftLeft(['foo'], 3, 3). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayShiftRotate.cpp:81: DB::FunctionArrayShiftRotate, DB::NameArrayShiftLeft>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000132cb5cf in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:10:07.681280 [ 1125 ] {9e2e3ebf-6ec7-4ee4-996c-68c9d5c87fb7} executeQuery: Code: 43. DB::Exception: Illegal type String of argument of function arrayShiftLeft, expected UInt8: While processing arrayShiftLeft([1], 3, 'foo'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:45370) (comment: 02845_arrayShiftRotate.sql) (in query: select arrayShiftLeft([1], 3, 'foo');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayShiftRotate.cpp:81: DB::FunctionArrayShiftRotate, DB::NameArrayShiftLeft>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000132cb5cf in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:10:07.682096 [ 1125 ] {9e2e3ebf-6ec7-4ee4-996c-68c9d5c87fb7} TCPHandler: Code: 43. DB::Exception: Illegal type String of argument of function arrayShiftLeft, expected UInt8: While processing arrayShiftLeft([1], 3, 'foo'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayShiftRotate.cpp:81: DB::FunctionArrayShiftRotate, DB::NameArrayShiftLeft>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000132cb5cf in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:10:08.555785 [ 1122 ] {c670ea0f-2e6b-419d-b259-4c45c1de5984} executeQuery: Code: 107. DB::ErrnoException: Cannot open file /var/lib/clickhouse/user_files/a, errno: 2, strerror: No such file or directory: while executing 'FUNCTION file(materialize('a') :: 1) -> file(materialize('a')) String : 0'. (FILE_DOESNT_EXIST) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:45386) (comment: 02843_context_has_expired.sql) (in query: SELECT 1 in (SELECT file(materialize('a')));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b200fea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:169: DB::ErrnoException::ErrnoException(String const&, int, int, std::optional const&) @ 0x00000000138e38f0 in /usr/bin/clickhouse 6. /build/src/Common/Exception.cpp:224: DB::throwFromErrnoWithPath(String const&, String const&, int, int) @ 0x00000000138df09b in /usr/bin/clickhouse 7. /build/src/IO/ReadBufferFromFile.cpp:48: DB::ReadBufferFromFile::ReadBufferFromFile(String const&, unsigned long, int, char*, unsigned long, std::optional, std::shared_ptr) @ 0x0000000013975bb6 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionFile.cpp:135: DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b8f8503 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 17. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 2024.09.24 01:10:08.557311 [ 1122 ] {c670ea0f-2e6b-419d-b259-4c45c1de5984} TCPHandler: Code: 107. DB::ErrnoException: Cannot open file /var/lib/clickhouse/user_files/a, errno: 2, strerror: No such file or directory: while executing 'FUNCTION file(materialize('a') :: 1) -> file(materialize('a')) String : 0'. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b200fea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:169: DB::ErrnoException::ErrnoException(String const&, int, int, std::optional const&) @ 0x00000000138e38f0 in /usr/bin/clickhouse 6. /build/src/Common/Exception.cpp:224: DB::throwFromErrnoWithPath(String const&, String const&, int, int) @ 0x00000000138df09b in /usr/bin/clickhouse 7. /build/src/IO/ReadBufferFromFile.cpp:48: DB::ReadBufferFromFile::ReadBufferFromFile(String const&, unsigned long, int, char*, unsigned long, std::optional, std::shared_ptr) @ 0x0000000013975bb6 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionFile.cpp:135: DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b8f8503 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 17. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 2024.09.24 01:10:09.345225 [ 1123 ] {8f33d174-806f-4a12-bbab-5cd0a36b6678} executeQuery: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statement with subquery may be nondeterministic, see allow_nondeterministic_mutations setting. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:45402) (comment: 02842_mutations_replace_non_deterministic.sql) (in query: -- Too big result. ALTER TABLE t_mutations_nondeterministic UPDATE v = (SELECT groupArray(number) FROM numbers(10000)) WHERE 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [120]) @ 0x000000001b8ab7be in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:1285: DB::MutationsInterpreter::validate() @ 0x000000001cc70716 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d5f03 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:10:09.345992 [ 1123 ] {8f33d174-806f-4a12-bbab-5cd0a36b6678} TCPHandler: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statement with subquery may be nondeterministic, see allow_nondeterministic_mutations setting. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [120]) @ 0x000000001b8ab7be in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:1285: DB::MutationsInterpreter::validate() @ 0x000000001cc70716 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d5f03 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:10:10.514059 [ 1123 ] {1aebbc4c-a2bb-4a52-9f7f-4f2e65a501f9} executeQuery: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statements must use only deterministic functions. Function 'filesystemCapacity' is non-deterministic. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:45402) (comment: 02842_mutations_replace_non_deterministic.sql) (in query: ALTER TABLE t_mutations_nondeterministic UPDATE v = filesystemCapacity(materialize('default')) WHERE 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:1289: DB::MutationsInterpreter::validate() @ 0x000000001cc70840 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d5f03 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:10:10.514720 [ 1123 ] {1aebbc4c-a2bb-4a52-9f7f-4f2e65a501f9} TCPHandler: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statements must use only deterministic functions. Function 'filesystemCapacity' is non-deterministic. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:1289: DB::MutationsInterpreter::validate() @ 0x000000001cc70840 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d5f03 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:10:13.011857 [ 1123 ] {1b267887-b21a-4fba-b2a3-4709c4d180f9} executeQuery: Code: 44. DB::Exception: Sorting key cannot contain constants. (ILLEGAL_COLUMN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:44296) (comment: 02816_check_projection_metadata.sql) (in query: CREATE TABLE kek (`uuid` FixedString(16), `id` int, `ns` String, `dt` DateTime64(6), PROJECTION null_pk (SELECT * ORDER BY ns, 1, 4)) ENGINE = MergeTree ORDER BY (id, dt, uuid) SETTINGS index_granularity = 14185, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 12674, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 8789228659, index_granularity_bytes = 29991268, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 20698, primary_key_compress_block_size = 66052), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:474: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x000000001de65b7d in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:611: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de65490 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:606: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de653a3 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de62136 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de614ad in /usr/bin/clickhouse 11. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35ecd3 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e89a in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e595 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e223 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e035 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35c61b in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35a85f in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 24. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:10:13.013043 [ 1123 ] {1b267887-b21a-4fba-b2a3-4709c4d180f9} TCPHandler: Code: 44. DB::Exception: Sorting key cannot contain constants. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:474: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x000000001de65b7d in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:611: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de65490 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:606: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de653a3 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de62136 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de614ad in /usr/bin/clickhouse 11. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35ecd3 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e89a in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e595 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e223 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e035 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35c61b in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35a85f in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 24. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:10:13.891647 [ 1123 ] {57e91da9-da4a-46e3-ab88-d0b1853e14a3} executeQuery: Code: 36. DB::Exception: Element of set in IN, VALUES, or LIMIT, or aggregate function parameter, or a table function argument is not a constant expression (result column not found): __settings_17558612725642278067_9650240350333316723. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:44340) (comment: 02815_logical_error_cannot_get_column_name_of_set.sql) (in query: SELECT * FROM numbers(SETTINGS x = 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Interpreters/evaluateConstantExpression.cpp:93: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08b874 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:61: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001a95bf2c in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionNumbers.cpp:43: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a95bb72 in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:10:13.892718 [ 1123 ] {57e91da9-da4a-46e3-ab88-d0b1853e14a3} TCPHandler: Code: 36. DB::Exception: Element of set in IN, VALUES, or LIMIT, or aggregate function parameter, or a table function argument is not a constant expression (result column not found): __settings_17558612725642278067_9650240350333316723. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Interpreters/evaluateConstantExpression.cpp:93: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08b874 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:61: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001a95bf2c in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionNumbers.cpp:43: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a95bb72 in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:10:14.064728 [ 1123 ] {43a1a47d-c792-46b5-917e-1bc12d92d071} executeQuery: Code: 46. DB::Exception: Unknown function numbers: While processing numbers(SETTINGS x = 1). (UNKNOWN_FUNCTION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:44340) (comment: 02815_logical_error_cannot_get_column_name_of_set.sql) (in query: SELECT * FROM numbers(numbers(SETTINGS x = 1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&) @ 0x0000000013a010ac in /usr/bin/clickhouse 6. /build/src/Functions/FunctionFactory.cpp:68: DB::FunctionFactory::getImpl(String const&, std::shared_ptr) const @ 0x000000001abf4f6c in /usr/bin/clickhouse 7. /build/src/Functions/FunctionFactory.cpp:87: DB::FunctionFactory::get(String const&, std::shared_ptr) const @ 0x000000001abf566a in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:1070: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe9364 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1735: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x000000001bfb93ed in /usr/bin/clickhouse 16. /build/src/Interpreters/evaluateConstantExpression.cpp:77: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08b5eb in /usr/bin/clickhouse 17. /build/src/TableFunctions/TableFunctionNumbers.cpp:61: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001a95bf2c in /usr/bin/clickhouse 18. /build/src/TableFunctions/TableFunctionNumbers.cpp:43: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a95bb72 in /usr/bin/clickhouse 19. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 20. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 21. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 2024.09.24 01:10:14.065834 [ 1123 ] {43a1a47d-c792-46b5-917e-1bc12d92d071} TCPHandler: Code: 46. DB::Exception: Unknown function numbers: While processing numbers(SETTINGS x = 1). (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&) @ 0x0000000013a010ac in /usr/bin/clickhouse 6. /build/src/Functions/FunctionFactory.cpp:68: DB::FunctionFactory::getImpl(String const&, std::shared_ptr) const @ 0x000000001abf4f6c in /usr/bin/clickhouse 7. /build/src/Functions/FunctionFactory.cpp:87: DB::FunctionFactory::get(String const&, std::shared_ptr) const @ 0x000000001abf566a in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:1070: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe9364 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1735: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x000000001bfb93ed in /usr/bin/clickhouse 16. /build/src/Interpreters/evaluateConstantExpression.cpp:77: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08b5eb in /usr/bin/clickhouse 17. /build/src/TableFunctions/TableFunctionNumbers.cpp:61: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001a95bf2c in /usr/bin/clickhouse 18. /build/src/TableFunctions/TableFunctionNumbers.cpp:43: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a95bb72 in /usr/bin/clickhouse 19. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 20. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 21. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 2024.09.24 01:10:14.257940 [ 1123 ] {4e4d4ccd-f097-467f-8c3e-1e99b4a0cf14} executeQuery: Code: 46. DB::Exception: Unknown function numbers: While processing numbers(SETTINGS x = 1). (UNKNOWN_FUNCTION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:44340) (comment: 02815_logical_error_cannot_get_column_name_of_set.sql) (in query: SELECT * FROM numbers(numbers(SETTINGS x = 1), SETTINGS x = 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&) @ 0x0000000013a010ac in /usr/bin/clickhouse 6. /build/src/Functions/FunctionFactory.cpp:68: DB::FunctionFactory::getImpl(String const&, std::shared_ptr) const @ 0x000000001abf4f6c in /usr/bin/clickhouse 7. /build/src/Functions/FunctionFactory.cpp:87: DB::FunctionFactory::get(String const&, std::shared_ptr) const @ 0x000000001abf566a in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:1070: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe9364 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1735: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x000000001bfb93ed in /usr/bin/clickhouse 16. /build/src/Interpreters/evaluateConstantExpression.cpp:77: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08b5eb in /usr/bin/clickhouse 17. /build/src/TableFunctions/TableFunctionNumbers.cpp:61: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001a95bf2c in /usr/bin/clickhouse 18. /build/src/TableFunctions/TableFunctionNumbers.cpp:42: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a95ba47 in /usr/bin/clickhouse 19. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 20. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 21. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 2024.09.24 01:10:14.259021 [ 1123 ] {4e4d4ccd-f097-467f-8c3e-1e99b4a0cf14} TCPHandler: Code: 46. DB::Exception: Unknown function numbers: While processing numbers(SETTINGS x = 1). (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&) @ 0x0000000013a010ac in /usr/bin/clickhouse 6. /build/src/Functions/FunctionFactory.cpp:68: DB::FunctionFactory::getImpl(String const&, std::shared_ptr) const @ 0x000000001abf4f6c in /usr/bin/clickhouse 7. /build/src/Functions/FunctionFactory.cpp:87: DB::FunctionFactory::get(String const&, std::shared_ptr) const @ 0x000000001abf566a in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:1070: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe9364 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1735: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x000000001bfb93ed in /usr/bin/clickhouse 16. /build/src/Interpreters/evaluateConstantExpression.cpp:77: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08b5eb in /usr/bin/clickhouse 17. /build/src/TableFunctions/TableFunctionNumbers.cpp:61: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001a95bf2c in /usr/bin/clickhouse 18. /build/src/TableFunctions/TableFunctionNumbers.cpp:42: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a95ba47 in /usr/bin/clickhouse 19. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 20. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 21. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 2024.09.24 01:10:15.118947 [ 1123 ] {81dfa5f2-e49d-45a7-9587-a33c09460a2b} executeQuery: Code: 86. DB::HTTPException: Received error from remote server /test%2Fa.tsv. HTTP status code: 403 Forbidden, body: AccessDeniedAccess Denied.test%2Fa.tsv/test/a.tsv17F802538BE0EB857972b18b-5a45-4185-ad47-60cfeb783949: (in file/uri /test%2Fa.tsv): (while reading header): While executing TabSeparatedRowInputFormat: While executing URL. (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:44352) (comment: 02833_url_without_path_encoding.sh) (in query: select count() from url('http://localhost:11111/test%2Fa.tsv') settings enable_url_encoding=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x0000000013cae444 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:418: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013ca266b in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:31: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013cae211 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:407: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x0000000013ca250b in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:386: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x0000000013ca2326 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.cpp:162: DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&, bool) @ 0x0000000017c66450 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.cpp:341: DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool, bool) @ 0x0000000017c6a250 in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.cpp:378: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x0000000017c68c20 in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.cpp:504: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x0000000017c6b256 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2189bc in /usr/bin/clickhouse 15. /build/src/IO/PeekableReadBuffer.cpp:179: DB::PeekableReadBuffer::nextImpl() @ 0x0000000013999c7a in /usr/bin/clickhouse 16. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2189bc in /usr/bin/clickhouse 17. /build/src/IO/ReadBuffer.h:105: DB::skipBOMIfExists(DB::ReadBuffer&) @ 0x000000001e7ec228 in /usr/bin/clickhouse 18. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:0: DB::RowInputFormatWithNamesAndTypes::readPrefix() @ 0x000000001e7e8b00 in /usr/bin/clickhouse 19. /build/src/Processors/Formats/IRowInputFormat.cpp:94: DB::IRowInputFormat::generate() @ 0x000000001e7a81b9 in /usr/bin/clickhouse 20. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 21. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f6dbe in /usr/bin/clickhouse 27. /build/src/Storages/StorageURL.cpp:401: DB::StorageURLSource::generate() @ 0x000000001da015fc in /usr/bin/clickhouse 28. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 29. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 2024.09.24 01:10:15.284274 [ 1123 ] {81dfa5f2-e49d-45a7-9587-a33c09460a2b} TCPHandler: Code: 86. DB::HTTPException: Received error from remote server /test%2Fa.tsv. HTTP status code: 403 Forbidden, body: AccessDeniedAccess Denied.test%2Fa.tsv/test/a.tsv17F802538BE0EB857972b18b-5a45-4185-ad47-60cfeb783949: (in file/uri /test%2Fa.tsv): (while reading header): While executing TabSeparatedRowInputFormat: While executing URL. (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x0000000013cae444 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:418: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013ca266b in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:31: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013cae211 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:407: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x0000000013ca250b in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:386: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x0000000013ca2326 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.cpp:162: DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&, bool) @ 0x0000000017c66450 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.cpp:341: DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool, bool) @ 0x0000000017c6a250 in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.cpp:378: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x0000000017c68c20 in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.cpp:504: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x0000000017c6b256 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2189bc in /usr/bin/clickhouse 15. /build/src/IO/PeekableReadBuffer.cpp:179: DB::PeekableReadBuffer::nextImpl() @ 0x0000000013999c7a in /usr/bin/clickhouse 16. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2189bc in /usr/bin/clickhouse 17. /build/src/IO/ReadBuffer.h:105: DB::skipBOMIfExists(DB::ReadBuffer&) @ 0x000000001e7ec228 in /usr/bin/clickhouse 18. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:0: DB::RowInputFormatWithNamesAndTypes::readPrefix() @ 0x000000001e7e8b00 in /usr/bin/clickhouse 19. /build/src/Processors/Formats/IRowInputFormat.cpp:94: DB::IRowInputFormat::generate() @ 0x000000001e7a81b9 in /usr/bin/clickhouse 20. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 21. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f6dbe in /usr/bin/clickhouse 27. /build/src/Storages/StorageURL.cpp:401: DB::StorageURLSource::generate() @ 0x000000001da015fc in /usr/bin/clickhouse 28. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 29. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 2024.09.24 01:10:18.712052 [ 1123 ] {c6367a84-5af1-44d0-95f6-fb8d2cc09bb8} executeQuery: Code: 36. DB::Exception: Primary key must be a prefix of the sorting key, but the column in the position 0 is a, not b. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:44454) (comment: 02811_primary_key_in_columns.sql) (in query: CREATE TABLE pk_test21 (a String, b String PRIMARY KEY, c String PRIMARY KEY) ORDER BY (a,b,c);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000b5e130c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:519: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de64295 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de62136 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de614ad in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35ecd3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e89a in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e595 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e223 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e035 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35c61b in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35a85f in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 22. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 2024.09.24 01:10:18.713190 [ 1123 ] {c6367a84-5af1-44d0-95f6-fb8d2cc09bb8} TCPHandler: Code: 36. DB::Exception: Primary key must be a prefix of the sorting key, but the column in the position 0 is a, not b. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000b5e130c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:519: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de64295 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de62136 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de614ad in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35ecd3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e89a in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e595 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e223 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e035 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35c61b in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35a85f in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 22. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 2024.09.24 01:10:18.731377 [ 1123 ] {d8652a13-6629-40e4-b792-527cf5feb027} executeQuery: Code: 36. DB::Exception: Primary key must be a prefix of the sorting key, but the column in the position 0 is a, not b. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:44454) (comment: 02811_primary_key_in_columns.sql) (in query: CREATE TABLE pk_test22 (a String, b String PRIMARY KEY, c String) ORDER BY (a,b,c);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000b5e130c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:519: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de64295 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de62136 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de614ad in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35ecd3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e89a in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e595 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e223 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e035 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35c61b in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35a85f in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 22. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 2024.09.24 01:10:18.732279 [ 1123 ] {d8652a13-6629-40e4-b792-527cf5feb027} TCPHandler: Code: 36. DB::Exception: Primary key must be a prefix of the sorting key, but the column in the position 0 is a, not b. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000b5e130c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:519: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de64295 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de62136 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de614ad in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35ecd3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e89a in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e595 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e223 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e035 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35c61b in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35a85f in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 22. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 2024.09.24 01:10:18.749413 [ 1123 ] {454fec53-a0d9-40fb-86e8-57618f410c05} executeQuery: Code: 36. DB::Exception: Primary key must be a prefix of the sorting key, but the column in the position 0 is a, not c. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:44454) (comment: 02811_primary_key_in_columns.sql) (in query: CREATE TABLE pk_test23 (a String, b String, c String PRIMARY KEY) ORDER BY (a,b,c);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000b5e130c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:519: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de64295 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de62136 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de614ad in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35ecd3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e89a in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e595 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e223 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e035 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35c61b in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35a85f in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 22. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 2024.09.24 01:10:18.750337 [ 1123 ] {454fec53-a0d9-40fb-86e8-57618f410c05} TCPHandler: Code: 36. DB::Exception: Primary key must be a prefix of the sorting key, but the column in the position 0 is a, not c. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000b5e130c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:519: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de64295 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de62136 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de614ad in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35ecd3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e89a in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e595 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e223 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e035 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35c61b in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35a85f in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 22. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 2024.09.24 01:10:23.331620 [ 1125 ] {83521a36-e5ff-4779-bd1c-40aff3e9826d} executeQuery: Code: 36. DB::Exception: DELETE query is not supported for table test_pu9ajme5.t_projections_lwd. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:49526) (comment: 02792_drop_projection_lwd.sql) (in query: -- LWD does not work, as expected DELETE FROM t_projections_lwd WHERE a = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterDeleteQuery.cpp:109: DB::InterpreterDeleteQuery::execute() @ 0x000000001ca712ee in /usr/bin/clickhouse 7. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 16. ? @ 0x00007f1d281b3ac3 in ? 17. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:10:23.332398 [ 1125 ] {83521a36-e5ff-4779-bd1c-40aff3e9826d} TCPHandler: Code: 36. DB::Exception: DELETE query is not supported for table test_pu9ajme5.t_projections_lwd. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterDeleteQuery.cpp:109: DB::InterpreterDeleteQuery::execute() @ 0x000000001ca712ee in /usr/bin/clickhouse 7. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 16. ? @ 0x00007f1d281b3ac3 in ? 17. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:10:31.855728 [ 1272 ] {dfeb5e9e-bb03-4db3-ba6a-3e371d6b85af} MergeTreeDataWriter: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 'string1').). 2024.09.24 01:10:41.857890 [ 1272 ] {5aeec480-1b34-44cb-ad02-91c611e72da2} MergeTreeDataWriter: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 'string1').). 2024.09.24 01:10:43.657847 [ 1123 ] {0284104a-968a-495c-b27f-f352f00d3c46} executeQuery: Code: 47. DB::Exception: Missing columns: 'non_existent_column' while processing query: 'WITH table_0 AS (SELECT * FROM system.users) SELECT non_existent_column FROM table_0', required columns: 'non_existent_column' 'non_existent_column'. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54046) (comment: 02766_prql.sh) (in query: from s"SELECT * FROM system.users" | select non_existent_column;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:10:43.658769 [ 1123 ] {0284104a-968a-495c-b27f-f352f00d3c46} TCPHandler: Code: 47. DB::Exception: Missing columns: 'non_existent_column' while processing query: 'WITH table_0 AS (SELECT * FROM system.users) SELECT non_existent_column FROM table_0', required columns: 'non_existent_column' 'non_existent_column'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:10:44.259530 [ 1123 ] {8dba2b80-ef75-4af8-a443-5ca37c3302d6} executeQuery: Code: 60. DB::Exception: Table test_gszph83o.non_existent_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54046) (comment: 02766_prql.sh) (in query: from non_existent_table;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53612 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc20756 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:10:44.260758 [ 1123 ] {8dba2b80-ef75-4af8-a443-5ca37c3302d6} TCPHandler: Code: 60. DB::Exception: Table test_gszph83o.non_existent_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53612 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc20756 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:10:44.877619 [ 2408 ] {21d87367-ff6b-4ea2-9708-d2753f632e49} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'array_1' of function arrayJaccardIndex, expected Array, got String: While processing 'a' AS arr1, 2 AS arr2, round(arrayJaccardIndex(arr1, arr2), 2). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:59820) (comment: 02737_arrayJaccardIndex.sql) (in query: SELECT 'a' AS arr1, 2 AS arr2, round(arrayJaccardIndex(arr1, arr2), 2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x000000001abfe65a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001abfc8de in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:193: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abfc060 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayJaccardIndex.cpp:93: DB::FunctionArrayJaccardIndex::getReturnTypeImpl(std::vector> const&) const @ 0x000000001328ae91 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:10:44.878925 [ 2408 ] {21d87367-ff6b-4ea2-9708-d2753f632e49} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'array_1' of function arrayJaccardIndex, expected Array, got String: While processing 'a' AS arr1, 2 AS arr2, round(arrayJaccardIndex(arr1, arr2), 2). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x000000001abfe65a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001abfc8de in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:193: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abfc060 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayJaccardIndex.cpp:93: DB::FunctionArrayJaccardIndex::getReturnTypeImpl(std::vector> const&) const @ 0x000000001328ae91 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:10:45.015798 [ 2408 ] {0a19358c-7266-4ba4-af80-789aca93cfad} executeQuery: Code: 43. DB::Exception: array aggregate functions cannot be performed on two empty arrays: While processing [] AS arr1, [] AS arr2, round(arrayJaccardIndex(arr1, arr2), 2). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:59820) (comment: 02737_arrayJaccardIndex.sql) (in query: SELECT [] AS arr1, [] AS arr2, round(arrayJaccardIndex(arr1, arr2), 2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [66]) @ 0x000000000d729a3e in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayJaccardIndex.cpp:73: void DB::FunctionArrayJaccardIndex::vectorWithEmptyIntersect(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&) @ 0x000000001328b35a in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayJaccardIndex.cpp:139: DB::FunctionArrayJaccardIndex::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001328a38b in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 2024.09.24 01:10:45.016802 [ 2408 ] {0a19358c-7266-4ba4-af80-789aca93cfad} TCPHandler: Code: 43. DB::Exception: array aggregate functions cannot be performed on two empty arrays: While processing [] AS arr1, [] AS arr2, round(arrayJaccardIndex(arr1, arr2), 2). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [66]) @ 0x000000000d729a3e in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayJaccardIndex.cpp:73: void DB::FunctionArrayJaccardIndex::vectorWithEmptyIntersect(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&) @ 0x000000001328b35a in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayJaccardIndex.cpp:139: DB::FunctionArrayJaccardIndex::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001328a38b in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 2024.09.24 01:10:45.133574 [ 2408 ] {db0a2349-8948-4955-a8ba-be32008c3511} executeQuery: Code: 386. DB::Exception: There is no subtype for types String, UInt8 because some of them are String/FixedString and some of them are not: While processing ['1', '2'] AS arr1, [1, 2] AS arr2, round(arrayJaccardIndex(arr1, arr2), 2). (NO_COMMON_TYPE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:59820) (comment: 02737_arrayJaccardIndex.sql) (in query: SELECT ['1', '2'] AS arr1, [1,2] AS arr2, round(arrayJaccardIndex(arr1, arr2), 2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b200fea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b200f95 in /usr/bin/clickhouse 6. /build/src/DataTypes/getMostSubtype.cpp:53: DB::getMostSubtype(std::vector, std::allocator>> const&, bool, bool)::$_0::operator()(String const&) const @ 0x000000001ba191ff in /usr/bin/clickhouse 7. /build/src/DataTypes/getMostSubtype.cpp:232: DB::getMostSubtype(std::vector, std::allocator>> const&, bool, bool) @ 0x000000001ba17f7d in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayIntersect.cpp:156: DB::FunctionArrayIntersect::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000013231858 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 14. /build/src/Functions/array/arrayJaccardIndex.cpp:115: DB::FunctionArrayJaccardIndex::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001328a028 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 16. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 2024.09.24 01:10:45.134446 [ 2408 ] {db0a2349-8948-4955-a8ba-be32008c3511} TCPHandler: Code: 386. DB::Exception: There is no subtype for types String, UInt8 because some of them are String/FixedString and some of them are not: While processing ['1', '2'] AS arr1, [1, 2] AS arr2, round(arrayJaccardIndex(arr1, arr2), 2). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b200fea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b200f95 in /usr/bin/clickhouse 6. /build/src/DataTypes/getMostSubtype.cpp:53: DB::getMostSubtype(std::vector, std::allocator>> const&, bool, bool)::$_0::operator()(String const&) const @ 0x000000001ba191ff in /usr/bin/clickhouse 7. /build/src/DataTypes/getMostSubtype.cpp:232: DB::getMostSubtype(std::vector, std::allocator>> const&, bool, bool) @ 0x000000001ba17f7d in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayIntersect.cpp:156: DB::FunctionArrayIntersect::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000013231858 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 14. /build/src/Functions/array/arrayJaccardIndex.cpp:115: DB::FunctionArrayJaccardIndex::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001328a028 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 16. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 2024.09.24 01:10:50.024028 [ 2936 ] {dd21f466-c3e1-4833-84ea-35b7da7a0f5b} executeQuery: Code: 36. DB::Exception: The change of data type Nullable(String) of column `value` to Object('json') is not allowed. It has known bugs. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:59898) (comment: 02725_object_column_alter.sql) (in query: ALTER TABLE t_to MODIFY COLUMN value Object('json');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1170: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58f2e4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:10:50.210086 [ 2936 ] {dd21f466-c3e1-4833-84ea-35b7da7a0f5b} TCPHandler: Code: 36. DB::Exception: The change of data type Nullable(String) of column `value` to Object('json') is not allowed. It has known bugs. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1170: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58f2e4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:10:50.210197 [ 2930 ] {a8f26c39-6118-4696-8cd7-893f08cab5a7} executeQuery: Code: 475. DB::Exception: The same column in ORDER BY before WITH FILL (sorting prefix) and INTERPOLATE is not allowed. Column: value. (INVALID_WITH_FILL_EXPRESSION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:59882) (comment: 02730_with_fill_by_sorting_prefix.sql) (in query: -- checking that sorting prefix columns can't be used in INTERPOLATE SELECT * FROM ts ORDER BY sensor_id, value, timestamp WITH FILL FROM 6 TO 10 INTERPOLATE ( value AS 1 );), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/FillingTransform.cpp:285: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, DB::SortDescription const&, std::shared_ptr, bool) @ 0x000000001ee34fe1 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::FillingTransform* std::construct_at[abi:v15000], bool const&, DB::FillingTransform*>(DB::FillingTransform*, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001ee33358 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], bool const&, void, void>(std::allocator&, DB::FillingTransform*, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001ee330c1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], bool const&>(std::allocator, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001ee32dad in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr, bool const&, void>(std::allocator const&, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001ee32c00 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], bool const&, void>(DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001ee31fe6 in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/FillingStep.cpp:53: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&)::$_0::operator()(DB::Block const&, DB::Pipe::StreamType) const @ 0x000000001ee31d51 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&)::$_0&, DB::Block const&, DB::Pipe::StreamType&&) @ 0x000000001ee31ca7 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&)::$_0&, DB::Block const&, DB::Pipe::StreamType&&) @ 0x000000001ee31c65 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::Block const&, DB::Pipe::StreamType)>::operator()[abi:v15000](DB::Block const&, DB::Pipe::StreamType&&) @ 0x000000001ee31c25 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x000000001ee31bcc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::Block const&, DB::Pipe::StreamType)>::operator()[abi:v15000](DB::Block const&, DB::Pipe::StreamType&&) const @ 0x000000001b83dc28 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::Block const&, DB::Pipe::StreamType)>::operator()(DB::Block const&, DB::Pipe::StreamType) const @ 0x000000001b83dba4 in /usr/bin/clickhouse 19. /build/src/QueryPipeline/Pipe.cpp:618: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_0::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x000000001b82bfce in /usr/bin/clickhouse 20. /build/src/QueryPipeline/Pipe.cpp:658: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x000000001b82beb6 in /usr/bin/clickhouse 21. /build/src/QueryPipeline/QueryPipelineBuilder.cpp:134: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x000000001b85a7ee in /usr/bin/clickhouse 22. /build/src/Processors/QueryPlan/FillingStep.cpp:48: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee316a2 in /usr/bin/clickhouse 23. /build/src/Processors/QueryPlan/ITransformingStep.cpp:41: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee5203c in /usr/bin/clickhouse 24. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee780df in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd8cb in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 2024.09.24 01:10:50.211285 [ 2930 ] {a8f26c39-6118-4696-8cd7-893f08cab5a7} TCPHandler: Code: 475. DB::Exception: The same column in ORDER BY before WITH FILL (sorting prefix) and INTERPOLATE is not allowed. Column: value. (INVALID_WITH_FILL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/FillingTransform.cpp:285: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, DB::SortDescription const&, std::shared_ptr, bool) @ 0x000000001ee34fe1 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::FillingTransform* std::construct_at[abi:v15000], bool const&, DB::FillingTransform*>(DB::FillingTransform*, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001ee33358 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], bool const&, void, void>(std::allocator&, DB::FillingTransform*, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001ee330c1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], bool const&>(std::allocator, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001ee32dad in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr, bool const&, void>(std::allocator const&, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001ee32c00 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], bool const&, void>(DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001ee31fe6 in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/FillingStep.cpp:53: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&)::$_0::operator()(DB::Block const&, DB::Pipe::StreamType) const @ 0x000000001ee31d51 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&)::$_0&, DB::Block const&, DB::Pipe::StreamType&&) @ 0x000000001ee31ca7 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&)::$_0&, DB::Block const&, DB::Pipe::StreamType&&) @ 0x000000001ee31c65 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::Block const&, DB::Pipe::StreamType)>::operator()[abi:v15000](DB::Block const&, DB::Pipe::StreamType&&) @ 0x000000001ee31c25 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x000000001ee31bcc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::Block const&, DB::Pipe::StreamType)>::operator()[abi:v15000](DB::Block const&, DB::Pipe::StreamType&&) const @ 0x000000001b83dc28 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::Block const&, DB::Pipe::StreamType)>::operator()(DB::Block const&, DB::Pipe::StreamType) const @ 0x000000001b83dba4 in /usr/bin/clickhouse 19. /build/src/QueryPipeline/Pipe.cpp:618: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_0::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x000000001b82bfce in /usr/bin/clickhouse 20. /build/src/QueryPipeline/Pipe.cpp:658: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x000000001b82beb6 in /usr/bin/clickhouse 21. /build/src/QueryPipeline/QueryPipelineBuilder.cpp:134: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x000000001b85a7ee in /usr/bin/clickhouse 22. /build/src/Processors/QueryPlan/FillingStep.cpp:48: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee316a2 in /usr/bin/clickhouse 23. /build/src/Processors/QueryPlan/ITransformingStep.cpp:41: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee5203c in /usr/bin/clickhouse 24. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee780df in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd8cb in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 2024.09.24 01:10:50.219129 [ 2936 ] {412fc14e-634a-446c-8139-d120b082ae68} executeQuery: Code: 36. DB::Exception: The change of data type Object('json') of column `value` to Nullable(String) is not allowed. It has known bugs. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:59898) (comment: 02725_object_column_alter.sql) (in query: ALTER TABLE t_from MODIFY COLUMN value Nullable(String);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1170: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58f2e4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:10:50.219841 [ 2936 ] {412fc14e-634a-446c-8139-d120b082ae68} TCPHandler: Code: 36. DB::Exception: The change of data type Object('json') of column `value` to Nullable(String) is not allowed. It has known bugs. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1170: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58f2e4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:10:51.857242 [ 1272 ] {26ab902c-68ac-41c4-9f62-59a5e7325ee5} MergeTreeDataWriter: Incorrect data: number of rows with sign = 1 (3) differs with number of rows with sign = -1 (0) by more than one (for key: 'string2').). 2024.09.24 01:10:51.865011 [ 1272 ] {26ab902c-68ac-41c4-9f62-59a5e7325ee5} MergeTreeDataWriter: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 'string2').). 2024.09.24 01:10:52.016662 [ 2930 ] {98cf6d93-731e-4c8d-a4e3-20540964973a} executeQuery: Code: 36. DB::Exception: Cannot specify codec for column type ALIAS. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:49312) (comment: 02725_alias_columns_should_not_allow_compression_codec.sql) (in query: CREATE TABLE IF NOT EXISTS alias_column_should_not_allow_compression_fail (`user_id` UUID, `user_id_hashed` ALIAS cityHash64(user_id) CODEC(LZ4HC(1))) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 35280, min_bytes_for_wide_part = 736532430, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 6409, prefer_fetch_merged_part_size_threshold = 9596548423, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 29, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 25546409, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 72579, primary_key_compress_block_size = 19186), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [43]) @ 0x000000000b1fb6be in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:634: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e8ed1 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e9748 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f0864 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:10:52.017514 [ 2930 ] {98cf6d93-731e-4c8d-a4e3-20540964973a} TCPHandler: Code: 36. DB::Exception: Cannot specify codec for column type ALIAS. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [43]) @ 0x000000000b1fb6be in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:634: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e8ed1 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e9748 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f0864 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:10:52.129232 [ 2930 ] {98e15a73-4ea9-4f58-bd9c-cb190b448a86} executeQuery: Code: 36. DB::Exception: Cannot specify codec for column type ALIAS. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:49312) (comment: 02725_alias_columns_should_not_allow_compression_codec.sql) (in query: alter table alias_column_should_not_allow_compression modify column user_id_hashed codec(LZ4HC(1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [43]) @ 0x000000000b1fb6be in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1128: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58e7fa in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:10:52.129942 [ 2930 ] {98e15a73-4ea9-4f58-bd9c-cb190b448a86} TCPHandler: Code: 36. DB::Exception: Cannot specify codec for column type ALIAS. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [43]) @ 0x000000000b1fb6be in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1128: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58e7fa in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:10:52.225493 [ 2930 ] {52cc41a9-8503-436d-b613-d69c5be56fbf} executeQuery: Code: 36. DB::Exception: Cannot specify codec for column type ALIAS. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:49312) (comment: 02725_alias_columns_should_not_allow_compression_codec.sql) (in query: alter table alias_column_should_not_allow_compression add column user_id_hashed_1 UInt64 ALIAS (cityHash64(user_id)) codec(LZ4HC(1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [43]) @ 0x000000000b1fb6be in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:110: DB::AlterCommand::parse(DB::ASTAlterCommand const*) @ 0x000000001d586762 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:130: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d52ff in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:10:52.226622 [ 2930 ] {52cc41a9-8503-436d-b613-d69c5be56fbf} TCPHandler: Code: 36. DB::Exception: Cannot specify codec for column type ALIAS. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [43]) @ 0x000000000b1fb6be in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:110: DB::AlterCommand::parse(DB::ASTAlterCommand const*) @ 0x000000001d586762 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:130: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d52ff in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:11:02.027432 [ 2934 ] {4c114459-4ef6-406c-95bd-47480c733c1f} executeQuery: Code: 131. DB::Exception: Too long name of aggregate function, maximum: 1000: While processing minOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNull(1). (TOO_LARGE_STRING_SIZE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40820) (comment: 02688_long_aggregate_function_names.sql) (in query: SELECT minOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNull(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long const&) @ 0x000000000b93d933 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:268: DB::AggregateFunctionFactory::isAggregateFunctionName(String) const @ 0x000000001ac03d89 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:201: DB::(anonymous namespace)::CustomizeAggregateFunctionsMoveSuffixData::visit(DB::ASTFunction&, std::shared_ptr&) const @ 0x000000001cfac7c4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:122: DB::OneTypeMatcher const&, std::shared_ptr const&), std::shared_ptr>::visit(std::shared_ptr&, DB::(anonymous namespace)::CustomizeAggregateFunctionsMoveSuffixData&) @ 0x000000001cfac741 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::doVisit(std::shared_ptr&) @ 0x000000001cfac540 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cface61 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfac4ca in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001cfacf06 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cface6e in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfac4ca in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001cfacf06 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cface6e in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfac4ca in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x000000001cfa2f85 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1413: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x000000001cf9f5b8 in /usr/bin/clickhouse 20. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d467 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 2024.09.24 01:11:02.028824 [ 2934 ] {4c114459-4ef6-406c-95bd-47480c733c1f} TCPHandler: Code: 131. DB::Exception: Too long name of aggregate function, maximum: 1000: While processing minOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNull(1). (TOO_LARGE_STRING_SIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long const&) @ 0x000000000b93d933 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:268: DB::AggregateFunctionFactory::isAggregateFunctionName(String) const @ 0x000000001ac03d89 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:201: DB::(anonymous namespace)::CustomizeAggregateFunctionsMoveSuffixData::visit(DB::ASTFunction&, std::shared_ptr&) const @ 0x000000001cfac7c4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:122: DB::OneTypeMatcher const&, std::shared_ptr const&), std::shared_ptr>::visit(std::shared_ptr&, DB::(anonymous namespace)::CustomizeAggregateFunctionsMoveSuffixData&) @ 0x000000001cfac741 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::doVisit(std::shared_ptr&) @ 0x000000001cfac540 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cface61 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfac4ca in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001cfacf06 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cface6e in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfac4ca in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001cfacf06 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cface6e in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfac4ca in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x000000001cfa2f85 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1413: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x000000001cf9f5b8 in /usr/bin/clickhouse 20. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d467 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 2024.09.24 01:11:02.691970 [ 2378 ] {b23c4c17-023f-4817-8785-cca430109bf3} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 117. DB::Exception: Incorrect size of a string (zero) in BSON: (at row 6) . (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [42]) @ 0x000000000c3e57be in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:288: void DB::readAndInsertString(DB::ReadBuffer&, DB::IColumn&, DB::BSONType) @ 0x000000001e7cb9be in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:629: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000001e7c71ac in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:811: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7cce74 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 14. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:11:02.698129 [ 2934 ] {b23c4c17-023f-4817-8785-cca430109bf3} executeQuery: Code: 117. DB::Exception: Incorrect size of a string (zero) in BSON: (at row 6) : While executing ParallelParsingBlockInputFormat. (INCORRECT_DATA) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40836) (comment: 02686_bson3.sql) (in query: -- It correctly throws exception about incorrect data: SELECT * FROM format(BSONEachRow, 'WatchID Int64, JavaEnable Int16, Title String, GoodEvent Int16, EventTime DateTime, EventDate Date, CounterID Int32, ClientIP Int32, RegionID Int32, UserID Int64, CounterClass Int16, OS Int16, UserAgent Int16, URL String, Referer String, IsRefresh Int16, RefererCategoryID Int16, RefererRegionID Int32, URLCategoryID Int16, URLRegionID Int32, ResolutionWidth Int16, ResolutionHeight Int16, ResolutionDepth Int16, FlashMajor Int16, FlashMinor Int16, FlashMinor2 String, NetMajor Int16, NetMinor Int16, UserAgentMajor Int16, UserAgentMinor String, CookieEnable Int16, JavascriptEnable Int16, IsMobile Int16, MobilePhone Int16, MobilePhoneModel String, Params String, IPNetworkID Int32, TraficSourceID Int16, SearchEngineID Int16, SearchPhrase String, AdvEngineID Int16, IsArtifical Int16, WindowClientWidth Int16, WindowClientHeight Int16, ClientTimeZone Int16, ClientEventTime DateTime, SilverlightVersion1 Int16, SilverlightVersion2 Int16, SilverlightVersion3 Int32, SilverlightVersion4 Int16, PageCharset String, CodeVersion Int32, IsLink Int16, IsDownload Int16, IsNotBounce Int16, FUniqID Int64, OriginalURL String, HID Int32, IsOldCounter Int16, IsEvent Int16, IsParameter Int16, DontCountHits Int16, WithHash Int16, HitColor String, LocalEventTime DateTime, Age Int16, Sex Int16, Income Int16, Interests Int16, Robotness Int16, RemoteIP Int32, WindowName Int32, OpenerName Int32, HistoryLength Int16, BrowserLanguage String, BrowserCountry String, SocialNetwork String, SocialAction String, HTTPError Int16, SendTiming Int32, DNSTiming Int32, ConnectTiming Int32, ResponseStartTiming Int32, ResponseEndTiming Int32, FetchTiming Int32, SocialSourceNetworkID Int16, SocialSourcePage String, ParamPrice Int64, ParamOrderID String, ParamCurrency String, ParamCurrencyID Int16, OpenstatServiceName String, OpenstatCampaignID String, OpenstatAdID String, OpenstatSourceID String, UTMSource String, UTMMedium String, UTMCampaign String, UTMContent String, UTMTerm String, FromTag String, HasGCLID Int16, RefererHash Int64, URLHash Int64, CLID Int32', $$^WatchIDc*5/ !p~JavaEnableTitleGoodEventEventTime7ðâQEventDate>CounterIDClientIP®Æz·RegionIDGUserID× ’•:6×ÝCounterClassOSUserAgentURLRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajorUserAgentMinor�OCookieEnableJavascriptEnabl“ÿÿÿÿÿï¶sMobileMobilePhoneMobilePhoneModelParamsIPNetworkID¯á9TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZoneÿÿÿÿClientEventTimeîáSilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTime&·ãQAgeSexIncomeInterestsRobotnessRemoteIP^DIÄWindowNameÿÿÿÿOpenerNameÿÿÿÿHistoryLengthÿÿÿÿBrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+‚Œ'ÕãûURLHashÍ|3úÐb.‹CLID^WatchID úFÚÓ“2qJavaEnableTitleGoodEventEventTimen$äQEventDate>CounterIDClientIP®Æz·RegionIDGUserID× ’•:6×ÝCounterClassOSUserAgentURLRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajorUserAgentMinor�OCookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID¯á9TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZoneÿÿÿÿClientEventTimeîáSilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTimeǘãQAgeSexIncomeInterestsRobotnessRemoteIP^DIÄWindowNameÿÿÿÿOpenerNameÿÿÿÿHistoryLengthÿÿÿÿBrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageP˜amPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+‚Œ'ÕãûURLHashÍ|3úÐb.‹CLID^WatchIDl!è–|¨@HJavaEnableTitleGoodEventEventTimeÃ)äQEventDate>CounterIDClientIP®Æz·RegionIDGUserID× ’•:6×ÝCounterClassOSUserAgentURLRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajorUserAgentMinor�OCookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID¯á9TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZoneÿÿÿÿClientEventTimeîáSilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTime}žãQAgeSexIncomeInterestsRobotnessRemoteIP^DIÄWindowNameÿÿÿÿOpenerNameÿÿÿÿHistoryLengthÿÿÿÿBrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+‚Œ'ÕãûURLHashÍ|3úÐb.‹CLID^WatchID²Ç=ÐŒWJavaEnableTitleGoodEventEventTime8*äQEventDate>CounterIDClientIP®Æz·RegionIDGUserID× ’•:6×ÝCounterClassOSUserAgentURLRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajorUserAgentMinor�OCookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID¯á9TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZoneÿÿÿÿClientEventTimeîáSilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTimeÝžãQAgeSexIncomeInterestsRobotnessRemoteIP^DIÄWindowNameÿÿÿÿOpenerNameÿÿÿÿHistoryLengthÿÿÿÿBrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+‚Œ'ÕãûURLHashÍ|3úÐb.‹CLID‹WatchIDéòˆE&LyJavaEnableTitleGoodEventEventTimeJîâQEventDate>CounterIDClientIPº‹I`RegionID'UserIDq—íJd8CounterClassOSUserAgentURL-http://holodilnik.ru/russia/05jul2013&model=0RefererIsRefreshRefererCategoryIDRefererRegionIDURLCateParams String, IPNetworkID Int32, TraficSourceID Int16, SearchEngineID Int16, SearchPhrase String, AdvEngineID Int16, IsArtifical Int16, WindowClientWidth Int16, WindowClientHeight Int16, ClientTimeZone Int16, ClientEventTime DateTime, SilverlightVersion1 Int16, SilverlightVersion2 Int16, SilverlightVersion3 Int32, SilverlightVersion4 Int16, PageCharset String, CodeVersion Int32, IsLink Int16, IsDownload Int16, IsNotBounce Int16, FUniqID Int64, OriginalURL String, HID Int32, IsOldCounter Int16, IsEvent Int16, IsParameter Int16, DontCountHits Int16, WithHash Int16, HitColor String, LocalEventTime DateTime, Age Int16, Sex Int16, Income Int16, Interests Int16, Robotness Int16, RemoteIP Int32, WindowName Int32, OpenerName Int32, HistoryLength Int16, BrowserLanguage String, BrowserCountry String, SocialNetwork String, SocialAction String, HTTPError Int16, SendTiming Int32, DNSTiming Int32, ConnectTiming Int32, ResponseStartTiming Int32, ResponseEndTiming Int32,ÿÿÿÿHistoryLengthÿÿÿÿBrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+‚Œ'ÕãûURLHashŽ oâïòeCLID¦WatchID¹ãk=÷±pJavaEnableTitleGoodEventEventTimeÉ ãQEventDate>CounterIDClien“¶¯ÿQ9…HRegionIDGUserID ÎKs}¡ïCounterClassOSUserAgentURLHhttp://afisha.mail.ru/catalog/314/women.ru/ency=1&page3/?errovat-pinnikiRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryID0=URLRegionIDØResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajorUserAgentMinorD�CookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID¯á9TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZoneÿÿÿÿClientEventTimeîáSilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4 PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqID:¤ìWëÂmOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTimeA¶ãQAgeSexIncomeInterestsRobotnessRemoteIP^DIÄWindowNameÿÿÿÿOpenerNameÿÿÿÿHistoryLengthÿÿÿÿBrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+‚Œ'ÕãûURLHashý€ à#â\CLIDœWatchIDæ1þž oíCJavaEnableTitleGoodEventEventTimeµ0äQEventDate>CounterIDClientIPÉ^{]RegionIDÅUserID&n%Št"6CounterClassOS'UserAgentURL>http://bonprix.ru/index.ru/cinema/art/0 986 424 233 ÑезонRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionID±ResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajorUserAgentMinorD�CookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID‰#(TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZoneÿÿÿÿClientEventTimeîáSilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTime¼£ãQAgeSexIncomeInterestsRobotnessRemoteIP…UWindowNameÿÿÿÿOpenerNameÿÿÿÿHistoryLengthÿÿÿÿBrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+‚Œ'ÕãûURLHashX-h³ýX CLID˜WatchID»-ÞC_JavaEnableTitleGoodEventEventTime83äQEventDate>CounterIDClientIPÉ^{]RegionIDÅUserID&n%Št"6CounterClassOS'UserAgentURL:http://bonprix.ru/index.ru/cinema/art/A00387,3797); ru)&bLRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionID±ResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajorUserAgentMinorD�CookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID‰#(TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZoneÿÿÿÿClientEventTimeîáSilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTime ¦ãQAgeSexIncomeInterestsRobotnessRemoteIP…UWindowNameÿÿÿÿOpenerNameÿÿÿÿHistoryLengthÿÿÿÿBrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+‚Œ'ÕãûURLHashvÀvÍÀ‰ÇCLIDWatchIDìÒŒ\JavaEnableTitleGoodEventEventTime× äQEventDate>CounterIDClientIPgURegionIDåUserIDƒs—yyçófCounterClassOS,UserAgentURL1http://tours/Ekategoriya%2F&sr=http://slovareniyeRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDØesRolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajor UserAgentMinorD�CookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID¶œTraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZoneÿÿÿÿClientEventTimeîáSilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTimeY’ãQAgeSexIncomeInterestsRobotnessRemoteIP€=kWindowNameÿÿÿÿOpenerNameÿÿÿÿHistoryLengthÿÿÿÿBrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+‚Œ'ÕãûURLHashh˜´9›DCLID^WatchIDÛ/E‚ÜJÛ{JavaEnableTitleGoodEventEventTimeÖ1ãQEventDate>CounterIDClientIP®Æz·RegionIDGUserID× ’•:6×ÝCounterClassOSUserAgentURLRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajorUserAgentMinor�OCookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhkneModelParamsIPNetworkID¯á9TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZoneÿÿÿÿClientEventTimeîáSilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTime‹ÏãQAgeSexIncomeInterestsRobotnessRemoteIP^DIÄWindowNameÿÿÿÿOpenerNameÿÿÿÿHistoryLengthÿÿÿÿBrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+‚Œ'ÕãûURLHashÍ|3úÐb.‹CLID$$);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [42]) @ 0x000000000c3e57be in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:288: void DB::readAndInsertString(DB::ReadBuffer&, DB::IColumn&, DB::BSONType) @ 0x000000001e7cb9be in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:629: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000001e7c71ac in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:811: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7cce74 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 14. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 2024.09.24 01:11:02.699412 [ 2934 ] {b23c4c17-023f-4817-8785-cca430109bf3} TCPHandler: Code: 117. DB::Exception: Incorrect size of a string (zero) in BSON: (at row 6) : While executing ParallelParsingBlockInputFormat. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [42]) @ 0x000000000c3e57be in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:288: void DB::readAndInsertString(DB::ReadBuffer&, DB::IColumn&, DB::BSONType) @ 0x000000001e7cb9be in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:629: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000001e7c71ac in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:811: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7cce74 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 14. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 2024.09.24 01:11:03.881312 [ 2936 ] {ece3e5d0-a571-46e7-80f1-46b2f9d1b93b} executeQuery: Code: 50. DB::Exception: Unknown BSON type: 0x00: While executing BSONEachRowRowInputFormat. (UNKNOWN_TYPE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40852) (comment: 02684_bson.sql) (in query: -- It correctly throws exception about incorrect data: SELECT * FROM format('BSONEachRow', 'WatchID Int64, JavaEnable Int16, Title String, GoodEvent Int16, EventTime DateTime, EventDate Date, CounterID Int32, ClientIP Int32, RegionID Int32, UserID Int64, CounterClass Int16, OS Int16, UserAgent Int16, URL String, Referer String, IsRefresh Int16, RefererCategoryID Int16, RefererRegionID Int32, URLCategoryID Int16, URLRegionID Int32, ResolutionWidth Int16, ResolutionHeight Int16, ResolutionDepth Int16, FlashMajor Int16, FlashMinor Int16, FlashMinor2 String, NetMajor Int16, NetMinor Int16, UserAgentMajor Int16, UserAgentMinor String, CookieEnable Int16, JavascriptEnable Int16, IsMobile Int16, MobilePhone Int16, MobilePhoneModel String, Params String, IPNetworkID Int32, TraficSourceID Int16, SearchEngineID Int16, SearchPhrase String, AdvEngineID Int16, IsArtifical Int16, WindowClientWidth Int16, WindowClientHeight Int16, ClientTimeZone Int16, ClientEventTime DateTime, SilverlightVersion1 Int16, SilverlightVersion2 Int16, SilverlightVersion3 Int32, SilverlightVersion4 Int16, PageCharset String, CodeVersion Int32, IsLink Int16, IsDownload Int16, IsNotBounce Int16, FUniqID Int64, OriginalURL String, HID Int32, IsOldCounter Int16, IsEvent Int16, IsParameter Int16, DontCountHits Int16, WithHash Int16, HitColor String, LocalEventTime DateTime, Age Int16, Sex Int16, Income Int16, Interests Int16, Robotness Int16, RemoteIP Int32, WindowName Int32, OpenerName Int32, HistoryLength Int16, BrowserLanguage String, BrowserCountry String, SocialNetwork String, SocialAction String, HTTPError Int16, SendTiming Int32, DNSTiming Int32, ConnectTiming Int32, ResponseStartTiming Int32, ResponseEndTiming Int32, FetchTiming Int32, SocialSourceNetworkID Int16, SocialSourcePage String, ParamPrice Int64, ParamOrderID String, ParamCurrency String, ParamCurrencyID Int16, OpenstatServiceName String, OpenstatCampaignID String, OpenstatAdID String, OpenstatSourceID String, UTMSource String, UTMMedium String, UTMCampaign String, UTMContent String, UTMTerm String, FromTag String, HasGCLID Int16, RefererHash Int64, URLHash Int64, CLID Int32', $$^WatchIDc*5/ !p~JavaEnableTitleGoodEventEventTime7��QEventDate>CounterIDClientIP��z�RegionIDGUserID� ��:6��CounterClassOSUserAgentURLRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajorUserAgentMinor�OCookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID��9TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZone����ClientEventTime��SilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTime&��QAgeSexIncomeInterestsRobotnessRemoteIP^DI�WindowName����OpenerName����HistoryLength����BrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+��'���URLHash�|3��b.�CLID^WatchID��F�ӓ2qJavaEnableTitleGoodEventEventTimen$�QEventDate>CounterIDClientIP��z�RegionIDGUserID� ��:6��CounterClassOSUserAgentURLRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDResolutionWidthResolutionHeightResolutionDepthmingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+��'���URLHashv�v����CLID�WatchID���\JavaEnableTitleGoodEventEventTime� �QEventDate>CounterIDClientIP�gURegionID�UserID�s�yy��fCounterClassOS,UserAgentURL1http://tours/Ekategoriya%2F&sr=http://slovareniyeRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionID�ResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajor UserAgentMinorD�CookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID��TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZone����ClientEventTime��SilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTimeY��QAgeSexIncomeInterestsRobotnessRemoteIP�=kWindowName����OpenerName����HistoryLength����BrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+��'���URLHashh��9�DCLID^WatchID�/E��J�{JavaEnableTitleGoodEventEventTime�1�QEventDate>CounterIDClientIP��z�RegionIDGUserID� ��:6��CounterClassOSUserAgentURLRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajorUserAgentMinor�OCookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID��9TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZone����ClientEventTime��SilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTime���QAgeSexIncomeInterestsRobotnessRemoteIP^DI�WindowName����OpenerName����HistoryLength����BrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+��'���URLHash�|3��b.�CLID$$);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Formats/BSONTypes.cpp:23: DB::getBSONType(unsigned char) @ 0x000000001e7d4047 in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:796: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ccca4 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 9. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f6dbe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001e6f6e61 in /usr/bin/clickhouse 17. /build/src/TableFunctions/TableFunctionFormat.cpp:87: DB::TableFunctionFormat::parseData(DB::ColumnsDescription, std::shared_ptr) const @ 0x000000001a9d871a in /usr/bin/clickhouse 18. /build/src/TableFunctions/TableFunctionFormat.cpp:101: DB::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a9d8a05 in /usr/bin/clickhouse 19. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 20. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 21. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 2024.09.24 01:11:03.882462 [ 2936 ] {ece3e5d0-a571-46e7-80f1-46b2f9d1b93b} TCPHandler: Code: 50. DB::Exception: Unknown BSON type: 0x00: While executing BSONEachRowRowInputFormat. (UNKNOWN_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Formats/BSONTypes.cpp:23: DB::getBSONType(unsigned char) @ 0x000000001e7d4047 in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:796: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ccca4 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 9. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f6dbe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001e6f6e61 in /usr/bin/clickhouse 17. /build/src/TableFunctions/TableFunctionFormat.cpp:87: DB::TableFunctionFormat::parseData(DB::ColumnsDescription, std::shared_ptr) const @ 0x000000001a9d871a in /usr/bin/clickhouse 18. /build/src/TableFunctions/TableFunctionFormat.cpp:101: DB::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a9d8a05 in /usr/bin/clickhouse 19. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 20. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 21. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 2024.09.24 01:11:04.748642 [ 1123 ] {bc8370a2-b3e1-40c2-873b-1761030924e7} executeQuery: Code: 44. DB::Exception: Sorting key cannot contain constants. (ILLEGAL_COLUMN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40872) (comment: 02679_query_parameters_dangling_pointer.sql) (in query: CREATE TABLE test.xxx (`a` Int64) ENGINE = MergeTree ORDER BY 'a' SETTINGS index_granularity = 25222, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 8544, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10580863917, index_granularity_bytes = 8933887, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 60755, primary_key_compress_block_size = 77973), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:474: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x000000001de65b7d in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:611: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de65490 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de62136 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de614ad in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35ecd3 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e89a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e595 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e223 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e035 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35c61b in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35a85f in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 2024.09.24 01:11:04.749688 [ 1123 ] {bc8370a2-b3e1-40c2-873b-1761030924e7} TCPHandler: Code: 44. DB::Exception: Sorting key cannot contain constants. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:474: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x000000001de65b7d in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:611: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de65490 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de62136 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de614ad in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35ecd3 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e89a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e595 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e223 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e035 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35c61b in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35a85f in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 2024.09.24 01:11:06.639869 [ 2936 ] {1b5aa4ce-3751-4531-b813-847507dcdab9} executeQuery: Code: 1. DB::Exception: Qualified matcher arr.* find non compound expression [1, 2, 3] AS arr with type Array(UInt8). Expected tuple or array of tuples. In scope WITH [1, 2, 3] AS arr SELECT arr.*. (UNSUPPORTED_METHOD) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40884) (comment: 02677_analyzer_compound_expressions.sql) (in query: WITH [1, 2, 3] AS arr SELECT arr.*;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000b2429e4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3769: DB::(anonymous namespace)::QueryAnalyzer::resolveQualifiedMatcher(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c951871 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4058: DB::(anonymous namespace)::QueryAnalyzer::resolveMatcher(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c94edd4 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5514: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fec0 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 14. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:11:06.640850 [ 2936 ] {1b5aa4ce-3751-4531-b813-847507dcdab9} TCPHandler: Code: 1. DB::Exception: Qualified matcher arr.* find non compound expression [1, 2, 3] AS arr with type Array(UInt8). Expected tuple or array of tuples. In scope WITH [1, 2, 3] AS arr SELECT arr.*. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000b2429e4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3769: DB::(anonymous namespace)::QueryAnalyzer::resolveQualifiedMatcher(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c951871 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4058: DB::(anonymous namespace)::QueryAnalyzer::resolveMatcher(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c94edd4 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5514: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fec0 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 14. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:11:06.849743 [ 2936 ] {84612e33-4d43-445d-934a-2b7819f9f147} executeQuery: Code: 44. DB::Exception: The second argument of function getSubcolumn should be a constant string with the name of a subcolumn: In scope SELECT getSubcolumn([1, 2, 3], materialize('size0')). (ILLEGAL_COLUMN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40884) (comment: 02677_analyzer_compound_expressions.sql) (in query: SELECT getSubcolumn([1, 2, 3], materialize('size0'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b24a833 in /usr/bin/clickhouse 6. /build/src/Functions/getSubcolumn.cpp:45: DB::(anonymous namespace)::FunctionGetSubcolumn::getSubcolumnName(std::vector> const&) @ 0x000000000e491c48 in /usr/bin/clickhouse 7. /build/src/Functions/getSubcolumn.cpp:30: DB::(anonymous namespace)::FunctionGetSubcolumn::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e491b19 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5251: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9375b0 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 2024.09.24 01:11:06.851035 [ 2936 ] {84612e33-4d43-445d-934a-2b7819f9f147} TCPHandler: Code: 44. DB::Exception: The second argument of function getSubcolumn should be a constant string with the name of a subcolumn: In scope SELECT getSubcolumn([1, 2, 3], materialize('size0')). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b24a833 in /usr/bin/clickhouse 6. /build/src/Functions/getSubcolumn.cpp:45: DB::(anonymous namespace)::FunctionGetSubcolumn::getSubcolumnName(std::vector> const&) @ 0x000000000e491c48 in /usr/bin/clickhouse 7. /build/src/Functions/getSubcolumn.cpp:30: DB::(anonymous namespace)::FunctionGetSubcolumn::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e491b19 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5251: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9375b0 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 2024.09.24 01:11:07.034073 [ 2936 ] {69c14156-6505-41d9-83ff-a186fda8d7d7} executeQuery: Code: 44. DB::Exception: There is no subcolumn aaa in type Array(UInt8): In scope SELECT getSubcolumn([1, 2, 3], 'aaa'). (ILLEGAL_COLUMN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40884) (comment: 02677_analyzer_compound_expressions.sql) (in query: SELECT getSubcolumn([1, 2, 3], 'aaa');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>&, String>(int, FormatStringHelperImpl>&>::type, std::type_identity::type>, std::basic_string_view>&, String&&) @ 0x000000000e275eec in /usr/bin/clickhouse 6. /build/src/DataTypes/IDataType.cpp:118: std::shared_ptr DB::IDataType::getForSubcolumn>(std::basic_string_view>, DB::ISerialization::SubstreamData const&, std::shared_ptr DB::ISerialization::SubstreamData::*, bool) const @ 0x000000001b9ce77a in /usr/bin/clickhouse 7. /build/src/DataTypes/IDataType.cpp:137: DB::IDataType::getSubcolumnType(std::basic_string_view>) const @ 0x000000001b9cd066 in /usr/bin/clickhouse 8. /build/src/Functions/getSubcolumn.cpp:31: DB::(anonymous namespace)::FunctionGetSubcolumn::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e491b52 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5251: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9375b0 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 20. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 2024.09.24 01:11:07.034941 [ 2936 ] {69c14156-6505-41d9-83ff-a186fda8d7d7} TCPHandler: Code: 44. DB::Exception: There is no subcolumn aaa in type Array(UInt8): In scope SELECT getSubcolumn([1, 2, 3], 'aaa'). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>&, String>(int, FormatStringHelperImpl>&>::type, std::type_identity::type>, std::basic_string_view>&, String&&) @ 0x000000000e275eec in /usr/bin/clickhouse 6. /build/src/DataTypes/IDataType.cpp:118: std::shared_ptr DB::IDataType::getForSubcolumn>(std::basic_string_view>, DB::ISerialization::SubstreamData const&, std::shared_ptr DB::ISerialization::SubstreamData::*, bool) const @ 0x000000001b9ce77a in /usr/bin/clickhouse 7. /build/src/DataTypes/IDataType.cpp:137: DB::IDataType::getSubcolumnType(std::basic_string_view>) const @ 0x000000001b9cd066 in /usr/bin/clickhouse 8. /build/src/Functions/getSubcolumn.cpp:31: DB::(anonymous namespace)::FunctionGetSubcolumn::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e491b52 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5251: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9375b0 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 20. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 2024.09.24 01:11:09.146636 [ 670 ] {33421282-9773-4e2a-bf3b-155598f52231} executeQuery: Code: 41. DB::Exception: Value 1 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('AD 1999', 'G Y'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('AD 1999', 'G Y');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x000000001194f9e8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:168: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x000000001190fb0b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1264: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192df48 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:09.147612 [ 670 ] {33421282-9773-4e2a-bf3b-155598f52231} TCPHandler: Code: 41. DB::Exception: Value 1 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('AD 1999', 'G Y'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x000000001194f9e8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:168: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x000000001190fb0b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1264: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192df48 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:09.297792 [ 670 ] {eb567a16-a87a-496f-b5bc-3b137276ed54} executeQuery: Code: 41. DB::Exception: Invalid format input AD 1999 is malformed at 99: While processing parseDateTimeInJodaSyntax('AD 1999', 'G YY'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('AD 1999', 'G YY');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194d36c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192af55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:11:09.298968 [ 670 ] {eb567a16-a87a-496f-b5bc-3b137276ed54} TCPHandler: Code: 41. DB::Exception: Invalid format input AD 1999 is malformed at 99: While processing parseDateTimeInJodaSyntax('AD 1999', 'G YY'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194d36c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192af55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:11:09.311080 [ 670 ] {e608d6d9-b8d6-4448-a09b-0ba6aab94453} executeQuery: Code: 41. DB::Exception: Value 199 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('AD 1999', 'G YYY'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('AD 1999', 'G YYY');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x000000001194f9e8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:168: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x000000001190fb0b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1264: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192df48 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:09.312100 [ 670 ] {e608d6d9-b8d6-4448-a09b-0ba6aab94453} TCPHandler: Code: 41. DB::Exception: Value 199 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('AD 1999', 'G YYY'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x000000001194f9e8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:168: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x000000001190fb0b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1264: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192df48 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:09.424962 [ 670 ] {d7313d91-7e3e-4e8c-8868-3157d86d340a} executeQuery: Code: 41. DB::Exception: Era BC exceeds the range of DateTime: While processing parseDateTimeInJodaSyntax('BC', 'G'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('BC', 'G');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [37]) @ 0x000000000c57937e in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:151: DB::(anonymous namespace)::DateTime::setEra(String const&) @ 0x0000000011931ff6 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1246: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaEra(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192dc87 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011931c48 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011931bdd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011931b41 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x0000000011931afa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011931a95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011931a55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011931a15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193199d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:09.426037 [ 670 ] {d7313d91-7e3e-4e8c-8868-3157d86d340a} TCPHandler: Code: 41. DB::Exception: Era BC exceeds the range of DateTime: While processing parseDateTimeInJodaSyntax('BC', 'G'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [37]) @ 0x000000000c57937e in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:151: DB::(anonymous namespace)::DateTime::setEra(String const&) @ 0x0000000011931ff6 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1246: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaEra(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192dc87 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011931c48 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011931bdd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011931b41 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x0000000011931afa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011931a95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011931a55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011931a15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193199d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:09.535495 [ 670 ] {2523a3c4-7dca-461c-9d71-9594633f8415} executeQuery: Code: 41. DB::Exception: Unknown era ab (expected 'ad' or 'bc'): While processing parseDateTimeInJodaSyntax('AB', 'G'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('AB', 'G');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:153: DB::(anonymous namespace)::DateTime::setEra(String const&) @ 0x00000000119320a4 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1246: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaEra(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192dc87 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011931c48 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011931bdd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011931b41 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x0000000011931afa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011931a95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011931a55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011931a15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193199d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:09.536801 [ 670 ] {2523a3c4-7dca-461c-9d71-9594633f8415} TCPHandler: Code: 41. DB::Exception: Unknown era ab (expected 'ad' or 'bc'): While processing parseDateTimeInJodaSyntax('AB', 'G'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:153: DB::(anonymous namespace)::DateTime::setEra(String const&) @ 0x00000000119320a4 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1246: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaEra(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192dc87 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011931c48 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011931bdd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011931b41 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x0000000011931afa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011931a95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011931a55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011931a15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193199d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:09.592369 [ 670 ] {573bbded-879b-43a0-9215-a4bf3693f97c} executeQuery: Code: 41. DB::Exception: Value 1969 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('1969', 'YYYY', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('1969', 'YYYY', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x000000001194f9e8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:168: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x000000001190fb0b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1264: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192df48 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:09.593544 [ 670 ] {573bbded-879b-43a0-9215-a4bf3693f97c} TCPHandler: Code: 41. DB::Exception: Value 1969 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('1969', 'YYYY', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x000000001194f9e8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:168: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x000000001190fb0b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1264: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192df48 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:09.608147 [ 670 ] {a04fbb90-4ae6-49ff-89e1-ac1c7e147a46} executeQuery: Code: 41. DB::Exception: Value 2107 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('2107', 'YYYY', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('2107', 'YYYY', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x000000001194f9e8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:168: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x000000001190fb0b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1264: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192df48 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:09.609321 [ 670 ] {a04fbb90-4ae6-49ff-89e1-ac1c7e147a46} TCPHandler: Code: 41. DB::Exception: Value 2107 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('2107', 'YYYY', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x000000001194f9e8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:168: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x000000001190fb0b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1264: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192df48 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:09.719067 [ 670 ] {c606b8ce-84e9-4635-8b74-d1414b13683c} executeQuery: Code: 41. DB::Exception: Unable to parse fragment YYYY from +1999 because read number failed: While processing parseDateTimeInJodaSyntax('+1999', 'YYYY', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('+1999', 'YYYY', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x00000000119527cc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1221: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x0000000011932ea8 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1262: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192df31 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:09.720097 [ 670 ] {c606b8ce-84e9-4635-8b74-d1414b13683c} TCPHandler: Code: 41. DB::Exception: Unable to parse fragment YYYY from +1999 because read number failed: While processing parseDateTimeInJodaSyntax('+1999', 'YYYY', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x00000000119527cc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1221: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x0000000011932ea8 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1262: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192df31 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:09.899351 [ 1125 ] {b9fd683f-dcea-4616-bd4c-dca5be9b9c82} executeQuery: Code: 36. DB::Exception: Parameters list to aggregate functions cannot be empty. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40924) (comment: 02661_quantile_approx.sql) (in query: select medianGK()(number) from numbers(10) SETTINGS allow_experimental_analyzer = 0;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [55]) @ 0x000000000c15ae3e in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/parseAggregateFunctionParameters.cpp:24: DB::getAggregateFunctionParametersArray(std::shared_ptr const&, String const&, std::shared_ptr) @ 0x000000001ac0c683 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:581: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac91d in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:11:09.899453 [ 670 ] {ae5c91b2-f280-4553-bf6f-11019edbb7e9} executeQuery: Code: 41. DB::Exception: Value 1 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('1', 'YY', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('1', 'YY', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x000000001194f9e8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:168: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x000000001190fb0b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1264: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192df48 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:09.900101 [ 1125 ] {b9fd683f-dcea-4616-bd4c-dca5be9b9c82} TCPHandler: Code: 36. DB::Exception: Parameters list to aggregate functions cannot be empty. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [55]) @ 0x000000000c15ae3e in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/parseAggregateFunctionParameters.cpp:24: DB::getAggregateFunctionParametersArray(std::shared_ptr const&, String const&, std::shared_ptr) @ 0x000000001ac0c683 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:581: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac91d in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:11:09.900476 [ 670 ] {ae5c91b2-f280-4553-bf6f-11019edbb7e9} TCPHandler: Code: 41. DB::Exception: Value 1 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('1', 'YY', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x000000001194f9e8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:168: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x000000001190fb0b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1264: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192df48 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:10.046539 [ 1125 ] {816ea417-b0f6-4f6a-aeee-d93c8d35d05f} executeQuery: Code: 42. DB::Exception: Aggregate function quantileGK requires at least one param. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40924) (comment: 02661_quantile_approx.sql) (in query: select medianGK()(number) from numbers(10) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:92: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e17c16 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>* std::construct_at[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*>(DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e1786a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantileGK, false, void, false>>>::construct[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantileGK, false, void, false>>&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e17629 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e1730f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::allocate_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantileGK, false, void, false>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e17182 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::make_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e0318e in /usr/bin/clickhouse 12. /build/src/AggregateFunctions/AggregateFunctionQuantileApprox.cpp:36: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014e02073 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5079: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c935cad in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 28. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 2024.09.24 01:11:10.047883 [ 1125 ] {816ea417-b0f6-4f6a-aeee-d93c8d35d05f} TCPHandler: Code: 42. DB::Exception: Aggregate function quantileGK requires at least one param. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:92: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e17c16 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>* std::construct_at[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*>(DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e1786a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantileGK, false, void, false>>>::construct[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantileGK, false, void, false>>&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e17629 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e1730f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::allocate_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantileGK, false, void, false>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e17182 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::make_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e0318e in /usr/bin/clickhouse 12. /build/src/AggregateFunctions/AggregateFunctionQuantileApprox.cpp:36: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014e02073 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5079: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c935cad in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 28. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 2024.09.24 01:11:10.058567 [ 1125 ] {b3779a81-9d87-4db3-a370-4da36f69b212} executeQuery: Code: 36. DB::Exception: Parameters list to aggregate functions cannot be empty. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40924) (comment: 02661_quantile_approx.sql) (in query: select quantileGK()(number) from numbers(10) SETTINGS allow_experimental_analyzer = 0;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [55]) @ 0x000000000c15ae3e in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/parseAggregateFunctionParameters.cpp:24: DB::getAggregateFunctionParametersArray(std::shared_ptr const&, String const&, std::shared_ptr) @ 0x000000001ac0c683 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:581: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac91d in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:11:10.059357 [ 1125 ] {b3779a81-9d87-4db3-a370-4da36f69b212} TCPHandler: Code: 36. DB::Exception: Parameters list to aggregate functions cannot be empty. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [55]) @ 0x000000000c15ae3e in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/parseAggregateFunctionParameters.cpp:24: DB::getAggregateFunctionParametersArray(std::shared_ptr const&, String const&, std::shared_ptr) @ 0x000000001ac0c683 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:581: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac91d in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:11:10.068397 [ 1125 ] {6f2a1a5a-7cb9-4bee-b102-44533a61a0dc} executeQuery: Code: 42. DB::Exception: Aggregate function quantileGK requires at least one param. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40924) (comment: 02661_quantile_approx.sql) (in query: select quantileGK()(number) from numbers(10) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:92: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e17c16 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>* std::construct_at[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*>(DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e1786a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantileGK, false, void, false>>>::construct[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantileGK, false, void, false>>&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e17629 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e1730f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::allocate_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantileGK, false, void, false>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e17182 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::make_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e0318e in /usr/bin/clickhouse 12. /build/src/AggregateFunctions/AggregateFunctionQuantileApprox.cpp:36: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014e02073 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5079: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c935cad in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 28. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 2024.09.24 01:11:10.069429 [ 1125 ] {6f2a1a5a-7cb9-4bee-b102-44533a61a0dc} TCPHandler: Code: 42. DB::Exception: Aggregate function quantileGK requires at least one param. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:92: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e17c16 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>* std::construct_at[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*>(DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e1786a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantileGK, false, void, false>>>::construct[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantileGK, false, void, false>>&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e17629 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e1730f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::allocate_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantileGK, false, void, false>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e17182 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::make_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e0318e in /usr/bin/clickhouse 12. /build/src/AggregateFunctions/AggregateFunctionQuantileApprox.cpp:36: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014e02073 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5079: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c935cad in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 28. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 2024.09.24 01:11:10.227214 [ 670 ] {3cf25ba9-20a9-431c-9355-f6cc097cc012} executeQuery: Code: 41. DB::Exception: Value 1969 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('1969', 'yyyy', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('1969', 'yyyy', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x000000001194f9e8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:168: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x000000001190fb0b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1328: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192e847 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:10.361249 [ 670 ] {3cf25ba9-20a9-431c-9355-f6cc097cc012} TCPHandler: Code: 41. DB::Exception: Value 1969 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('1969', 'yyyy', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x000000001194f9e8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:168: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x000000001190fb0b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1328: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192e847 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:10.361400 [ 1125 ] {1194b750-0de5-4e60-af4c-2f37ea5d321c} executeQuery: Code: 42. DB::Exception: Aggregate function quantileGK requires one level parameter or less. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40924) (comment: 02661_quantile_approx.sql) (in query: select quantileGK(100, 0.5, 0.75)(number) from numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:87: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e17a9d in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>* std::construct_at[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*>(DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e1786a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantileGK, false, void, false>>>::construct[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantileGK, false, void, false>>&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e17629 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e1730f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::allocate_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantileGK, false, void, false>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e17182 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::make_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e0318e in /usr/bin/clickhouse 12. /build/src/AggregateFunctions/AggregateFunctionQuantileApprox.cpp:36: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014e02073 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5079: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c935cad in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 28. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 2024.09.24 01:11:10.362648 [ 1125 ] {1194b750-0de5-4e60-af4c-2f37ea5d321c} TCPHandler: Code: 42. DB::Exception: Aggregate function quantileGK requires one level parameter or less. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:87: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e17a9d in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>* std::construct_at[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*>(DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e1786a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantileGK, false, void, false>>>::construct[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantileGK, false, void, false>>&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e17629 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e1730f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::allocate_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantileGK, false, void, false>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e17182 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::make_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e0318e in /usr/bin/clickhouse 12. /build/src/AggregateFunctions/AggregateFunctionQuantileApprox.cpp:36: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014e02073 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5079: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c935cad in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 28. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 2024.09.24 01:11:10.495126 [ 670 ] {7b926aeb-d4f7-46ff-b96f-5247233a6cf6} executeQuery: Code: 41. DB::Exception: Value 2107 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('2107', 'yyyy', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('2107', 'yyyy', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x000000001194f9e8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:168: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x000000001190fb0b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1328: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192e847 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:10.495161 [ 1125 ] {ef375933-0aa0-4148-b79b-708ad00d3c04} executeQuery: Code: 43. DB::Exception: Aggregate function quantileGK requires accuracy parameter with integer type. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40924) (comment: 02661_quantile_approx.sql) (in query: select quantileGK('abc', 0.5)(number) from numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:97: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e17d63 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>* std::construct_at[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*>(DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e1786a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantileGK, false, void, false>>>::construct[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantileGK, false, void, false>>&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e17629 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e1730f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::allocate_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantileGK, false, void, false>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e17182 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::make_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e0318e in /usr/bin/clickhouse 12. /build/src/AggregateFunctions/AggregateFunctionQuantileApprox.cpp:36: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014e02073 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5079: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c935cad in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 28. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 2024.09.24 01:11:10.496358 [ 670 ] {7b926aeb-d4f7-46ff-b96f-5247233a6cf6} TCPHandler: Code: 41. DB::Exception: Value 2107 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('2107', 'yyyy', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x000000001194f9e8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:168: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x000000001190fb0b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1328: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192e847 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:10.496384 [ 1125 ] {ef375933-0aa0-4148-b79b-708ad00d3c04} TCPHandler: Code: 43. DB::Exception: Aggregate function quantileGK requires accuracy parameter with integer type. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:97: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e17d63 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>* std::construct_at[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*>(DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e1786a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantileGK, false, void, false>>>::construct[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantileGK, false, void, false>>&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e17629 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e1730f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::allocate_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantileGK, false, void, false>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e17182 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::make_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e0318e in /usr/bin/clickhouse 12. /build/src/AggregateFunctions/AggregateFunctionQuantileApprox.cpp:36: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014e02073 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5079: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c935cad in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 28. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 2024.09.24 01:11:10.505491 [ 1125 ] {d3c90f6f-b392-476d-8156-161d029b574e} executeQuery: Code: 43. DB::Exception: Aggregate function quantileGK requires accuracy parameter with integer type. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40924) (comment: 02661_quantile_approx.sql) (in query: select quantileGK(1.23, 0.5)(number) from numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:97: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e17d63 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>* std::construct_at[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*>(DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e1786a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantileGK, false, void, false>>>::construct[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantileGK, false, void, false>>&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e17629 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e1730f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::allocate_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantileGK, false, void, false>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e17182 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::make_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e0318e in /usr/bin/clickhouse 12. /build/src/AggregateFunctions/AggregateFunctionQuantileApprox.cpp:36: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014e02073 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5079: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c935cad in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 28. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 2024.09.24 01:11:10.506403 [ 1125 ] {d3c90f6f-b392-476d-8156-161d029b574e} TCPHandler: Code: 43. DB::Exception: Aggregate function quantileGK requires accuracy parameter with integer type. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:97: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e17d63 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>* std::construct_at[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*>(DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e1786a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantileGK, false, void, false>>>::construct[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantileGK, false, void, false>>&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e17629 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e1730f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::allocate_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantileGK, false, void, false>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e17182 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::make_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e0318e in /usr/bin/clickhouse 12. /build/src/AggregateFunctions/AggregateFunctionQuantileApprox.cpp:36: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014e02073 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5079: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c935cad in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 28. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 2024.09.24 01:11:10.651083 [ 1125 ] {a2613f8c-301b-4268-8ec1-19ebcfe056f6} executeQuery: Code: 36. DB::Exception: Aggregate function quantileGK requires accuracy parameter with positive value but is -100. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40924) (comment: 02661_quantile_approx.sql) (in query: select quantileGK(-100, 0.5)(number) from numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, long&) @ 0x0000000014e050ec in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:106: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e17f25 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>* std::construct_at[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*>(DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e1786a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantileGK, false, void, false>>>::construct[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantileGK, false, void, false>>&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e17629 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e1730f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::allocate_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantileGK, false, void, false>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e17182 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::make_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e0318e in /usr/bin/clickhouse 12. /build/src/AggregateFunctions/AggregateFunctionQuantileApprox.cpp:36: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014e02073 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5079: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c935cad in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 28. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 2024.09.24 01:11:10.652081 [ 1125 ] {a2613f8c-301b-4268-8ec1-19ebcfe056f6} TCPHandler: Code: 36. DB::Exception: Aggregate function quantileGK requires accuracy parameter with positive value but is -100. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, long&) @ 0x0000000014e050ec in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:106: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e17f25 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>* std::construct_at[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*>(DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e1786a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantileGK, false, void, false>>>::construct[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantileGK, false, void, false>>&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e17629 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e1730f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::allocate_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantileGK, false, void, false>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e17182 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::make_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e0318e in /usr/bin/clickhouse 12. /build/src/AggregateFunctions/AggregateFunctionQuantileApprox.cpp:36: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014e02073 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5079: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c935cad in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 28. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 2024.09.24 01:11:10.661406 [ 1125 ] {14e700f5-5eb3-4e18-803d-7d61938cd5b7} executeQuery: Code: 36. DB::Exception: Parameters list to aggregate functions cannot be empty. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40924) (comment: 02661_quantile_approx.sql) (in query: select quantilesGK()(number) from numbers(10) SETTINGS allow_experimental_analyzer = 0;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [55]) @ 0x000000000c15ae3e in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/parseAggregateFunctionParameters.cpp:24: DB::getAggregateFunctionParametersArray(std::shared_ptr const&, String const&, std::shared_ptr) @ 0x000000001ac0c683 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:581: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac91d in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:11:10.662130 [ 1125 ] {14e700f5-5eb3-4e18-803d-7d61938cd5b7} TCPHandler: Code: 36. DB::Exception: Parameters list to aggregate functions cannot be empty. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [55]) @ 0x000000000c15ae3e in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/parseAggregateFunctionParameters.cpp:24: DB::getAggregateFunctionParametersArray(std::shared_ptr const&, String const&, std::shared_ptr) @ 0x000000001ac0c683 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:581: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac91d in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:11:10.810922 [ 1125 ] {73cf3d1b-7999-4d4d-bcb1-a012acadfe63} executeQuery: Code: 42. DB::Exception: Aggregate function for calculation of multiple quantiles require at least one parameter. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40924) (comment: 02661_quantile_approx.sql) (in query: select quantilesGK()(number) from numbers(10) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [88]) @ 0x000000000b6556fe in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/QuantilesCommon.h:46: DB::QuantileLevels::QuantileLevels(DB::Array const&, bool) @ 0x0000000014691301 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:82: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e8961f in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>* std::construct_at[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*>(DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e894ea in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantilesGK, false, void, true>>>::construct[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantilesGK, false, void, true>>&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e892a9 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantilesGK, false, void, true>, std::allocator, DB::NameQuantilesGK, false, void, true>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantilesGK, false, void, true>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e88f8f in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantilesGK, false, void, true>> std::allocate_shared[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::allocator, DB::NameQuantilesGK, false, void, true>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantilesGK, false, void, true>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e88e02 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantilesGK, false, void, true>> std::make_shared[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e7edae in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionQuantileApprox.cpp:36: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014e027d3 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 21. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5079: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c935cad in /usr/bin/clickhouse 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 29. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 2024.09.24 01:11:10.935077 [ 670 ] {37352c94-ab7f-404d-9b65-a906e1d9e647} executeQuery: Code: 321. DB::Exception: Seconds since epoch is negative: While processing parseDateTimeInJodaSyntax('1970', 'xxxx', 'UTC'). (VALUE_IS_OUT_OF_RANGE_OF_DATA_TYPE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('1970', 'xxxx', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [32]) @ 0x0000000011951bbe in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:443: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x00000000119086f1 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:580: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192afda in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 2024.09.24 01:11:10.935127 [ 1125 ] {73cf3d1b-7999-4d4d-bcb1-a012acadfe63} TCPHandler: Code: 42. DB::Exception: Aggregate function for calculation of multiple quantiles require at least one parameter. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [88]) @ 0x000000000b6556fe in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/QuantilesCommon.h:46: DB::QuantileLevels::QuantileLevels(DB::Array const&, bool) @ 0x0000000014691301 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:82: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e8961f in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>* std::construct_at[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*>(DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e894ea in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantilesGK, false, void, true>>>::construct[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantilesGK, false, void, true>>&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e892a9 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantilesGK, false, void, true>, std::allocator, DB::NameQuantilesGK, false, void, true>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantilesGK, false, void, true>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e88f8f in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantilesGK, false, void, true>> std::allocate_shared[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::allocator, DB::NameQuantilesGK, false, void, true>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantilesGK, false, void, true>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e88e02 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantilesGK, false, void, true>> std::make_shared[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e7edae in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionQuantileApprox.cpp:36: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014e027d3 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 21. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5079: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c935cad in /usr/bin/clickhouse 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 29. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 2024.09.24 01:11:10.936086 [ 670 ] {37352c94-ab7f-404d-9b65-a906e1d9e647} TCPHandler: Code: 321. DB::Exception: Seconds since epoch is negative: While processing parseDateTimeInJodaSyntax('1970', 'xxxx', 'UTC'). (VALUE_IS_OUT_OF_RANGE_OF_DATA_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [32]) @ 0x0000000011951bbe in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:443: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x00000000119086f1 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:580: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192afda in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 2024.09.24 01:11:10.946335 [ 1125 ] {0f53cc50-cc7b-4e36-b796-4dd0554e0836} executeQuery: Code: 42. DB::Exception: Aggregate function for calculation of multiple quantiles require at least one parameter. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40924) (comment: 02661_quantile_approx.sql) (in query: select quantilesGK(100)(number) from numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [88]) @ 0x000000000b6556fe in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/QuantilesCommon.h:46: DB::QuantileLevels::QuantileLevels(DB::Array const&, bool) @ 0x0000000014691301 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:82: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e8961f in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>* std::construct_at[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*>(DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e894ea in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantilesGK, false, void, true>>>::construct[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantilesGK, false, void, true>>&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e892a9 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantilesGK, false, void, true>, std::allocator, DB::NameQuantilesGK, false, void, true>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantilesGK, false, void, true>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e88f8f in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantilesGK, false, void, true>> std::allocate_shared[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::allocator, DB::NameQuantilesGK, false, void, true>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantilesGK, false, void, true>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e88e02 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantilesGK, false, void, true>> std::make_shared[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e7edae in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionQuantileApprox.cpp:36: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014e027d3 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 21. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5079: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c935cad in /usr/bin/clickhouse 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 29. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 2024.09.24 01:11:11.035818 [ 1125 ] {0f53cc50-cc7b-4e36-b796-4dd0554e0836} TCPHandler: Code: 42. DB::Exception: Aggregate function for calculation of multiple quantiles require at least one parameter. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [88]) @ 0x000000000b6556fe in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/QuantilesCommon.h:46: DB::QuantileLevels::QuantileLevels(DB::Array const&, bool) @ 0x0000000014691301 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:82: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e8961f in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>* std::construct_at[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*>(DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e894ea in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantilesGK, false, void, true>>>::construct[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantilesGK, false, void, true>>&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e892a9 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantilesGK, false, void, true>, std::allocator, DB::NameQuantilesGK, false, void, true>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantilesGK, false, void, true>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e88f8f in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantilesGK, false, void, true>> std::allocate_shared[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::allocator, DB::NameQuantilesGK, false, void, true>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantilesGK, false, void, true>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e88e02 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantilesGK, false, void, true>> std::make_shared[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e7edae in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionQuantileApprox.cpp:36: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014e027d3 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 21. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5079: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c935cad in /usr/bin/clickhouse 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 29. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 2024.09.24 01:11:11.035900 [ 670 ] {9d38497c-45b6-4f51-8b92-53e78423b27d} executeQuery: Code: 41. DB::Exception: Value 1969 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('1969', 'xxxx', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('1969', 'xxxx', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x000000001194f9e8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:168: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x000000001190fb0b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1272: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaWeekYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192e04a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:11.037110 [ 670 ] {9d38497c-45b6-4f51-8b92-53e78423b27d} TCPHandler: Code: 41. DB::Exception: Value 1969 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('1969', 'xxxx', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x000000001194f9e8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:168: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x000000001190fb0b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1272: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaWeekYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192e04a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:11.049555 [ 670 ] {278331ec-e41b-4345-bb10-c41dbcf253d7} executeQuery: Code: 41. DB::Exception: Value 2107 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('2107', 'xxxx', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('2107', 'xxxx', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x000000001194f9e8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:168: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x000000001190fb0b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1272: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaWeekYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192e04a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:11.050695 [ 670 ] {278331ec-e41b-4345-bb10-c41dbcf253d7} TCPHandler: Code: 41. DB::Exception: Value 2107 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('2107', 'xxxx', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x000000001194f9e8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:168: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x000000001190fb0b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1272: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaWeekYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192e04a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:11.217197 [ 1125 ] {b0f470f4-4597-4b6d-b155-6b05f40db4e4} executeQuery: Code: 43. DB::Exception: Aggregate function quantilesGK requires accuracy parameter with integer type. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40924) (comment: 02661_quantile_approx.sql) (in query: select quantilesGK('abc', 0.5, 0.75)(number) from numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:97: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e898af in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>* std::construct_at[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*>(DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e894ea in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantilesGK, false, void, true>>>::construct[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantilesGK, false, void, true>>&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e892a9 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantilesGK, false, void, true>, std::allocator, DB::NameQuantilesGK, false, void, true>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantilesGK, false, void, true>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e88f8f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantilesGK, false, void, true>> std::allocate_shared[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::allocator, DB::NameQuantilesGK, false, void, true>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantilesGK, false, void, true>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e88e02 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantilesGK, false, void, true>> std::make_shared[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e7edae in /usr/bin/clickhouse 12. /build/src/AggregateFunctions/AggregateFunctionQuantileApprox.cpp:36: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014e027d3 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5079: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c935cad in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 28. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 2024.09.24 01:11:11.335541 [ 670 ] {8eaa9881-80a0-46d6-bca0-4fad455511a9} executeQuery: Code: 41. DB::Exception: Invalid date, out of range (year: 1900 month: 1 day_of_month: 1): While processing parseDateTimeInJodaSyntax('19', 'CC', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('19', 'CC', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x00000000119521e8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:411: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x0000000011912307 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:431: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x000000001190863d in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:580: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192afda in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:11.335542 [ 1125 ] {b0f470f4-4597-4b6d-b155-6b05f40db4e4} TCPHandler: Code: 43. DB::Exception: Aggregate function quantilesGK requires accuracy parameter with integer type. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:97: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e898af in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>* std::construct_at[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*>(DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e894ea in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantilesGK, false, void, true>>>::construct[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantilesGK, false, void, true>>&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e892a9 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantilesGK, false, void, true>, std::allocator, DB::NameQuantilesGK, false, void, true>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantilesGK, false, void, true>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e88f8f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantilesGK, false, void, true>> std::allocate_shared[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::allocator, DB::NameQuantilesGK, false, void, true>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantilesGK, false, void, true>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e88e02 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantilesGK, false, void, true>> std::make_shared[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e7edae in /usr/bin/clickhouse 12. /build/src/AggregateFunctions/AggregateFunctionQuantileApprox.cpp:36: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014e027d3 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5079: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c935cad in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 28. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 2024.09.24 01:11:11.336542 [ 670 ] {8eaa9881-80a0-46d6-bca0-4fad455511a9} TCPHandler: Code: 41. DB::Exception: Invalid date, out of range (year: 1900 month: 1 day_of_month: 1): While processing parseDateTimeInJodaSyntax('19', 'CC', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x00000000119521e8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:411: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x0000000011912307 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:431: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x000000001190863d in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:580: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192afda in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:11.346086 [ 1125 ] {38774ed4-4f13-4165-90a0-60e745c03e9d} executeQuery: Code: 43. DB::Exception: Aggregate function quantilesGK requires accuracy parameter with integer type. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40924) (comment: 02661_quantile_approx.sql) (in query: select quantilesGK(1.23, 0.5, 0.75)(number) from numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:97: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e898af in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>* std::construct_at[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*>(DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e894ea in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantilesGK, false, void, true>>>::construct[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantilesGK, false, void, true>>&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e892a9 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantilesGK, false, void, true>, std::allocator, DB::NameQuantilesGK, false, void, true>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantilesGK, false, void, true>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e88f8f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantilesGK, false, void, true>> std::allocate_shared[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::allocator, DB::NameQuantilesGK, false, void, true>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantilesGK, false, void, true>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e88e02 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantilesGK, false, void, true>> std::make_shared[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e7edae in /usr/bin/clickhouse 12. /build/src/AggregateFunctions/AggregateFunctionQuantileApprox.cpp:36: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014e027d3 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5079: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c935cad in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 28. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 2024.09.24 01:11:11.423071 [ 670 ] {417e47c2-bb86-4a30-b57f-a94834190166} executeQuery: Code: 41. DB::Exception: Value 22 for century must be in the range [19, 21]: While processing parseDateTimeInJodaSyntax('22', 'CC', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('22', 'CC', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001194edf3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:159: DB::(anonymous namespace)::DateTime::setCentury(int) @ 0x000000001190f227 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1256: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaCenturyOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192de40 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:11.423042 [ 1125 ] {38774ed4-4f13-4165-90a0-60e745c03e9d} TCPHandler: Code: 43. DB::Exception: Aggregate function quantilesGK requires accuracy parameter with integer type. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:97: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e898af in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>* std::construct_at[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*>(DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e894ea in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantilesGK, false, void, true>>>::construct[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantilesGK, false, void, true>>&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e892a9 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantilesGK, false, void, true>, std::allocator, DB::NameQuantilesGK, false, void, true>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantilesGK, false, void, true>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e88f8f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantilesGK, false, void, true>> std::allocate_shared[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::allocator, DB::NameQuantilesGK, false, void, true>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantilesGK, false, void, true>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e88e02 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantilesGK, false, void, true>> std::make_shared[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e7edae in /usr/bin/clickhouse 12. /build/src/AggregateFunctions/AggregateFunctionQuantileApprox.cpp:36: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014e027d3 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5079: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c935cad in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 28. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 2024.09.24 01:11:11.424142 [ 670 ] {417e47c2-bb86-4a30-b57f-a94834190166} TCPHandler: Code: 41. DB::Exception: Value 22 for century must be in the range [19, 21]: While processing parseDateTimeInJodaSyntax('22', 'CC', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001194edf3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:159: DB::(anonymous namespace)::DateTime::setCentury(int) @ 0x000000001190f227 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1256: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaCenturyOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192de40 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:11.565043 [ 1125 ] {f70a8435-4ce1-45ef-a7f9-31e8aed0b22b} executeQuery: Code: 36. DB::Exception: Aggregate function quantilesGK requires accuracy parameter with positive value but is -100. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40924) (comment: 02661_quantile_approx.sql) (in query: select quantilesGK(-100, 0.5, 0.75)(number) from numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, long&) @ 0x0000000014e050ec in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:106: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e89a73 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>* std::construct_at[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*>(DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e894ea in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantilesGK, false, void, true>>>::construct[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantilesGK, false, void, true>>&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e892a9 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantilesGK, false, void, true>, std::allocator, DB::NameQuantilesGK, false, void, true>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantilesGK, false, void, true>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e88f8f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantilesGK, false, void, true>> std::allocate_shared[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::allocator, DB::NameQuantilesGK, false, void, true>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantilesGK, false, void, true>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e88e02 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantilesGK, false, void, true>> std::make_shared[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e7edae in /usr/bin/clickhouse 12. /build/src/AggregateFunctions/AggregateFunctionQuantileApprox.cpp:36: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014e027d3 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5079: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c935cad in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 28. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 2024.09.24 01:11:11.657351 [ 1125 ] {f70a8435-4ce1-45ef-a7f9-31e8aed0b22b} TCPHandler: Code: 36. DB::Exception: Aggregate function quantilesGK requires accuracy parameter with positive value but is -100. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, long&) @ 0x0000000014e050ec in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:106: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e89a73 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>* std::construct_at[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*>(DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e894ea in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantilesGK, false, void, true>>>::construct[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantilesGK, false, void, true>>&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e892a9 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantilesGK, false, void, true>, std::allocator, DB::NameQuantilesGK, false, void, true>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantilesGK, false, void, true>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e88f8f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantilesGK, false, void, true>> std::allocate_shared[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::allocator, DB::NameQuantilesGK, false, void, true>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantilesGK, false, void, true>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e88e02 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantilesGK, false, void, true>> std::make_shared[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e7edae in /usr/bin/clickhouse 12. /build/src/AggregateFunctions/AggregateFunctionQuantileApprox.cpp:36: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014e027d3 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5079: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c935cad in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 28. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 2024.09.24 01:11:11.657413 [ 670 ] {fe952c2d-7d18-487d-bccc-8d55c3a3b765} executeQuery: Code: 41. DB::Exception: Value 0 for month of year must be in the range [1, 12]: While processing parseDateTimeInJodaSyntax('0', 'M', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('0', 'M', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001194edf3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:195: DB::(anonymous namespace)::DateTime::setMonth(int) @ 0x000000001190eb87 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1344: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMonthOfYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192e9e0 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:11.658363 [ 670 ] {fe952c2d-7d18-487d-bccc-8d55c3a3b765} TCPHandler: Code: 41. DB::Exception: Value 0 for month of year must be in the range [1, 12]: While processing parseDateTimeInJodaSyntax('0', 'M', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001194edf3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:195: DB::(anonymous namespace)::DateTime::setMonth(int) @ 0x000000001190eb87 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1344: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMonthOfYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192e9e0 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:11.668664 [ 670 ] {00dcd72e-960e-4a13-ab2c-fcfc0b742a40} executeQuery: Code: 41. DB::Exception: Value 13 for month of year must be in the range [1, 12]: While processing parseDateTimeInJodaSyntax('13', 'M', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('13', 'M', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001194edf3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:195: DB::(anonymous namespace)::DateTime::setMonth(int) @ 0x000000001190eb87 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1344: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMonthOfYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192e9e0 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:11.669506 [ 670 ] {00dcd72e-960e-4a13-ab2c-fcfc0b742a40} TCPHandler: Code: 41. DB::Exception: Value 13 for month of year must be in the range [1, 12]: While processing parseDateTimeInJodaSyntax('13', 'M', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001194edf3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:195: DB::(anonymous namespace)::DateTime::setMonth(int) @ 0x000000001190eb87 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1344: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMonthOfYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192e9e0 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:11.678780 [ 670 ] {19d67f58-4d14-45d7-b89a-2422114d65bb} executeQuery: Code: 41. DB::Exception: Invalid format input 12345 is malformed at 345: While processing parseDateTimeInJodaSyntax('12345', 'M', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('12345', 'M', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194d36c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192af55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:11:11.679751 [ 670 ] {19d67f58-4d14-45d7-b89a-2422114d65bb} TCPHandler: Code: 41. DB::Exception: Invalid format input 12345 is malformed at 345: While processing parseDateTimeInJodaSyntax('12345', 'M', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194d36c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192af55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:11:11.785177 [ 670 ] {777466ca-a655-44fe-a5cd-043ab6ca8038} executeQuery: Code: 41. DB::Exception: Invalid format input Decembr is malformed at embr: While processing parseDateTimeInJodaSyntax('Decembr', 'MMM', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: --- invalid month names select parseDateTimeInJodaSyntax('Decembr', 'MMM', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194d36c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192af55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:11:11.785968 [ 670 ] {777466ca-a655-44fe-a5cd-043ab6ca8038} TCPHandler: Code: 41. DB::Exception: Invalid format input Decembr is malformed at embr: While processing parseDateTimeInJodaSyntax('Decembr', 'MMM', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194d36c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192af55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:11:11.794113 [ 670 ] {ed91f147-9276-4838-889c-b2652377d515} executeQuery: Code: 41. DB::Exception: Invalid format input Decembr is malformed at embr: While processing parseDateTimeInJodaSyntax('Decembr', 'MMMM', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('Decembr', 'MMMM', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194d36c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192af55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:11:11.794892 [ 670 ] {ed91f147-9276-4838-889c-b2652377d515} TCPHandler: Code: 41. DB::Exception: Invalid format input Decembr is malformed at embr: While processing parseDateTimeInJodaSyntax('Decembr', 'MMMM', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194d36c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192af55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:11:11.803348 [ 670 ] {364cdafc-ae30-4063-b251-5c4dcb6c3f60} executeQuery: Code: 41. DB::Exception: Invalid format input Decemberary is malformed at ary: While processing parseDateTimeInJodaSyntax('Decemberary', 'MMM', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('Decemberary', 'MMM', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194d36c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192af55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:11:11.804305 [ 670 ] {364cdafc-ae30-4063-b251-5c4dcb6c3f60} TCPHandler: Code: 41. DB::Exception: Invalid format input Decemberary is malformed at ary: While processing parseDateTimeInJodaSyntax('Decemberary', 'MMM', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194d36c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192af55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:11:11.813081 [ 670 ] {e1504fda-1dad-4525-aeb8-3c167c5cee97} executeQuery: Code: 41. DB::Exception: Invalid format input Decemberary is malformed at ary: While processing parseDateTimeInJodaSyntax('Decemberary', 'MMMM', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('Decemberary', 'MMMM', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194d36c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192af55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:11:11.813856 [ 670 ] {e1504fda-1dad-4525-aeb8-3c167c5cee97} TCPHandler: Code: 41. DB::Exception: Invalid format input Decemberary is malformed at ary: While processing parseDateTimeInJodaSyntax('Decemberary', 'MMMM', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194d36c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192af55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:11:11.901099 [ 670 ] {b7bfe41b-d9a2-422d-a3eb-7a1e711d6a3f} executeQuery: Code: 41. DB::Exception: Unable to parse fragment MMM from asdf because of unknown month of year text: asd: While processing parseDateTimeInJodaSyntax('asdf', 'MMM', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('asdf', 'MMM', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, String&>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity::type>, String const&, std::basic_string_view>&&, String&) @ 0x000000001194d6a8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1354: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMonthOfYearText(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192ec68 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011931c48 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011931bdd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011931b41 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x0000000011931afa in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011931a95 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011931a55 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011931a15 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193199d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 17. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 2024.09.24 01:11:11.902100 [ 670 ] {b7bfe41b-d9a2-422d-a3eb-7a1e711d6a3f} TCPHandler: Code: 41. DB::Exception: Unable to parse fragment MMM from asdf because of unknown month of year text: asd: While processing parseDateTimeInJodaSyntax('asdf', 'MMM', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, String&>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity::type>, String const&, std::basic_string_view>&&, String&) @ 0x000000001194d6a8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1354: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMonthOfYearText(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192ec68 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011931c48 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011931bdd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011931b41 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x0000000011931afa in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011931a95 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011931a55 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011931a15 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193199d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 17. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 2024.09.24 01:11:11.912495 [ 670 ] {38a386bb-d3e4-4f58-8ca9-e6acc0b9cfa3} executeQuery: Code: 41. DB::Exception: Unable to parse fragment MMMM from asdf because of unknown month of year text: asd: While processing parseDateTimeInJodaSyntax('asdf', 'MMMM', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('asdf', 'MMMM', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, String&>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity::type>, String const&, std::basic_string_view>&&, String&) @ 0x000000001194d6a8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1354: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMonthOfYearText(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192ec68 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011931c48 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011931bdd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011931b41 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x0000000011931afa in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011931a95 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011931a55 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011931a15 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193199d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 17. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 2024.09.24 01:11:11.913437 [ 670 ] {38a386bb-d3e4-4f58-8ca9-e6acc0b9cfa3} TCPHandler: Code: 41. DB::Exception: Unable to parse fragment MMMM from asdf because of unknown month of year text: asd: While processing parseDateTimeInJodaSyntax('asdf', 'MMMM', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, String&>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity::type>, String const&, std::basic_string_view>&&, String&) @ 0x000000001194d6a8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1354: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMonthOfYearText(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192ec68 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011931c48 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011931bdd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011931b41 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x0000000011931afa in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011931a95 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011931a55 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011931a15 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193199d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 17. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 2024.09.24 01:11:12.060925 [ 670 ] {11054fbe-7e0d-49c7-ae6e-073459c7ec75} executeQuery: Code: 41. DB::Exception: Value 0 for day of month must be in the range [1, 31]: While processing parseDateTimeInJodaSyntax('0', 'd', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('0', 'd', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001194edf3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:240: DB::(anonymous namespace)::DateTime::setDayOfMonth(int) @ 0x000000001190f567 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1383: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaDayOfMonth(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192efec in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:12.204242 [ 1123 ] {c4b06a40-2096-49cc-a04c-3afded758b0f} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:48990) (in query: select _path, _file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:11:12.204376 [ 670 ] {11054fbe-7e0d-49c7-ae6e-073459c7ec75} TCPHandler: Code: 41. DB::Exception: Value 0 for day of month must be in the range [1, 31]: While processing parseDateTimeInJodaSyntax('0', 'd', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001194edf3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:240: DB::(anonymous namespace)::DateTime::setDayOfMonth(int) @ 0x000000001190f567 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1383: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaDayOfMonth(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192efec in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:12.205297 [ 1123 ] {c4b06a40-2096-49cc-a04c-3afded758b0f} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:11:12.216750 [ 670 ] {44def832-5d3b-42fa-bb21-6ee6257ba54f} executeQuery: Code: 41. DB::Exception: Value 32 for day of month must be in the range [1, 31]: While processing parseDateTimeInJodaSyntax('32', 'd', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('32', 'd', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001194edf3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:240: DB::(anonymous namespace)::DateTime::setDayOfMonth(int) @ 0x000000001190f567 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1383: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaDayOfMonth(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192efec in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:12.217821 [ 670 ] {44def832-5d3b-42fa-bb21-6ee6257ba54f} TCPHandler: Code: 41. DB::Exception: Value 32 for day of month must be in the range [1, 31]: While processing parseDateTimeInJodaSyntax('32', 'd', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001194edf3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:240: DB::(anonymous namespace)::DateTime::setDayOfMonth(int) @ 0x000000001190f567 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1383: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaDayOfMonth(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192efec in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:12.226732 [ 670 ] {e51dc28e-d8ff-493d-941e-4297aa93c68b} executeQuery: Code: 41. DB::Exception: Invalid format input 12345 is malformed at 345: While processing parseDateTimeInJodaSyntax('12345', 'd', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('12345', 'd', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194d36c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192af55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:11:12.227577 [ 670 ] {e51dc28e-d8ff-493d-941e-4297aa93c68b} TCPHandler: Code: 41. DB::Exception: Invalid format input 12345 is malformed at 345: While processing parseDateTimeInJodaSyntax('12345', 'd', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194d36c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192af55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:11:12.237078 [ 670 ] {3473a1f4-83af-47ec-9584-80773e918060} executeQuery: Code: 41. DB::Exception: Invalid date, out of range (year: 2000 month: 2 day_of_month: 31): While processing parseDateTimeInJodaSyntax('02-31', 'M-d', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('02-31', 'M-d', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x00000000119521e8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:411: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x0000000011912307 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:431: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x000000001190863d in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:580: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192afda in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:12.237894 [ 670 ] {3473a1f4-83af-47ec-9584-80773e918060} TCPHandler: Code: 41. DB::Exception: Invalid date, out of range (year: 2000 month: 2 day_of_month: 31): While processing parseDateTimeInJodaSyntax('02-31', 'M-d', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x00000000119521e8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:411: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x0000000011912307 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:431: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x000000001190863d in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:580: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192afda in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:12.250454 [ 670 ] {4a76c638-4917-402b-9283-1e03b564d631} executeQuery: Code: 41. DB::Exception: Invalid date, out of range (year: 2000 month: 4 day_of_month: 31): While processing parseDateTimeInJodaSyntax('04-31', 'M-d', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('04-31', 'M-d', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x00000000119521e8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:411: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x0000000011912307 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:431: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x000000001190863d in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:580: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192afda in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:12.251426 [ 670 ] {4a76c638-4917-402b-9283-1e03b564d631} TCPHandler: Code: 41. DB::Exception: Invalid date, out of range (year: 2000 month: 4 day_of_month: 31): While processing parseDateTimeInJodaSyntax('04-31', 'M-d', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x00000000119521e8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:411: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x0000000011912307 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:431: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x000000001190863d in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:580: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192afda in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:12.330696 [ 670 ] {b9c54d0a-736e-48fc-9df7-4b09e2bf3297} executeQuery: Code: 41. DB::Exception: Invalid date, out of range (year: 2001 month: 2 day_of_month: 29): While processing parseDateTimeInJodaSyntax('2001-02-29', 'YYYY-M-d', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('2001-02-29', 'YYYY-M-d', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x00000000119521e8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:411: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x0000000011912307 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:431: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x000000001190863d in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:580: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192afda in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:12.331706 [ 670 ] {b9c54d0a-736e-48fc-9df7-4b09e2bf3297} TCPHandler: Code: 41. DB::Exception: Invalid date, out of range (year: 2001 month: 2 day_of_month: 29): While processing parseDateTimeInJodaSyntax('2001-02-29', 'YYYY-M-d', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x00000000119521e8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:411: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x0000000011912307 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:431: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x000000001190863d in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:580: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192afda in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:12.713161 [ 670 ] {38a18abe-f85e-47b3-9b2f-309ec5bf6e10} executeQuery: Code: 41. DB::Exception: Invalid day of year, out of range (year: 1999 day of year: 366): While processing parseDateTimeInJodaSyntax('1999 366', 'yyyy D', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('1999 366', 'yyyy D', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, int&, int&) @ 0x0000000011951dcc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:401: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDayOfYear(int, int) @ 0x0000000011912203 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:429: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x0000000011908624 in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:580: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192afda in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:12.713952 [ 670 ] {38a18abe-f85e-47b3-9b2f-309ec5bf6e10} TCPHandler: Code: 41. DB::Exception: Invalid day of year, out of range (year: 1999 day of year: 366): While processing parseDateTimeInJodaSyntax('1999 366', 'yyyy D', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, int&, int&) @ 0x0000000011951dcc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:401: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDayOfYear(int, int) @ 0x0000000011912203 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:429: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x0000000011908624 in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:580: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192afda in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:12.739370 [ 670 ] {a5e00f81-ea13-4b7f-b113-cd280497c1fa} executeQuery: Code: 41. DB::Exception: Invalid day of year, out of range (year: 2001 day of year: 366): While processing parseDateTimeInJodaSyntax('2000 366 2001', 'yyyy D yyyy', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('2000 366 2001', 'yyyy D yyyy', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, int&, int&) @ 0x0000000011951dcc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:401: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDayOfYear(int, int) @ 0x0000000011912203 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:429: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x0000000011908624 in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:580: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192afda in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:12.740209 [ 670 ] {a5e00f81-ea13-4b7f-b113-cd280497c1fa} TCPHandler: Code: 41. DB::Exception: Invalid day of year, out of range (year: 2001 day of year: 366): While processing parseDateTimeInJodaSyntax('2000 366 2001', 'yyyy D yyyy', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, int&, int&) @ 0x0000000011951dcc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:401: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDayOfYear(int, int) @ 0x0000000011912203 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:429: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x0000000011908624 in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:580: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192afda in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:12.831973 [ 670 ] {ce97b500-95ba-4fb9-9506-c0c266e9ba62} executeQuery: Code: 41. DB::Exception: Value 0 for day of year must be in the range [1, 366]: While processing parseDateTimeInJodaSyntax('0', 'D', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('0', 'D', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001194edf3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:225: DB::(anonymous namespace)::DateTime::setDayOfYear(int) @ 0x00000000119108ca in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1336: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaDayOfYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192e8ec in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:12.832985 [ 670 ] {ce97b500-95ba-4fb9-9506-c0c266e9ba62} TCPHandler: Code: 41. DB::Exception: Value 0 for day of year must be in the range [1, 366]: While processing parseDateTimeInJodaSyntax('0', 'D', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001194edf3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:225: DB::(anonymous namespace)::DateTime::setDayOfYear(int) @ 0x00000000119108ca in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1336: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaDayOfYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192e8ec in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:12.843340 [ 670 ] {c87534ab-27a5-44d9-b09b-6cfb1d3cff40} executeQuery: Code: 41. DB::Exception: Value 367 for day of year must be in the range [1, 366]: While processing parseDateTimeInJodaSyntax('367', 'D', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('367', 'D', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001194edf3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:225: DB::(anonymous namespace)::DateTime::setDayOfYear(int) @ 0x00000000119108ca in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1336: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaDayOfYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192e8ec in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:12.844243 [ 670 ] {c87534ab-27a5-44d9-b09b-6cfb1d3cff40} TCPHandler: Code: 41. DB::Exception: Value 367 for day of year must be in the range [1, 366]: While processing parseDateTimeInJodaSyntax('367', 'D', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001194edf3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:225: DB::(anonymous namespace)::DateTime::setDayOfYear(int) @ 0x00000000119108ca in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1336: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaDayOfYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192e8ec in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:13.007392 [ 670 ] {afa59e5f-6fc3-4419-8cdb-8d87188c10a9} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [23, 0] if_hour_of_half_day=false and hour_starts_at_1=false: While processing parseDateTimeInJodaSyntax('24', 'H', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: --- invalid hour od day select parseDateTimeInJodaSyntax('24', 'H', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001195093a in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:307: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x0000000011911c06 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1418: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaHourOfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f430 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:13.008499 [ 670 ] {afa59e5f-6fc3-4419-8cdb-8d87188c10a9} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [23, 0] if_hour_of_half_day=false and hour_starts_at_1=false: While processing parseDateTimeInJodaSyntax('24', 'H', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001195093a in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:307: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x0000000011911c06 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1418: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaHourOfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f430 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:13.112409 [ 670 ] {27fd695a-00bb-40f4-87e8-6ab12a7926ed} executeQuery: Code: 41. DB::Exception: Unable to parse fragment H from -1 because read number failed: While processing parseDateTimeInJodaSyntax('-1', 'H', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('-1', 'H', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x00000000119527cc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1221: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x0000000011932ea8 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1416: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaHourOfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f41c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:13.113641 [ 670 ] {27fd695a-00bb-40f4-87e8-6ab12a7926ed} TCPHandler: Code: 41. DB::Exception: Unable to parse fragment H from -1 because read number failed: While processing parseDateTimeInJodaSyntax('-1', 'H', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x00000000119527cc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1221: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x0000000011932ea8 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1416: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaHourOfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f41c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:13.124439 [ 670 ] {aeca3ac4-561e-45e3-9aa0-ab624bd694b4} executeQuery: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTimeInJodaSyntax('123456789', 'H', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('123456789', 'H', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194d36c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192af55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:11:13.125268 [ 670 ] {aeca3ac4-561e-45e3-9aa0-ab624bd694b4} TCPHandler: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTimeInJodaSyntax('123456789', 'H', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194d36c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192af55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:11:13.314597 [ 670 ] {4562f868-a984-4f09-82ce-62ac95657442} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [24, 1] if_hour_of_half_day=false and hour_starts_at_1=true: While processing parseDateTimeInJodaSyntax('25', 'k', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: -- invalid clock hour of day select parseDateTimeInJodaSyntax('25', 'k', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001195093a in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:307: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x0000000011911c06 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1426: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaClockHourOfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f4d3 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:13.316075 [ 670 ] {4562f868-a984-4f09-82ce-62ac95657442} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [24, 1] if_hour_of_half_day=false and hour_starts_at_1=true: While processing parseDateTimeInJodaSyntax('25', 'k', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001195093a in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:307: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x0000000011911c06 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1426: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaClockHourOfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f4d3 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:13.326392 [ 670 ] {bcf56c43-4231-4216-a624-510016781a4e} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [24, 1] if_hour_of_half_day=false and hour_starts_at_1=true: While processing parseDateTimeInJodaSyntax('0', 'k', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('0', 'k', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001195093a in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:307: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x0000000011911c06 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1426: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaClockHourOfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f4d3 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:13.327449 [ 670 ] {bcf56c43-4231-4216-a624-510016781a4e} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [24, 1] if_hour_of_half_day=false and hour_starts_at_1=true: While processing parseDateTimeInJodaSyntax('0', 'k', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001195093a in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:307: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x0000000011911c06 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1426: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaClockHourOfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f4d3 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:13.338660 [ 670 ] {3699991e-482c-4ac9-962b-235de707ed77} executeQuery: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTimeInJodaSyntax('123456789', 'k', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('123456789', 'k', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194d36c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192af55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:11:13.339923 [ 670 ] {3699991e-482c-4ac9-962b-235de707ed77} TCPHandler: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTimeInJodaSyntax('123456789', 'k', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194d36c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192af55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:11:13.525223 [ 670 ] {a326e0d6-a9b9-4ac4-a2e9-4872496aa4b0} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [11, 0] if_hour_of_half_day=true and hour_starts_at_1=false: While processing parseDateTimeInJodaSyntax('12', 'K', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: -- invalid hour of half day select parseDateTimeInJodaSyntax('12', 'K', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001195093a in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:307: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x0000000011911c06 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1402: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaHourOfHalfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f273 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:13.526530 [ 670 ] {a326e0d6-a9b9-4ac4-a2e9-4872496aa4b0} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [11, 0] if_hour_of_half_day=true and hour_starts_at_1=false: While processing parseDateTimeInJodaSyntax('12', 'K', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001195093a in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:307: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x0000000011911c06 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1402: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaHourOfHalfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f273 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:13.642962 [ 670 ] {6900520b-bee7-4a91-91ef-f5f53f658f4f} executeQuery: Code: 41. DB::Exception: Unable to parse fragment K from -1 because read number failed: While processing parseDateTimeInJodaSyntax('-1', 'K', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('-1', 'K', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x00000000119527cc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1221: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x0000000011932ea8 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1400: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaHourOfHalfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f25c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:13.644512 [ 670 ] {6900520b-bee7-4a91-91ef-f5f53f658f4f} TCPHandler: Code: 41. DB::Exception: Unable to parse fragment K from -1 because read number failed: While processing parseDateTimeInJodaSyntax('-1', 'K', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x00000000119527cc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1221: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x0000000011932ea8 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1400: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaHourOfHalfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f25c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:13.655414 [ 670 ] {07b5d27d-3736-4030-9861-86220da52fd9} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [11, 0] if_hour_of_half_day=true and hour_starts_at_1=false: While processing parseDateTimeInJodaSyntax('123456789', 'K', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('123456789', 'K', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001195093a in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:307: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x0000000011911c06 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1402: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaHourOfHalfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f273 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:13.656467 [ 670 ] {07b5d27d-3736-4030-9861-86220da52fd9} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [11, 0] if_hour_of_half_day=true and hour_starts_at_1=false: While processing parseDateTimeInJodaSyntax('123456789', 'K', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001195093a in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:307: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x0000000011911c06 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1402: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaHourOfHalfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f273 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:13.841740 [ 670 ] {b91e7f4b-f94c-4e73-b5c3-5d183cfef705} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTimeInJodaSyntax('13', 'h', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: -- invalid clock hour of half day select parseDateTimeInJodaSyntax('13', 'h', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001195093a in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:307: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x0000000011911c06 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1410: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaClockHourOfHalfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f393 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:13.843023 [ 670 ] {b91e7f4b-f94c-4e73-b5c3-5d183cfef705} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTimeInJodaSyntax('13', 'h', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001195093a in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:307: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x0000000011911c06 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1410: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaClockHourOfHalfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f393 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:13.853019 [ 670 ] {81d95326-df06-4d19-be8f-88d8722e6a44} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTimeInJodaSyntax('0', 'h', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('0', 'h', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001195093a in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:307: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x0000000011911c06 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1410: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaClockHourOfHalfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f393 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:13.853993 [ 670 ] {81d95326-df06-4d19-be8f-88d8722e6a44} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTimeInJodaSyntax('0', 'h', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001195093a in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:307: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x0000000011911c06 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1410: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaClockHourOfHalfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f393 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:13.864067 [ 670 ] {00ae1a62-6b1d-4afa-819f-2072045e600a} executeQuery: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTimeInJodaSyntax('123456789', 'h', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('123456789', 'h', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194d36c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192af55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:11:13.864884 [ 670 ] {00ae1a62-6b1d-4afa-819f-2072045e600a} TCPHandler: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTimeInJodaSyntax('123456789', 'h', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194d36c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192af55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:11:14.565345 [ 670 ] {d8128870-b40d-4f24-afec-4c0143223e28} executeQuery: Code: 41. DB::Exception: Value 60 for minute must be in the range [0, 59]: While processing parseDateTimeInJodaSyntax('60', 'm', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('60', 'm', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001194edf3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:324: DB::(anonymous namespace)::DateTime::setMinute(int) @ 0x00000000119116c7 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1434: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMinuteOfHour(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f56c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:14.566312 [ 670 ] {d8128870-b40d-4f24-afec-4c0143223e28} TCPHandler: Code: 41. DB::Exception: Value 60 for minute must be in the range [0, 59]: While processing parseDateTimeInJodaSyntax('60', 'm', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001194edf3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:324: DB::(anonymous namespace)::DateTime::setMinute(int) @ 0x00000000119116c7 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1434: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMinuteOfHour(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f56c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:14.653339 [ 670 ] {f69f97da-8ebf-45ce-9c4d-ebd2c9489d88} executeQuery: Code: 41. DB::Exception: Unable to parse fragment m from -1 because read number failed: While processing parseDateTimeInJodaSyntax('-1', 'm', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('-1', 'm', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x00000000119527cc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1221: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x0000000011932ea8 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1432: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMinuteOfHour(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f55c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:14.654418 [ 670 ] {f69f97da-8ebf-45ce-9c4d-ebd2c9489d88} TCPHandler: Code: 41. DB::Exception: Unable to parse fragment m from -1 because read number failed: While processing parseDateTimeInJodaSyntax('-1', 'm', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x00000000119527cc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1221: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x0000000011932ea8 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1432: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMinuteOfHour(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f55c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:14.663510 [ 670 ] {6599f938-bb6d-48ea-b084-b114376923d1} executeQuery: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTimeInJodaSyntax('123456789', 'm', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('123456789', 'm', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194d36c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192af55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:11:14.664511 [ 670 ] {6599f938-bb6d-48ea-b084-b114376923d1} TCPHandler: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTimeInJodaSyntax('123456789', 'm', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194d36c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192af55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:11:14.787920 [ 670 ] {0e47207c-08b9-4e2d-b91e-50e791a2c893} executeQuery: Code: 41. DB::Exception: Value 60 for second must be in the range [0, 59]: While processing parseDateTimeInJodaSyntax('60', 's', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('60', 's', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001194edf3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:332: DB::(anonymous namespace)::DateTime::setSecond(int) @ 0x0000000011911d07 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1442: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaSecondOfMinute(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f60c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:14.789025 [ 670 ] {0e47207c-08b9-4e2d-b91e-50e791a2c893} TCPHandler: Code: 41. DB::Exception: Value 60 for second must be in the range [0, 59]: While processing parseDateTimeInJodaSyntax('60', 's', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001194edf3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:332: DB::(anonymous namespace)::DateTime::setSecond(int) @ 0x0000000011911d07 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1442: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaSecondOfMinute(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f60c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:14.876567 [ 670 ] {fffefd64-9f9a-40ba-a42e-72c80abe8d87} executeQuery: Code: 41. DB::Exception: Unable to parse fragment s from -1 because read number failed: While processing parseDateTimeInJodaSyntax('-1', 's', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('-1', 's', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x00000000119527cc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1221: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x0000000011932ea8 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1440: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaSecondOfMinute(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f5fc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:14.877680 [ 670 ] {fffefd64-9f9a-40ba-a42e-72c80abe8d87} TCPHandler: Code: 41. DB::Exception: Unable to parse fragment s from -1 because read number failed: While processing parseDateTimeInJodaSyntax('-1', 's', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x00000000119527cc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1221: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x0000000011932ea8 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1440: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaSecondOfMinute(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f5fc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:14.886532 [ 670 ] {f2298372-95f6-4388-b204-2d3cab167cdd} executeQuery: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTimeInJodaSyntax('123456789', 's', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('123456789', 's', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194d36c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192af55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:11:14.887363 [ 670 ] {f2298372-95f6-4388-b204-2d3cab167cdd} TCPHandler: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTimeInJodaSyntax('123456789', 's', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194d36c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192af55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:11:14.975952 [ 670 ] {e86836db-d9db-4066-bd4c-fd721980d44a} executeQuery: Code: 41. DB::Exception: Unable to parse fragment CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC from because max_digits_to_read is too big: While processing parseDateTimeInJodaSyntax('19191919191919191919191919191919', 'CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: -- integer overflow in AST Fuzzer select parseDateTimeInJodaSyntax('19191919191919191919191919191919', 'CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x00000000119527cc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1170: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x0000000011932b17 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1254: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaCenturyOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192de30 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:14.977031 [ 670 ] {e86836db-d9db-4066-bd4c-fd721980d44a} TCPHandler: Code: 41. DB::Exception: Unable to parse fragment CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC from because max_digits_to_read is too big: While processing parseDateTimeInJodaSyntax('19191919191919191919191919191919', 'CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x00000000119527cc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1170: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x0000000011932b17 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1254: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaCenturyOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192de30 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932826 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119327bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932721 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119326da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932675 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011932635 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119325f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193259d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934fbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011934f55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192c4b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001192ad89 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:11:15.188126 [ 670 ] {6854915a-0268-4d8b-8c26-8457ff1b97b6} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function parseDateTimeInJodaSyntax provided 1 (String), expected 2 to 3 ('time' : String, 'format' : String, ['timezone' : const String]): While processing parseDateTimeInJodaSyntax('12 AM'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: -- Error handling select parseDateTimeInJodaSyntax('12 AM');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001abfde7d in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abfbdc5 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:497: DB::(anonymous namespace)::FunctionParseDateTimeImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000001192b446 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:11:15.189126 [ 670 ] {6854915a-0268-4d8b-8c26-8457ff1b97b6} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function parseDateTimeInJodaSyntax provided 1 (String), expected 2 to 3 ('time' : String, 'format' : String, ['timezone' : const String]): While processing parseDateTimeInJodaSyntax('12 AM'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001abfde7d in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abfbdc5 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:497: DB::(anonymous namespace)::FunctionParseDateTimeImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000001192b446 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:11:15.197576 [ 670 ] {b5c6157d-365a-4dd2-84d9-da9e76194f33} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function parseDateTimeInJodaSyntax provided 4 (String, String, String, String), expected 2 to 3 ('time' : String, 'format' : String, ['timezone' : const String]): While processing parseDateTimeInJodaSyntax('12 AM', 'h a', 'UTC', 'a fourth argument'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40922) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('12 AM', 'h a', 'UTC', 'a fourth argument');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001abfde7d in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abfbdc5 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:497: DB::(anonymous namespace)::FunctionParseDateTimeImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000001192b446 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:11:15.198426 [ 670 ] {b5c6157d-365a-4dd2-84d9-da9e76194f33} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function parseDateTimeInJodaSyntax provided 4 (String, String, String, String), expected 2 to 3 ('time' : String, 'format' : String, ['timezone' : const String]): While processing parseDateTimeInJodaSyntax('12 AM', 'h a', 'UTC', 'a fourth argument'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001abfde7d in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abfbdc5 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:497: DB::(anonymous namespace)::FunctionParseDateTimeImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000001192b446 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:11:17.178806 [ 1123 ] {c999ecda-5991-4f91-8a00-7bcf481f2c6e} executeQuery: Code: 42. DB::Exception: Number of arguments for function generateRandomStructure doesn't match: passed 3, expected from 0 to 2: While processing generateRandomStructure(5, 42, 42). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:49036) (comment: 02586_generate_random_structure.sql) (in query: select generateRandomStructure(5, 42, 42);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b232e2c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionGenerateRandomStructure.cpp:360: DB::FunctionGenerateRandomStructure::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b8fab06 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:11:17.179853 [ 1123 ] {c999ecda-5991-4f91-8a00-7bcf481f2c6e} TCPHandler: Code: 42. DB::Exception: Number of arguments for function generateRandomStructure doesn't match: passed 3, expected from 0 to 2: While processing generateRandomStructure(5, 42, 42). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b232e2c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionGenerateRandomStructure.cpp:360: DB::FunctionGenerateRandomStructure::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b8fab06 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:11:17.306326 [ 1123 ] {0a5d3fc6-358f-4b99-ad2a-45e8db2432ee} executeQuery: Code: 43. DB::Exception: Illegal type String of the 1 argument of function generateRandomStructure, expected unsigned integer or Null: While processing generateRandomStructure('5'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:49036) (comment: 02586_generate_random_structure.sql) (in query: select generateRandomStructure('5');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0x000000000b8fe428 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionGenerateRandomStructure.cpp:370: DB::FunctionGenerateRandomStructure::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b8facd5 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:11:17.307379 [ 1123 ] {0a5d3fc6-358f-4b99-ad2a-45e8db2432ee} TCPHandler: Code: 43. DB::Exception: Illegal type String of the 1 argument of function generateRandomStructure, expected unsigned integer or Null: While processing generateRandomStructure('5'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0x000000000b8fe428 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionGenerateRandomStructure.cpp:370: DB::FunctionGenerateRandomStructure::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b8facd5 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:11:17.315076 [ 1123 ] {88b3e306-e4bb-47c4-bfe5-3b1b13065713} executeQuery: Code: 43. DB::Exception: Illegal type String of the 2 argument of function generateRandomStructure, expected unsigned integer or Null: While processing generateRandomStructure(5, '42'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:49036) (comment: 02586_generate_random_structure.sql) (in query: select generateRandomStructure(5, '42');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0x000000000b8fe428 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionGenerateRandomStructure.cpp:370: DB::FunctionGenerateRandomStructure::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b8facd5 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:11:17.316062 [ 1123 ] {88b3e306-e4bb-47c4-bfe5-3b1b13065713} TCPHandler: Code: 43. DB::Exception: Illegal type String of the 2 argument of function generateRandomStructure, expected unsigned integer or Null: While processing generateRandomStructure(5, '42'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0x000000000b8fe428 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionGenerateRandomStructure.cpp:370: DB::FunctionGenerateRandomStructure::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b8facd5 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:11:17.491086 [ 1123 ] {86e7d79f-759e-4e21-a44c-1d778830506d} executeQuery: Code: 44. DB::Exception: Argument at index 0 for function generateRandomStructure must be constant. (ILLEGAL_COLUMN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:49036) (comment: 02586_generate_random_structure.sql) (in query: select generateRandomStructure(materialize(5), 42);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000b5e130c in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:124: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abecce5 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:11:17.491832 [ 1123 ] {86e7d79f-759e-4e21-a44c-1d778830506d} TCPHandler: Code: 44. DB::Exception: Argument at index 0 for function generateRandomStructure must be constant. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000b5e130c in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:124: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abecce5 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:11:17.503411 [ 1123 ] {3c5b3adc-1243-44c4-aec2-1969a421822d} executeQuery: Code: 44. DB::Exception: Argument at index 1 for function generateRandomStructure must be constant. (ILLEGAL_COLUMN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:49036) (comment: 02586_generate_random_structure.sql) (in query: select generateRandomStructure(5, materialize(42));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000b5e130c in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:124: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abecce5 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:11:17.504455 [ 1123 ] {3c5b3adc-1243-44c4-aec2-1969a421822d} TCPHandler: Code: 44. DB::Exception: Argument at index 1 for function generateRandomStructure must be constant. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000b5e130c in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:124: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abecce5 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:11:17.971080 [ 1123 ] {a2494df7-73e0-4c71-80a9-5b2f616013b2} executeQuery: Code: 42. DB::Exception: Table function 'generateRandom' requires at most four (or three if structure is missing) arguments: [structure, random_seed, max_string_length, max_array_length]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:49036) (comment: 02586_generate_random_structure.sql) (in query: select * from generateRandom(10000000, 2, 2, 2) limit 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionGenerateRandom.cpp:49: DB::TableFunctionGenerateRandom::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a98b10b in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:11:17.972123 [ 1123 ] {a2494df7-73e0-4c71-80a9-5b2f616013b2} TCPHandler: Code: 42. DB::Exception: Table function 'generateRandom' requires at most four (or three if structure is missing) arguments: [structure, random_seed, max_string_length, max_array_length]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionGenerateRandom.cpp:49: DB::TableFunctionGenerateRandom::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a98b10b in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:11:22.042671 [ 1272 ] {794c5898-ff02-4cd4-b099-e242f07392a3} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(id, 42) :: 2) -> throwIf(equals(id, 42)) UInt8 : 1': while pushing to view test_rjl29h2w.async_insert_mv (e87998fa-a2ab-4c00-adb7-82134c0b6dce). (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 23.8.16.41.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 02790_async_queries_in_query_log.sh) (in query: INSERT INTO test_rjl29h2w.async_insert_landing SETTINGS wait_for_async_insert = 1, async_insert = 1 FORMAT Values), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000012603446 in /usr/bin/clickhouse 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000126021fd in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f6dbe in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:634: DB::ExecutingInnerQueryFromViewTransform::onGenerate() @ 0x000000001ece50e3 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:164: DB::ExceptionKeepingTransform::work()::$_2::operator()() const @ 0x000000001ebc97e1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_2&) @ 0x000000001ebc97b5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_2&) @ 0x000000001ebc9795 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc9775 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc973d in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 31. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:164: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc8982 in /usr/bin/clickhouse 2024.09.24 01:11:22.045829 [ 1272 ] {} AsynchronousInsertQueue: Failed insertion for query 'INSERT INTO test_rjl29h2w.async_insert_landing SETTINGS wait_for_async_insert = 1, async_insert = 1 FORMAT Values': Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(id, 42) :: 2) -> throwIf(equals(id, 42)) UInt8 : 1': while pushing to view test_rjl29h2w.async_insert_mv (e87998fa-a2ab-4c00-adb7-82134c0b6dce). (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000012603446 in /usr/bin/clickhouse 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000126021fd in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f6dbe in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:634: DB::ExecutingInnerQueryFromViewTransform::onGenerate() @ 0x000000001ece50e3 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:164: DB::ExceptionKeepingTransform::work()::$_2::operator()() const @ 0x000000001ebc97e1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_2&) @ 0x000000001ebc97b5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_2&) @ 0x000000001ebc9795 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc9775 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc973d in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 31. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:164: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc8982 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:11:22.048612 [ 2934 ] {yjmkihgroz} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(id, 42) :: 2) -> throwIf(equals(id, 42)) UInt8 : 1': while pushing to view test_rjl29h2w.async_insert_mv (e87998fa-a2ab-4c00-adb7-82134c0b6dce): While executing WaitForAsyncInsert. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:49004) (comment: 02790_async_queries_in_query_log.sh) (in query: INSERT INTO async_insert_landing SETTINGS wait_for_async_insert=1, async_insert=1 values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000012603446 in /usr/bin/clickhouse 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000126021fd in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f6dbe in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:634: DB::ExecutingInnerQueryFromViewTransform::onGenerate() @ 0x000000001ece50e3 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:164: DB::ExceptionKeepingTransform::work()::$_2::operator()() const @ 0x000000001ebc97e1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_2&) @ 0x000000001ebc97b5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_2&) @ 0x000000001ebc9795 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc9775 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc973d in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 31. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:164: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc8982 in /usr/bin/clickhouse 2024.09.24 01:11:22.051276 [ 2934 ] {yjmkihgroz} TCPHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(id, 42) :: 2) -> throwIf(equals(id, 42)) UInt8 : 1': while pushing to view test_rjl29h2w.async_insert_mv (e87998fa-a2ab-4c00-adb7-82134c0b6dce): While executing WaitForAsyncInsert. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000012603446 in /usr/bin/clickhouse 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000126021fd in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f6dbe in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:634: DB::ExecutingInnerQueryFromViewTransform::onGenerate() @ 0x000000001ece50e3 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:164: DB::ExceptionKeepingTransform::work()::$_2::operator()() const @ 0x000000001ebc97e1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_2&) @ 0x000000001ebc97b5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_2&) @ 0x000000001ebc9795 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc9775 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc973d in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 31. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:164: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc8982 in /usr/bin/clickhouse 2024.09.24 01:11:22.677739 [ 1123 ] {110c4611-b648-4840-9f13-066d8314c5b5} executeQuery: Code: 36. DB::Exception: Primary key cannot be updated (cannot update column key). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36992) (comment: 02577_keepermap_delete_update.sql) (in query: ALTER TABLE 02577_keepermap_delete_update UPDATE key = key * 10 WHERE 1 = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Storages/StorageKeeperMap.cpp:930: DB::StorageKeeperMap::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000001d719be4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:179: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d5f9a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:11:22.678548 [ 1123 ] {110c4611-b648-4840-9f13-066d8314c5b5} TCPHandler: Code: 36. DB::Exception: Primary key cannot be updated (cannot update column key). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Storages/StorageKeeperMap.cpp:930: DB::StorageKeeperMap::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000001d719be4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:179: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d5f9a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:11:22.965239 [ 1123 ] {2a76eeed-0877-4d0d-b62f-5a42f3368709} executeQuery: Code: 36. DB::Exception: Mutations with ON CLUSTER are not allowed for KeeperMap tables. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36992) (comment: 02577_keepermap_delete_update.sql) (in query: ALTER TABLE 02577_keepermap_delete_update ON CLUSTER test_shard_localhost UPDATE value2 = value2 * 10 + 2 WHERE value2 < 100;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [63]) @ 0x000000000bae0a5e in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterAlterQuery.cpp:90: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d478a in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:11:22.968588 [ 1123 ] {2a76eeed-0877-4d0d-b62f-5a42f3368709} TCPHandler: Code: 36. DB::Exception: Mutations with ON CLUSTER are not allowed for KeeperMap tables. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [63]) @ 0x000000000bae0a5e in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterAlterQuery.cpp:90: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d478a in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:11:29.952996 [ 3550 ] {b0db2c17-7b36-49af-a5a5-91924ce5eb5b} executeQuery: Code: 36. DB::Exception: 'ntile' argument type must be an unsigned integer (not larger than 64-bit), got Float64. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:37126) (comment: 02560_window_ntile.sql) (in query: -- Bad arguments select a, b, ntile(3.0) over (partition by a order by b) from(select intDiv(number,10) as a, number%10 as b from numbers(20));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:1965: DB::WindowFunctionNtile::WindowFunctionNtile(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccf40b in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::WindowFunctionNtile* std::construct_at[abi:v15000], std::allocator>> const&, DB::Array const&, DB::WindowFunctionNtile*>(DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccf0f4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>> const&, DB::Array const&, void, void>(std::allocator&, DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001ecceeb1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001ecceb97 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccea0a in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>> const&, DB::Array const&, void>(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001ecce996 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/WindowTransform.cpp:2464: DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ecc046d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000], std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x000000001ecc0418 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x000000001ecc0395 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x000000001ecc0335 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000001ecc02dd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:791: DB::ExpressionAnalyzer::makeWindowDescriptions(std::shared_ptr) @ 0x000000001bfaf622 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2015: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb88 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 2024.09.24 01:11:29.955540 [ 3550 ] {b0db2c17-7b36-49af-a5a5-91924ce5eb5b} TCPHandler: Code: 36. DB::Exception: 'ntile' argument type must be an unsigned integer (not larger than 64-bit), got Float64. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:1965: DB::WindowFunctionNtile::WindowFunctionNtile(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccf40b in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::WindowFunctionNtile* std::construct_at[abi:v15000], std::allocator>> const&, DB::Array const&, DB::WindowFunctionNtile*>(DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccf0f4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>> const&, DB::Array const&, void, void>(std::allocator&, DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001ecceeb1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001ecceb97 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccea0a in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>> const&, DB::Array const&, void>(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001ecce996 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/WindowTransform.cpp:2464: DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ecc046d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000], std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x000000001ecc0418 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x000000001ecc0395 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x000000001ecc0335 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000001ecc02dd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:791: DB::ExpressionAnalyzer::makeWindowDescriptions(std::shared_ptr) @ 0x000000001bfaf622 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2015: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb88 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 2024.09.24 01:11:29.973732 [ 3550 ] {908c4841-e72a-40de-b464-8123dcf7c3f3} executeQuery: Code: 36. DB::Exception: 'ntile' argument type must be an unsigned integer (not larger than 64-bit), got String. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:37126) (comment: 02560_window_ntile.sql) (in query: select a, b, ntile('2') over (partition by a order by b) from(select intDiv(number,10) as a, number%10 as b from numbers(20));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:1965: DB::WindowFunctionNtile::WindowFunctionNtile(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccf40b in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::WindowFunctionNtile* std::construct_at[abi:v15000], std::allocator>> const&, DB::Array const&, DB::WindowFunctionNtile*>(DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccf0f4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>> const&, DB::Array const&, void, void>(std::allocator&, DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001ecceeb1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001ecceb97 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccea0a in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>> const&, DB::Array const&, void>(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001ecce996 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/WindowTransform.cpp:2464: DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ecc046d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000], std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x000000001ecc0418 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x000000001ecc0395 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x000000001ecc0335 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000001ecc02dd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:791: DB::ExpressionAnalyzer::makeWindowDescriptions(std::shared_ptr) @ 0x000000001bfaf622 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2015: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb88 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 2024.09.24 01:11:29.974637 [ 3550 ] {908c4841-e72a-40de-b464-8123dcf7c3f3} TCPHandler: Code: 36. DB::Exception: 'ntile' argument type must be an unsigned integer (not larger than 64-bit), got String. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:1965: DB::WindowFunctionNtile::WindowFunctionNtile(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccf40b in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::WindowFunctionNtile* std::construct_at[abi:v15000], std::allocator>> const&, DB::Array const&, DB::WindowFunctionNtile*>(DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccf0f4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>> const&, DB::Array const&, void, void>(std::allocator&, DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001ecceeb1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001ecceb97 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccea0a in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>> const&, DB::Array const&, void>(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001ecce996 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/WindowTransform.cpp:2464: DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ecc046d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000], std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x000000001ecc0418 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x000000001ecc0395 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x000000001ecc0335 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000001ecc02dd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:791: DB::ExpressionAnalyzer::makeWindowDescriptions(std::shared_ptr) @ 0x000000001bfaf622 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2015: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb88 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 2024.09.24 01:11:30.177962 [ 3550 ] {58867e94-3fc6-461e-8246-185ce3cce78b} executeQuery: Code: 36. DB::Exception: Argument of 'ntile' funtcion must be greater than zero. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:37126) (comment: 02560_window_ntile.sql) (in query: select a, b, ntile(0) over (partition by a order by b) from(select intDiv(number,10) as a, number%10 as b from numbers(20));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [55]) @ 0x000000000c15ae3e in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2001: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001eccf9b5 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::writeOutCurrentRow() @ 0x000000001ecb989c in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:1157: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001ecba275 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1382: DB::WindowTransform::work() @ 0x000000001ecbe2e1 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 2024.09.24 01:11:30.179708 [ 3550 ] {58867e94-3fc6-461e-8246-185ce3cce78b} TCPHandler: Code: 36. DB::Exception: Argument of 'ntile' funtcion must be greater than zero. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [55]) @ 0x000000000c15ae3e in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2001: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001eccf9b5 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::writeOutCurrentRow() @ 0x000000001ecb989c in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:1157: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001ecba275 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1382: DB::WindowTransform::work() @ 0x000000001ecbe2e1 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 2024.09.24 01:11:30.204797 [ 3550 ] {d673ca98-6842-4e64-97e8-798120235afc} executeQuery: Code: 36. DB::Exception: 'ntile' argument type must be an unsigned integer (not larger than 64-bit), got Int8. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:37126) (comment: 02560_window_ntile.sql) (in query: select a, b, ntile(-2) over (partition by a order by b) from(select intDiv(number,10) as a, number%10 as b from numbers(20));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:1965: DB::WindowFunctionNtile::WindowFunctionNtile(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccf40b in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::WindowFunctionNtile* std::construct_at[abi:v15000], std::allocator>> const&, DB::Array const&, DB::WindowFunctionNtile*>(DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccf0f4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>> const&, DB::Array const&, void, void>(std::allocator&, DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001ecceeb1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001ecceb97 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccea0a in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>> const&, DB::Array const&, void>(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001ecce996 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/WindowTransform.cpp:2464: DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ecc046d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000], std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x000000001ecc0418 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x000000001ecc0395 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x000000001ecc0335 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000001ecc02dd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:791: DB::ExpressionAnalyzer::makeWindowDescriptions(std::shared_ptr) @ 0x000000001bfaf622 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2015: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb88 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 2024.09.24 01:11:30.206234 [ 3550 ] {d673ca98-6842-4e64-97e8-798120235afc} TCPHandler: Code: 36. DB::Exception: 'ntile' argument type must be an unsigned integer (not larger than 64-bit), got Int8. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:1965: DB::WindowFunctionNtile::WindowFunctionNtile(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccf40b in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::WindowFunctionNtile* std::construct_at[abi:v15000], std::allocator>> const&, DB::Array const&, DB::WindowFunctionNtile*>(DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccf0f4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>> const&, DB::Array const&, void, void>(std::allocator&, DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001ecceeb1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001ecceb97 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccea0a in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>> const&, DB::Array const&, void>(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001ecce996 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/WindowTransform.cpp:2464: DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ecc046d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000], std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x000000001ecc0418 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x000000001ecc0395 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x000000001ecc0335 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000001ecc02dd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:791: DB::ExpressionAnalyzer::makeWindowDescriptions(std::shared_ptr) @ 0x000000001bfaf622 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2015: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb88 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 2024.09.24 01:11:30.406524 [ 3550 ] {8748247f-16c3-4eb5-8fc1-95566353ad98} executeQuery: Code: 36. DB::Exception: Argument of 'ntile' function must be a constant. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:37126) (comment: 02560_window_ntile.sql) (in query: select a, b, ntile(b + 1) over (partition by a order by b) from(select intDiv(number,10) as a, number%10 as b from numbers(20));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [48]) @ 0x000000000b9147fe in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:1988: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001eccf6da in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::writeOutCurrentRow() @ 0x000000001ecb989c in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:1157: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001ecba275 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1382: DB::WindowTransform::work() @ 0x000000001ecbe2e1 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 2024.09.24 01:11:30.408573 [ 3550 ] {8748247f-16c3-4eb5-8fc1-95566353ad98} TCPHandler: Code: 36. DB::Exception: Argument of 'ntile' function must be a constant. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [48]) @ 0x000000000b9147fe in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:1988: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001eccf6da in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::writeOutCurrentRow() @ 0x000000001ecb989c in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:1157: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001ecba275 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1382: DB::WindowTransform::work() @ 0x000000001ecbe2e1 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 2024.09.24 01:11:30.594219 [ 3550 ] {524a66cf-c028-4b78-a50b-c1dcb2767afe} executeQuery: Code: 36. DB::Exception: Window frame for 'ntile' function must have ORDER BY clause. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:37126) (comment: 02560_window_ntile.sql) (in query: -- Bad window type select a, b, ntile(2) over (partition by a) from(select intDiv(number,10) as a, number%10 as b from numbers(20));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [60]) @ 0x000000000b19cbfe in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2079: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x000000001ecd0096 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1984: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001eccf636 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::writeOutCurrentRow() @ 0x000000001ecb989c in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1157: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001ecba275 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1382: DB::WindowTransform::work() @ 0x000000001ecbe2e1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 2024.09.24 01:11:30.595916 [ 3550 ] {524a66cf-c028-4b78-a50b-c1dcb2767afe} TCPHandler: Code: 36. DB::Exception: Window frame for 'ntile' function must have ORDER BY clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [60]) @ 0x000000000b19cbfe in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2079: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x000000001ecd0096 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1984: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001eccf636 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::writeOutCurrentRow() @ 0x000000001ecb989c in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1157: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001ecba275 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1382: DB::WindowTransform::work() @ 0x000000001ecbe2e1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 2024.09.24 01:11:30.814664 [ 3550 ] {1d902882-2368-4f00-bad9-ff7587e52aed} executeQuery: Code: 36. DB::Exception: Window frame for function 'ntile' should be 'ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING'. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:37126) (comment: 02560_window_ntile.sql) (in query: select a, b, ntile(2) over (partition by a order by b rows between 4 preceding and unbounded following) from(select intDiv(number,10) as a, number%10 as b from numbers(20));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [103]) @ 0x000000001c7fac1e in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2088: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x000000001ecd0132 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1984: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001eccf636 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::writeOutCurrentRow() @ 0x000000001ecb989c in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1157: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001ecba275 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1382: DB::WindowTransform::work() @ 0x000000001ecbe2e1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 2024.09.24 01:11:30.816739 [ 3550 ] {1d902882-2368-4f00-bad9-ff7587e52aed} TCPHandler: Code: 36. DB::Exception: Window frame for function 'ntile' should be 'ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [103]) @ 0x000000001c7fac1e in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2088: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x000000001ecd0132 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1984: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001eccf636 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::writeOutCurrentRow() @ 0x000000001ecb989c in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1157: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001ecba275 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1382: DB::WindowTransform::work() @ 0x000000001ecbe2e1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 2024.09.24 01:11:30.857564 [ 3550 ] {6bf0b5a0-d171-467e-9701-6578bdbe6f72} executeQuery: Code: 36. DB::Exception: Window frame for function 'ntile' should be 'ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING'. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:37126) (comment: 02560_window_ntile.sql) (in query: select a, b, ntile(2) over (partition by a order by b rows between unbounded preceding and 4 following) from(select intDiv(number,10) as a, number%10 as b from numbers(20));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [103]) @ 0x000000001c7fac1e in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2088: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x000000001ecd0132 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1984: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001eccf636 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::writeOutCurrentRow() @ 0x000000001ecb989c in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1157: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001ecba275 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1382: DB::WindowTransform::work() @ 0x000000001ecbe2e1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 2024.09.24 01:11:30.859588 [ 3550 ] {6bf0b5a0-d171-467e-9701-6578bdbe6f72} TCPHandler: Code: 36. DB::Exception: Window frame for function 'ntile' should be 'ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [103]) @ 0x000000001c7fac1e in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2088: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x000000001ecd0132 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1984: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001eccf636 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::writeOutCurrentRow() @ 0x000000001ecb989c in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1157: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001ecba275 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1382: DB::WindowTransform::work() @ 0x000000001ecbe2e1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 2024.09.24 01:11:30.899729 [ 3550 ] {4fc3ca62-bbe2-47dd-a380-90f8824389fa} executeQuery: Code: 36. DB::Exception: Window frame for function 'ntile' should be 'ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING'. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:37126) (comment: 02560_window_ntile.sql) (in query: select a, b, ntile(2) over (partition by a order by b rows between 4 preceding and 4 following) from(select intDiv(number,10) as a, number%10 as b from numbers(20));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [103]) @ 0x000000001c7fac1e in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2088: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x000000001ecd0132 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1984: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001eccf636 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::writeOutCurrentRow() @ 0x000000001ecb989c in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1157: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001ecba275 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1382: DB::WindowTransform::work() @ 0x000000001ecbe2e1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 2024.09.24 01:11:30.901598 [ 3550 ] {4fc3ca62-bbe2-47dd-a380-90f8824389fa} TCPHandler: Code: 36. DB::Exception: Window frame for function 'ntile' should be 'ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [103]) @ 0x000000001c7fac1e in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2088: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x000000001ecd0132 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1984: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001eccf636 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::writeOutCurrentRow() @ 0x000000001ecb989c in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1157: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001ecba275 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1382: DB::WindowTransform::work() @ 0x000000001ecbe2e1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 2024.09.24 01:11:30.941259 [ 3550 ] {30d20006-97f6-4fa6-90e1-f545a430e1a7} executeQuery: Code: 36. DB::Exception: Window frame for function 'ntile' should be 'ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING'. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:37126) (comment: 02560_window_ntile.sql) (in query: select a, b, ntile(2) over (partition by a order by b rows between current row and 4 following) from(select intDiv(number,10) as a, number%10 as b from numbers(20));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [103]) @ 0x000000001c7fac1e in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2088: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x000000001ecd0132 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1984: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001eccf636 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::writeOutCurrentRow() @ 0x000000001ecb989c in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1157: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001ecba275 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1382: DB::WindowTransform::work() @ 0x000000001ecbe2e1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 2024.09.24 01:11:30.943262 [ 3550 ] {30d20006-97f6-4fa6-90e1-f545a430e1a7} TCPHandler: Code: 36. DB::Exception: Window frame for function 'ntile' should be 'ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [103]) @ 0x000000001c7fac1e in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2088: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x000000001ecd0132 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1984: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001eccf636 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::writeOutCurrentRow() @ 0x000000001ecb989c in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1157: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001ecba275 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1382: DB::WindowTransform::work() @ 0x000000001ecbe2e1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 2024.09.24 01:11:30.983337 [ 3550 ] {390aa216-67aa-419c-bb1e-69fe396fca26} executeQuery: Code: 36. DB::Exception: Window frame for function 'ntile' should be 'ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING'. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:37126) (comment: 02560_window_ntile.sql) (in query: select a, b, ntile(2) over (partition by a order by b range unbounded preceding) from(select intDiv(number,10) as a, number%10 as b from numbers(20));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [103]) @ 0x000000001c7fac1e in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2088: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x000000001ecd0132 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1984: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001eccf636 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::writeOutCurrentRow() @ 0x000000001ecb989c in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1157: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001ecba275 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1382: DB::WindowTransform::work() @ 0x000000001ecbe2e1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 2024.09.24 01:11:30.985827 [ 3550 ] {390aa216-67aa-419c-bb1e-69fe396fca26} TCPHandler: Code: 36. DB::Exception: Window frame for function 'ntile' should be 'ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [103]) @ 0x000000001c7fac1e in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2088: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x000000001ecd0132 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1984: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001eccf636 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::writeOutCurrentRow() @ 0x000000001ecb989c in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1157: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001ecba275 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1382: DB::WindowTransform::work() @ 0x000000001ecbe2e1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 2024.09.24 01:11:32.833244 [ 1125 ] {089f7c59-529d-4104-a983-94c94d92ecd5} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:50580) (comment: 02560_regexp_denial_of_service.sql) (in query: -- test that the check which rejects hyperscan regexes with too big bounded repeats works -- {n} SELECT multiMatchAny('test', ['.{51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:32.834537 [ 1125 ] {089f7c59-529d-4104-a983-94c94d92ecd5} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:32.849522 [ 1125 ] {88500d0e-8e6d-4b1c-864b-d8c31f3cbee9} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{ 51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:50580) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{ 51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:32.850915 [ 1125 ] {88500d0e-8e6d-4b1c-864b-d8c31f3cbee9} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{ 51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:32.865923 [ 1125 ] {6765da43-7010-408c-b1f4-c891560e9c5f} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51 }']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:50580) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{51 }']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:32.867230 [ 1125 ] {6765da43-7010-408c-b1f4-c891560e9c5f} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51 }']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:32.881176 [ 1125 ] {ad35f478-4d6e-48cb-9ee5-e09503c03be8} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['prefix.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:50580) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['prefix.{51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:32.882681 [ 1125 ] {ad35f478-4d6e-48cb-9ee5-e09503c03be8} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['prefix.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:32.897572 [ 1125 ] {e481afee-1ee0-495d-8664-d54490e89429} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51}.suffix']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:50580) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{51}.suffix']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:32.898866 [ 1125 ] {e481afee-1ee0-495d-8664-d54490e89429} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51}.suffix']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:32.913876 [ 1125 ] {1384b794-8305-4352-bcd0-5e75b959de06} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{4,4}midfix{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:50580) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{4,4}midfix{51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:32.915179 [ 1125 ] {1384b794-8305-4352-bcd0-5e75b959de06} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{4,4}midfix{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:32.929522 [ 1125 ] {275824e1-9bdc-4dad-9671-e48fcfc5c813} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51,}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:50580) (comment: 02560_regexp_denial_of_service.sql) (in query: -- {n,} SELECT multiMatchAny('test', ['.{51,}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:32.930796 [ 1125 ] {275824e1-9bdc-4dad-9671-e48fcfc5c813} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51,}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:32.945244 [ 1125 ] {87ff2f18-3aa6-4f25-ac62-bcbdf4e437c9} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{ 51,}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:50580) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{ 51,}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:32.946493 [ 1125 ] {87ff2f18-3aa6-4f25-ac62-bcbdf4e437c9} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{ 51,}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:32.958218 [ 1125 ] {edfd5248-50b2-40d1-91ab-1d480ea26e85} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51 ,}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:50580) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{51 ,}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:32.959117 [ 1125 ] {edfd5248-50b2-40d1-91ab-1d480ea26e85} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51 ,}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:32.969969 [ 1125 ] {f1810b5e-c15d-494e-8835-b07e31e24b42} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51, }']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:50580) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{51, }']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:32.970866 [ 1125 ] {f1810b5e-c15d-494e-8835-b07e31e24b42} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51, }']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:32.981948 [ 1125 ] {d9df8440-430e-4762-ba17-55c8c70ddaee} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['prefix.{51,}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:50580) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['prefix.{51,}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:32.982857 [ 1125 ] {d9df8440-430e-4762-ba17-55c8c70ddaee} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['prefix.{51,}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:32.994301 [ 1125 ] {b0628209-62bc-4098-8f63-cdfa4b2b37b6} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51,}.suffix']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:50580) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{51,}.suffix']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:32.995239 [ 1125 ] {b0628209-62bc-4098-8f63-cdfa4b2b37b6} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51,}.suffix']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:33.006692 [ 1125 ] {538c59d3-204b-4fb8-bdf5-406f718ad075} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{4,4}midfix{51,}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:50580) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{4,4}midfix{51,}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:33.007611 [ 1125 ] {538c59d3-204b-4fb8-bdf5-406f718ad075} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{4,4}midfix{51,}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:33.019130 [ 1125 ] {0c8f87bb-695b-41cf-989d-8c064ab39729} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{1,51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:50580) (comment: 02560_regexp_denial_of_service.sql) (in query: -- {n,m} SELECT multiMatchAny('test', ['.{1,51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:33.020079 [ 1125 ] {0c8f87bb-695b-41cf-989d-8c064ab39729} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{1,51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:33.031419 [ 1125 ] {1611bcc6-a5ad-4481-8bde-283010ad8f5d} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51,52}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:50580) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{51,52}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:33.032324 [ 1125 ] {1611bcc6-a5ad-4481-8bde-283010ad8f5d} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51,52}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:33.043926 [ 1125 ] {8ea7e49e-767e-43c3-948a-d83ed9422850} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{ 51,52}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:50580) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{ 51,52}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:33.045049 [ 1125 ] {8ea7e49e-767e-43c3-948a-d83ed9422850} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{ 51,52}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:33.057372 [ 1125 ] {f8bfdfff-3850-4675-b863-b653045ddc14} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51 ,52}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:50580) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{51 ,52}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:33.058552 [ 1125 ] {f8bfdfff-3850-4675-b863-b653045ddc14} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51 ,52}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:33.072521 [ 1125 ] {8a293759-c7ee-4adb-b5f5-e52460168ad8} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51, 52}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:50580) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{51, 52}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:33.073724 [ 1125 ] {8a293759-c7ee-4adb-b5f5-e52460168ad8} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51, 52}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:33.086504 [ 1125 ] {2c50b852-b10a-4a7f-a6f5-e483a22ec8ef} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51,52 }']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:50580) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{51,52 }']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:33.087608 [ 1125 ] {2c50b852-b10a-4a7f-a6f5-e483a22ec8ef} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51,52 }']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:33.099384 [ 1125 ] {782395b2-5eef-41de-9420-c5e8e269270d} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['prefix.{1,51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:50580) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['prefix.{1,51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:33.100288 [ 1125 ] {782395b2-5eef-41de-9420-c5e8e269270d} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['prefix.{1,51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:33.110333 [ 1125 ] {5a862c32-1ffa-4f17-bc48-56a09eb04740} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{1,51}.suffix']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:50580) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{1,51}.suffix']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:33.111197 [ 1125 ] {5a862c32-1ffa-4f17-bc48-56a09eb04740} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{1,51}.suffix']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:33.123165 [ 1125 ] {5a75ee59-c0bd-46e5-892e-f37b328b6d97} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{4,4}midfix{1,51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:50580) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{4,4}midfix{1,51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:33.124269 [ 1125 ] {5a75ee59-c0bd-46e5-892e-f37b328b6d97} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{4,4}midfix{1,51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:33.485946 [ 1125 ] {0ca5f1ca-442f-4302-8d7d-dab74177d75d} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('Hallo Welt', ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:50580) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('Hallo Welt', ['.{51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:33.487220 [ 1125 ] {0ca5f1ca-442f-4302-8d7d-dab74177d75d} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('Hallo Welt', ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111574de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011156701 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011156077 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:33.671907 [ 1125 ] {404adf7f-f45d-4d00-b18e-139122edc760} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:50580) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny(c, ['.{51}']) FROM t;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:101: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111569d9 in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:72: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x00000000111565da in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:108: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011155f28 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 17. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 2024.09.24 01:11:33.672839 [ 1125 ] {404adf7f-f45d-4d00-b18e-139122edc760} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:101: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111569d9 in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:72: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x00000000111565da in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:108: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011155f28 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 17. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 2024.09.24 01:11:33.817244 [ 1125 ] {5bd3a155-d5e1-4dbe-8b88-feb546bd2940} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAnyIndex('Hallo Welt', ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:50580) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAnyIndex('Hallo Welt', ['.{51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001115c124 in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x000000001115b341 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001115acb7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:33.818493 [ 1125 ] {5bd3a155-d5e1-4dbe-8b88-feb546bd2940} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAnyIndex('Hallo Welt', ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001115c124 in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x000000001115b341 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001115acb7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:33.989465 [ 1125 ] {3fec9330-c901-43b6-8528-71a6ae90a1cd} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:50580) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAnyIndex(c, ['.{51}']) FROM t;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:101: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001115b619 in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:72: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x000000001115b21a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:108: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001115ab68 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 17. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 2024.09.24 01:11:33.990500 [ 1125 ] {3fec9330-c901-43b6-8528-71a6ae90a1cd} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:101: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001115b619 in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:72: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x000000001115b21a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:108: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001115ab68 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 17. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 2024.09.24 01:11:34.138272 [ 1125 ] {9b8c57d5-8895-4d87-abd1-889e59197f43} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAllIndices('Hallo Welt', ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:50580) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAllIndices('Hallo Welt', ['.{51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAllIndicesImpl.h:216: DB::MultiMatchAllIndicesImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111527be in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAllIndicesImpl.h:166: DB::MultiMatchAllIndicesImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x00000000111519a1 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000111512d7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:34.139769 [ 1125 ] {9b8c57d5-8895-4d87-abd1-889e59197f43} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAllIndices('Hallo Welt', ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAllIndicesImpl.h:216: DB::MultiMatchAllIndicesImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111527be in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAllIndicesImpl.h:166: DB::MultiMatchAllIndicesImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x00000000111519a1 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000111512d7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:11:34.309911 [ 1125 ] {fc2e2409-ca2c-49ec-b9ae-8cb2ce65fca9} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:50580) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAllIndices(c, ['.{51}']) FROM t;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAllIndicesImpl.h:87: DB::MultiMatchAllIndicesImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x0000000011151c79 in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAllIndicesImpl.h:58: DB::MultiMatchAllIndicesImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x000000001115187a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:108: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011151188 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 17. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 2024.09.24 01:11:34.310766 [ 1125 ] {fc2e2409-ca2c-49ec-b9ae-8cb2ce65fca9} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAllIndicesImpl.h:87: DB::MultiMatchAllIndicesImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x0000000011151c79 in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAllIndicesImpl.h:58: DB::MultiMatchAllIndicesImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x000000001115187a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:108: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011151188 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 17. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 2024.09.24 01:11:34.441179 [ 1125 ] {fba41ccc-2d46-4494-9e36-c2985cb458b2} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiFuzzyMatchAny('Hallo Welt', 1, ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:50580) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiFuzzyMatchAny('Hallo Welt', 1, ['.{51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001113d8fe in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001113c58c in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 2024.09.24 01:11:34.442291 [ 1125 ] {fba41ccc-2d46-4494-9e36-c2985cb458b2} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiFuzzyMatchAny('Hallo Welt', 1, ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001113d8fe in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001113c58c in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 2024.09.24 01:11:34.645560 [ 1125 ] {75adccfa-2eb7-47d5-b9a4-7804d4f211b9} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:50580) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiFuzzyMatchAny(c, 1, ['.{51}']) FROM t;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:101: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001113ce99 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:111: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001113c3f5 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:11:34.646357 [ 1125 ] {75adccfa-2eb7-47d5-b9a4-7804d4f211b9} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:101: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001113ce99 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:111: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001113c3f5 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:11:34.790346 [ 1125 ] {a7bcbd46-f553-49b9-9660-92354d8b3a7e} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiFuzzyMatchAnyIndex('Hallo Welt', 1, ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:50580) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiFuzzyMatchAnyIndex('Hallo Welt', 1, ['.{51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x0000000011142984 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001114160c in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 2024.09.24 01:11:34.791623 [ 1125 ] {a7bcbd46-f553-49b9-9660-92354d8b3a7e} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiFuzzyMatchAnyIndex('Hallo Welt', 1, ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x0000000011142984 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001114160c in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 2024.09.24 01:11:35.007347 [ 1125 ] {1e15090e-c1b0-46ca-b511-0e1672f2ef49} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:50580) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiFuzzyMatchAnyIndex(c, 1, ['.{51}']) FROM t;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:101: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x0000000011141f19 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:111: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011141475 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:11:35.009218 [ 1125 ] {1e15090e-c1b0-46ca-b511-0e1672f2ef49} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:101: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x0000000011141f19 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:111: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011141475 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:11:35.193661 [ 1125 ] {b02426be-6e42-47fc-98e4-22743f3fdf09} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiFuzzyMatchAllIndices('Hallo Welt', 1, ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:50580) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiFuzzyMatchAllIndices('Hallo Welt', 1, ['.{51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAllIndicesImpl.h:216: DB::MultiMatchAllIndicesImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001112e69e in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001112d28c in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 2024.09.24 01:11:35.195068 [ 1125 ] {b02426be-6e42-47fc-98e4-22743f3fdf09} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiFuzzyMatchAllIndices('Hallo Welt', 1, ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAllIndicesImpl.h:216: DB::MultiMatchAllIndicesImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001112e69e in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001112d28c in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 2024.09.24 01:11:35.377891 [ 1125 ] {99978a32-4651-42f0-af73-ae114682e1b6} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:50580) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiFuzzyMatchAllIndices(c, 1, ['.{51}']) FROM t;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAllIndicesImpl.h:87: DB::MultiMatchAllIndicesImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001112dbf9 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:111: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001112d0f5 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:11:35.378788 [ 1125 ] {99978a32-4651-42f0-af73-ae114682e1b6} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112f33e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAllIndicesImpl.h:87: DB::MultiMatchAllIndicesImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001112dbf9 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:111: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001112d0f5 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:11:37.334340 [ 1125 ] {e922dcea-da83-48e9-9fd6-3fdac5d98eef} executeQuery: Code: 184. DB::Exception: Window function count(NULL) OVER (ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) is found in GROUP BY in query. (ILLEGAL_AGGREGATION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:50628) (comment: 02552_analyzer_optimize_group_by_function_keys_crash.sql) (in query: SELECT NULL GROUP BY tuple('0.0000000007'), count(NULL) OVER (ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) -- { serverError 184 }; ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x000000000d9ec76c in /usr/bin/clickhouse 6. /build/src/Analyzer/WindowFunctionsUtils.cpp:43: DB::(anonymous namespace)::CollectWindowFunctionNodeVisitor::visitImpl(std::shared_ptr const&) @ 0x000000001c9a1481 in /usr/bin/clickhouse 7. /build/src/Analyzer/InDepthQueryTreeVisitor.h:61: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001c9a0fd6 in /usr/bin/clickhouse 8. /build/src/Analyzer/InDepthQueryTreeVisitor.h:78: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x000000001c9a1362 in /usr/bin/clickhouse 9. /build/src/Analyzer/InDepthQueryTreeVisitor.h:63: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001c9a0ff3 in /usr/bin/clickhouse 10. /build/src/Analyzer/WindowFunctionsUtils.cpp:102: DB::assertNoWindowFunctionNodes(std::shared_ptr const&, String const&) @ 0x000000001c9a11c9 in /usr/bin/clickhouse 11. /build/src/Analyzer/ValidationUtils.cpp:196: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001c999f1a in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7140: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91c45c in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:11:37.335399 [ 1125 ] {e922dcea-da83-48e9-9fd6-3fdac5d98eef} TCPHandler: Code: 184. DB::Exception: Window function count(NULL) OVER (ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) is found in GROUP BY in query. (ILLEGAL_AGGREGATION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x000000000d9ec76c in /usr/bin/clickhouse 6. /build/src/Analyzer/WindowFunctionsUtils.cpp:43: DB::(anonymous namespace)::CollectWindowFunctionNodeVisitor::visitImpl(std::shared_ptr const&) @ 0x000000001c9a1481 in /usr/bin/clickhouse 7. /build/src/Analyzer/InDepthQueryTreeVisitor.h:61: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001c9a0fd6 in /usr/bin/clickhouse 8. /build/src/Analyzer/InDepthQueryTreeVisitor.h:78: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x000000001c9a1362 in /usr/bin/clickhouse 9. /build/src/Analyzer/InDepthQueryTreeVisitor.h:63: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001c9a0ff3 in /usr/bin/clickhouse 10. /build/src/Analyzer/WindowFunctionsUtils.cpp:102: DB::assertNoWindowFunctionNodes(std::shared_ptr const&, String const&) @ 0x000000001c9a11c9 in /usr/bin/clickhouse 11. /build/src/Analyzer/ValidationUtils.cpp:196: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001c999f1a in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7140: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91c45c in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:11:55.424420 [ 2931 ] {} ServerErrorHandler: Code: 101. DB::NetException: Unexpected packet from client (expected Hello, got 22). (UNEXPECTED_PACKET_FROM_CLIENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000001e65aa53 in /usr/bin/clickhouse 6. /build/src/Server/TCPHandler.cpp:1301: DB::TCPHandler::receiveHello() @ 0x000000001e648974 in /usr/bin/clickhouse 7. /build/src/Server/TCPHandler.cpp:247: DB::TCPHandler::runImpl() @ 0x000000001e640eb6 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 9. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 11. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 14. ? @ 0x00007f1d281b3ac3 in ? 15. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:11:55.426006 [ 2931 ] {} ServerErrorHandler: Code: 101. DB::NetException: Unexpected packet from client (expected Hello, got 22). (UNEXPECTED_PACKET_FROM_CLIENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000001e65aa53 in /usr/bin/clickhouse 6. /build/src/Server/TCPHandler.cpp:1301: DB::TCPHandler::receiveHello() @ 0x000000001e648974 in /usr/bin/clickhouse 7. /build/src/Server/TCPHandler.cpp:247: DB::TCPHandler::runImpl() @ 0x000000001e640eb6 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 9. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 11. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 14. ? @ 0x00007f1d281b3ac3 in ? 15. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:11:59.315705 [ 2931 ] {} Access(user directories): from: ::1, user: MySQL: Authentication failed: Code: 192. DB::Exception: There is no user `MySQL` in local_directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f7bec in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:682: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x000000001b0f62f9 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f93fd in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f91af in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b183f89 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x000000001b0f90fa in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb30cc in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf9049 in /usr/bin/clickhouse 13. /build/src/Interpreters/Session.cpp:333: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf8529 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:1362: DB::TCPHandler::receiveHello() @ 0x000000001e64a0ff in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:247: DB::TCPHandler::runImpl() @ 0x000000001e640eb6 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:11:59.403321 [ 2931 ] {} ServerErrorHandler: Code: 516. DB::Exception: MySQL: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb34a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf9049 in /usr/bin/clickhouse 8. /build/src/Interpreters/Session.cpp:333: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf8529 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1362: DB::TCPHandler::receiveHello() @ 0x000000001e64a0ff in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:247: DB::TCPHandler::runImpl() @ 0x000000001e640eb6 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:12:03.036546 [ 2931 ] {} Access(user directories): from: ::1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f983e in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:751: DB::IAccessStorage::throwInvalidCredentials() @ 0x000000001b0f9671 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:535: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f939d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f91af in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b183f89 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x000000001b0f90fa in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb30cc in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf9049 in /usr/bin/clickhouse 13. /build/src/Interpreters/Session.cpp:333: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf8529 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:1362: DB::TCPHandler::receiveHello() @ 0x000000001e64a0ff in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:247: DB::TCPHandler::runImpl() @ 0x000000001e640eb6 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:12:03.037860 [ 2931 ] {} ServerErrorHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb34a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf9049 in /usr/bin/clickhouse 8. /build/src/Interpreters/Session.cpp:333: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf8529 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1362: DB::TCPHandler::receiveHello() @ 0x000000001e64a0ff in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:247: DB::TCPHandler::runImpl() @ 0x000000001e640eb6 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:12:03.822262 [ 2931 ] {8455de69-2a0d-4ab3-acda-7aa64440f603} executeQuery: Code: 44. DB::Exception: Illegal column Const(Array(UInt32)) of argument of function concat: while executing 'FUNCTION concat(x :: 0, [1048577]_Array(UInt32) :: 1, ''_String :: 2) -> concat(x, [1048577]_Array(UInt32), ''_String) String : 3'. (ILLEGAL_COLUMN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53290) (comment: 02521_analyzer_array_join_crash.sql) (in query: SELECT arrayFilter(x -> notEmpty(concat(x)), [NULL, NULL]) FROM system.one ARRAY JOIN [1048577] AS elem, arrayMap(x -> concat(x, elem, ''), ['']) AS unused;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/concat.cpp:148: DB::(anonymous namespace)::ConcatImpl::executeFormatImpl(std::vector> const&, unsigned long) const @ 0x000000000d9146dd in /usr/bin/clickhouse 7. /build/src/Functions/concat.cpp:0: DB::(anonymous namespace)::ConcatImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d913a7a in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionActions.cpp:780: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x000000001bf8506e in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsMiscellaneous.h:48: DB::ExecutableFunctionExpression::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001bd10fe6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 20. /build/src/Columns/ColumnFunction.cpp:310: DB::ColumnFunction::reduce() const @ 0x000000001d325188 in /usr/bin/clickhouse 21. /build/src/Functions/array/FunctionArrayMapped.h:376: DB::FunctionArrayMapped::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012916405 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 23. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 30. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&>(DB::DataStream const&, std::shared_ptr&) @ 0x000000001ac12f11 in /usr/bin/clickhouse 2024.09.24 01:12:03.957020 [ 1123 ] {26648b0a-ea58-497b-a4f6-96b77e1f275e} executeQuery: Code: 36. DB::Exception: groupArrayLast make sense only with max_elems (groupArrayLast(max_elems)()). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53294) (comment: 02520_group_array_last.sql) (in query: -- { echo } -- BAD_ARGUMENTS select groupArrayLast(number+1) from numbers(5);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [76]) @ 0x000000001395efbe in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionGroupArray.cpp:89: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionGroupArray(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000001454ffd2 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:12:03.956992 [ 2931 ] {8455de69-2a0d-4ab3-acda-7aa64440f603} TCPHandler: Code: 44. DB::Exception: Illegal column Const(Array(UInt32)) of argument of function concat: while executing 'FUNCTION concat(x :: 0, [1048577]_Array(UInt32) :: 1, ''_String :: 2) -> concat(x, [1048577]_Array(UInt32), ''_String) String : 3'. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/concat.cpp:148: DB::(anonymous namespace)::ConcatImpl::executeFormatImpl(std::vector> const&, unsigned long) const @ 0x000000000d9146dd in /usr/bin/clickhouse 7. /build/src/Functions/concat.cpp:0: DB::(anonymous namespace)::ConcatImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d913a7a in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionActions.cpp:780: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x000000001bf8506e in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsMiscellaneous.h:48: DB::ExecutableFunctionExpression::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001bd10fe6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 20. /build/src/Columns/ColumnFunction.cpp:310: DB::ColumnFunction::reduce() const @ 0x000000001d325188 in /usr/bin/clickhouse 21. /build/src/Functions/array/FunctionArrayMapped.h:376: DB::FunctionArrayMapped::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012916405 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 23. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 30. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&>(DB::DataStream const&, std::shared_ptr&) @ 0x000000001ac12f11 in /usr/bin/clickhouse 2024.09.24 01:12:03.958082 [ 1123 ] {26648b0a-ea58-497b-a4f6-96b77e1f275e} TCPHandler: Code: 36. DB::Exception: groupArrayLast make sense only with max_elems (groupArrayLast(max_elems)()). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [76]) @ 0x000000001395efbe in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionGroupArray.cpp:89: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionGroupArray(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000001454ffd2 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:12:04.089942 [ 1123 ] {bd02527c-eaa5-40bb-98a5-3b740e15ded6} executeQuery: Code: 36. DB::Exception: groupArrayLast make sense only with max_elems (groupArrayLast(max_elems)()). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53294) (comment: 02520_group_array_last.sql) (in query: select groupArrayLastArray([number+1]) from numbers(5);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [76]) @ 0x000000001395efbe in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionGroupArray.cpp:89: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionGroupArray(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000001454ffd2 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:199: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0373e in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 2024.09.24 01:12:04.093865 [ 1123 ] {bd02527c-eaa5-40bb-98a5-3b740e15ded6} TCPHandler: Code: 36. DB::Exception: groupArrayLast make sense only with max_elems (groupArrayLast(max_elems)()). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [76]) @ 0x000000001395efbe in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionGroupArray.cpp:89: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionGroupArray(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000001454ffd2 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:199: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0373e in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 2024.09.24 01:12:06.126809 [ 2930 ] {1116ef92-01ee-435d-8656-d63876f28280} executeQuery: Code: 36. DB::Exception: DELETE query is not supported for table test_ujgrz3nx.kekv. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53370) (comment: 02518_delete_on_materialized_view.sql) (in query: DELETE FROM kekv WHERE a = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterDeleteQuery.cpp:109: DB::InterpreterDeleteQuery::execute() @ 0x000000001ca712ee in /usr/bin/clickhouse 7. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 16. ? @ 0x00007f1d281b3ac3 in ? 17. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:06.127507 [ 2930 ] {1116ef92-01ee-435d-8656-d63876f28280} TCPHandler: Code: 36. DB::Exception: DELETE query is not supported for table test_ujgrz3nx.kekv. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterDeleteQuery.cpp:109: DB::InterpreterDeleteQuery::execute() @ 0x000000001ca712ee in /usr/bin/clickhouse 7. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 16. ? @ 0x00007f1d281b3ac3 in ? 17. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:06.133992 [ 2930 ] {66be96e3-0854-4cdb-9f34-d0480f5f1f8c} executeQuery: Code: 36. DB::Exception: DELETE query is not supported for table test_ujgrz3nx.kekv. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53370) (comment: 02518_delete_on_materialized_view.sql) (in query: DELETE FROM kekv WHERE a = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterDeleteQuery.cpp:109: DB::InterpreterDeleteQuery::execute() @ 0x000000001ca712ee in /usr/bin/clickhouse 7. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 16. ? @ 0x00007f1d281b3ac3 in ? 17. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:06.134805 [ 2930 ] {66be96e3-0854-4cdb-9f34-d0480f5f1f8c} TCPHandler: Code: 36. DB::Exception: DELETE query is not supported for table test_ujgrz3nx.kekv. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterDeleteQuery.cpp:109: DB::InterpreterDeleteQuery::execute() @ 0x000000001ca712ee in /usr/bin/clickhouse 7. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 16. ? @ 0x00007f1d281b3ac3 in ? 17. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:10.584830 [ 2934 ] {e34e8a01-f6e6-4d42-858a-c3bc7d9bc5a6} executeQuery: Code: 36. DB::Exception: index_granularity: value 0 makes no sense. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53494) (comment: 02514_bad_index_granularity.sql) (in query: CREATE TABLE t (`id` Int64, `d` String, `p` Map(String, String)) ENGINE = ReplacingMergeTree ORDER BY id SETTINGS index_granularity = 0, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 15630, prefer_fetch_merged_part_size_threshold = 3922254861, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 80, min_merge_bytes_to_use_direct_io = 8753964077, index_granularity_bytes = 25075616, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 63544, primary_key_compress_block_size = 54986), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x000000001bdf2053 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeSettings.cpp:159: DB::MergeTreeSettings::sanityCheck(unsigned long) const @ 0x000000001e15903f in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:367: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de60e98 in /usr/bin/clickhouse 8. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35ecd3 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e89a in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e595 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e223 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e035 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35c61b in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35a85f in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 21. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 2024.09.24 01:12:10.585870 [ 2934 ] {e34e8a01-f6e6-4d42-858a-c3bc7d9bc5a6} TCPHandler: Code: 36. DB::Exception: index_granularity: value 0 makes no sense. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x000000001bdf2053 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeSettings.cpp:159: DB::MergeTreeSettings::sanityCheck(unsigned long) const @ 0x000000001e15903f in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:367: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de60e98 in /usr/bin/clickhouse 8. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35ecd3 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e89a in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e595 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e223 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e035 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35c61b in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35a85f in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 21. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 2024.09.24 01:12:13.695411 [ 1123 ] {344fc2fc-a4a8-418b-b42d-1fb738c3e15d} executeQuery: Code: 48. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:44576) (comment: 02497_having_without_actual_aggregation_bug.sql) (in query: select queryID() as t from numbers(10) with totals having t = initialQueryID();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [81]) @ 0x000000001279c71e in /usr/bin/clickhouse 6. /build/src/Analyzer/ValidationUtils.cpp:276: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001c99abe6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7140: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91c45c in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 10. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 24. ? @ 0x00007f1d281b3ac3 in ? 25. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:13.696267 [ 1123 ] {344fc2fc-a4a8-418b-b42d-1fb738c3e15d} TCPHandler: Code: 48. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [81]) @ 0x000000001279c71e in /usr/bin/clickhouse 6. /build/src/Analyzer/ValidationUtils.cpp:276: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001c99abe6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7140: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91c45c in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 10. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 24. ? @ 0x00007f1d281b3ac3 in ? 25. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:13.844515 [ 1123 ] {b36bdc2a-b921-43f7-a646-e49cd7b6a933} executeQuery: Code: 48. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:44576) (comment: 02497_having_without_actual_aggregation_bug.sql) (in query: select count() from (select queryID() as t from remote('127.0.0.{1..3}', numbers(10)) with totals having t = initialQueryID()) settings prefer_localhost_replica = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [81]) @ 0x000000001279c71e in /usr/bin/clickhouse 6. /build/src/Analyzer/ValidationUtils.cpp:276: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001c99abe6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7140: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91c45c in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5583: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c9203fd in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6721: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926f4f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:13.845455 [ 1123 ] {b36bdc2a-b921-43f7-a646-e49cd7b6a933} TCPHandler: Code: 48. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [81]) @ 0x000000001279c71e in /usr/bin/clickhouse 6. /build/src/Analyzer/ValidationUtils.cpp:276: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001c99abe6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7140: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91c45c in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5583: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c9203fd in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6721: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926f4f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:14.700777 [ 2934 ] {58c9e7f5-7ceb-4f76-8897-05276932f272} executeQuery: Code: 43. DB::Exception: Second argument of function transform, must be array of source values to transform from.: In scope SELECT transform(number, NULL, ['google', 'censor.net', 'yahoo'], 'other') FROM system.numbers LIMIT 10. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:44584) (comment: 02497_if_transform_strings_to_enum.sql) (in query: SELECT transform(number, NULL, ['google', 'censor.net', 'yahoo'], 'other') FROM system.numbers LIMIT 10;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/transform.cpp:87: DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000126f0cfc in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5251: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9375b0 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 2024.09.24 01:12:14.701758 [ 2934 ] {58c9e7f5-7ceb-4f76-8897-05276932f272} TCPHandler: Code: 43. DB::Exception: Second argument of function transform, must be array of source values to transform from.: In scope SELECT transform(number, NULL, ['google', 'censor.net', 'yahoo'], 'other') FROM system.numbers LIMIT 10. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/transform.cpp:87: DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000126f0cfc in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5251: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9375b0 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 2024.09.24 01:12:14.837168 [ 2934 ] {8d852169-d6aa-4e3e-9f7b-afdaa77a12d7} executeQuery: Code: 43. DB::Exception: Second argument of function transform, must be array of source values to transform from.: While processing transform(number, NULL, _CAST(['google', 'censor.net', 'yahoo'], 'Array(Enum8(\'censor.net\' = 1, \'google\' = 2, \'other\' = 3, \'yahoo\' = 4))'), _CAST('other', 'Enum8(\'censor.net\' = 1, \'google\' = 2, \'other\' = 3, \'yahoo\' = 4)')): While processing SELECT transform(number, NULL, _CAST(['google', 'censor.net', 'yahoo'], 'Array(Enum8(\'censor.net\' = 1, \'google\' = 2, \'other\' = 3, \'yahoo\' = 4))'), _CAST('other', 'Enum8(\'censor.net\' = 1, \'google\' = 2, \'other\' = 3, \'yahoo\' = 4)')) FROM system.numbers LIMIT 10. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:44584) (comment: 02497_if_transform_strings_to_enum.sql) (in query: EXPLAIN SYNTAX SELECT transform(number, NULL, ['google', 'censor.net', 'yahoo'], 'other') FROM system.numbers LIMIT 10;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/transform.cpp:87: DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000126f0cfc in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:356: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa6da9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:198: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6c06 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterExplainQuery.cpp:69: DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::visit(DB::ASTSelectQuery&, std::shared_ptr&, DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::Data&) @ 0x000000001c8c12eb in /usr/bin/clickhouse 2024.09.24 01:12:14.838241 [ 2934 ] {8d852169-d6aa-4e3e-9f7b-afdaa77a12d7} TCPHandler: Code: 43. DB::Exception: Second argument of function transform, must be array of source values to transform from.: While processing transform(number, NULL, _CAST(['google', 'censor.net', 'yahoo'], 'Array(Enum8(\'censor.net\' = 1, \'google\' = 2, \'other\' = 3, \'yahoo\' = 4))'), _CAST('other', 'Enum8(\'censor.net\' = 1, \'google\' = 2, \'other\' = 3, \'yahoo\' = 4)')): While processing SELECT transform(number, NULL, _CAST(['google', 'censor.net', 'yahoo'], 'Array(Enum8(\'censor.net\' = 1, \'google\' = 2, \'other\' = 3, \'yahoo\' = 4))'), _CAST('other', 'Enum8(\'censor.net\' = 1, \'google\' = 2, \'other\' = 3, \'yahoo\' = 4)')) FROM system.numbers LIMIT 10. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/transform.cpp:87: DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000126f0cfc in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:356: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa6da9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:198: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6c06 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterExplainQuery.cpp:69: DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::visit(DB::ASTSelectQuery&, std::shared_ptr&, DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::Data&) @ 0x000000001c8c12eb in /usr/bin/clickhouse 2024.09.24 01:12:14.979308 [ 2934 ] {6abaabe0-e6df-4594-ba92-2df7307d5124} executeQuery: Code: 43. DB::Exception: Second argument of function transform, must be array of source values to transform from.: In scope SELECT transform(number, NULL, ['google', 'censor.net', 'yahoo'], 'other') FROM system.numbers LIMIT 10. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:44584) (comment: 02497_if_transform_strings_to_enum.sql) (in query: EXPLAIN QUERY TREE run_passes = 1 SELECT transform(number, NULL, ['google', 'censor.net', 'yahoo'], 'other') FROM system.numbers LIMIT 10;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/transform.cpp:87: DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000126f0cfc in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5251: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9375b0 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:204: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001c90bad0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterExplainQuery.cpp:414: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001c8ba199 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:88: DB::InterpreterExplainQuery::execute() @ 0x000000001c8b978b in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:12:14.980271 [ 2934 ] {6abaabe0-e6df-4594-ba92-2df7307d5124} TCPHandler: Code: 43. DB::Exception: Second argument of function transform, must be array of source values to transform from.: In scope SELECT transform(number, NULL, ['google', 'censor.net', 'yahoo'], 'other') FROM system.numbers LIMIT 10. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/transform.cpp:87: DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000126f0cfc in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5251: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9375b0 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:204: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001c90bad0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterExplainQuery.cpp:414: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001c8ba199 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:88: DB::InterpreterExplainQuery::execute() @ 0x000000001c8b978b in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:12:22.237396 [ 2931 ] {1dc76011-1b4e-4472-864e-ce0b0f6736f3} executeQuery: Code: 47. DB::Exception: There's no column 'a.column2' in table 'a': While processing SELECT `--a.column1` AS `a.column1`, `--b.column1` AS `b.column1`, column2 AS `b.column2`, `--b.column3` AS `b.column3`, c.column3 AS `c.column3` FROM (SELECT column1 FROM table1 GROUP BY column1) AS a ANY LEFT JOIN (SELECT * FROM table2) AS b ON (`--b.column1` = `--a.column1`) AND (column2 = a.column2) ANY LEFT JOIN (SELECT * FROM table3) AS c ON c.column3 = b.column3. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:48734) (comment: 02493_do_not_assume_that_the_original_query_was_valid_when_transforming_joins.sql) (in query: SELECT * FROM ( SELECT column1 FROM table1 GROUP BY column1 ) AS a ANY LEFT JOIN ( SELECT * FROM table2 ) AS b ON (b.column1 = a.column1) AND (b.column2 = a.column2) ANY LEFT JOIN ( SELECT * FROM table3 ) AS c ON c.column3 = b.column3;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinToSubqueryTransformVisitor.cpp:616: DB::(anonymous namespace)::normalizeColumnNamesExtractNeeded(std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::vector> const&, std::unordered_set, std::equal_to, std::allocator> const&, DB::(anonymous namespace)::UniqueShortNames&) @ 0x000000001cc02569 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinToSubqueryTransformVisitor.cpp:782: DB::JoinToSubqueryTransformMatcher::visit(DB::ASTSelectQuery&, std::shared_ptr&, DB::JoinToSubqueryTransformMatcher::Data&) @ 0x000000001cc00c65 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinToSubqueryTransformVisitor.cpp:673: DB::JoinToSubqueryTransformMatcher::visit(std::shared_ptr&, DB::JoinToSubqueryTransformMatcher::Data&) @ 0x000000001cbffcc1 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cace1e0 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cace3c1 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cace16a in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cacd7c5 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:272: DB::(anonymous namespace)::rewriteMultipleJoins(std::shared_ptr&, std::vector> const&, String const&, DB::Settings const&) @ 0x000000001caad924 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:507: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9c06 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:22.238572 [ 2931 ] {1dc76011-1b4e-4472-864e-ce0b0f6736f3} TCPHandler: Code: 47. DB::Exception: There's no column 'a.column2' in table 'a': While processing SELECT `--a.column1` AS `a.column1`, `--b.column1` AS `b.column1`, column2 AS `b.column2`, `--b.column3` AS `b.column3`, c.column3 AS `c.column3` FROM (SELECT column1 FROM table1 GROUP BY column1) AS a ANY LEFT JOIN (SELECT * FROM table2) AS b ON (`--b.column1` = `--a.column1`) AND (column2 = a.column2) ANY LEFT JOIN (SELECT * FROM table3) AS c ON c.column3 = b.column3. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinToSubqueryTransformVisitor.cpp:616: DB::(anonymous namespace)::normalizeColumnNamesExtractNeeded(std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::vector> const&, std::unordered_set, std::equal_to, std::allocator> const&, DB::(anonymous namespace)::UniqueShortNames&) @ 0x000000001cc02569 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinToSubqueryTransformVisitor.cpp:782: DB::JoinToSubqueryTransformMatcher::visit(DB::ASTSelectQuery&, std::shared_ptr&, DB::JoinToSubqueryTransformMatcher::Data&) @ 0x000000001cc00c65 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinToSubqueryTransformVisitor.cpp:673: DB::JoinToSubqueryTransformMatcher::visit(std::shared_ptr&, DB::JoinToSubqueryTransformMatcher::Data&) @ 0x000000001cbffcc1 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cace1e0 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cace3c1 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cace16a in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cacd7c5 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:272: DB::(anonymous namespace)::rewriteMultipleJoins(std::shared_ptr&, std::vector> const&, String const&, DB::Settings const&) @ 0x000000001caad924 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:507: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9c06 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:24.659053 [ 2934 ] {6e3167ee-abb3-414a-a7d6-13b0c75d3b08} executeQuery: Code: 47. DB::Exception: Missing columns: '_1000' while processing query: 'SELECT _1000', required columns: '_1000'. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:48764) (comment: 02493_numeric_literals_with_underscores.sql) (in query: -- Things that are not a number select _1000;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:24.660090 [ 2934 ] {6e3167ee-abb3-414a-a7d6-13b0c75d3b08} TCPHandler: Code: 47. DB::Exception: Missing columns: '_1000' while processing query: 'SELECT _1000', required columns: '_1000'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:24.688172 [ 2934 ] {b17b9ca6-9cd1-4780-8b7d-ea3df0fcb584} executeQuery: Code: 47. DB::Exception: Missing columns: '_1' while processing query: 'SELECT -_1', required columns: '_1'. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:48764) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select -_1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:24.688943 [ 2934 ] {b17b9ca6-9cd1-4780-8b7d-ea3df0fcb584} TCPHandler: Code: 47. DB::Exception: Missing columns: '_1' while processing query: 'SELECT -_1', required columns: '_1'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:24.756005 [ 2934 ] {ff3ee530-07be-4546-b73c-5c523878beac} executeQuery: Code: 47. DB::Exception: Missing columns: '1__0' while processing query: 'SELECT `1__0`', required columns: '1__0'. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:48764) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 1__0;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:24.756682 [ 2934 ] {ff3ee530-07be-4546-b73c-5c523878beac} TCPHandler: Code: 47. DB::Exception: Missing columns: '1__0' while processing query: 'SELECT `1__0`', required columns: '1__0'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:24.762291 [ 2934 ] {b0e26426-2570-4592-b994-9795450bedfa} executeQuery: Code: 47. DB::Exception: Missing columns: '1_' while processing query: 'SELECT `1_`', required columns: '1_'. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:48764) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 1_;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:24.763160 [ 2934 ] {b0e26426-2570-4592-b994-9795450bedfa} TCPHandler: Code: 47. DB::Exception: Missing columns: '1_' while processing query: 'SELECT `1_`', required columns: '1_'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:24.769496 [ 2934 ] {e6bb3669-49be-408e-99c1-0e17435340bc} executeQuery: Code: 47. DB::Exception: Missing columns: '1_' while processing query: 'SELECT `1_`', required columns: '1_'. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:48764) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 1_ ;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:24.770432 [ 2934 ] {e6bb3669-49be-408e-99c1-0e17435340bc} TCPHandler: Code: 47. DB::Exception: Missing columns: '1_' while processing query: 'SELECT `1_`', required columns: '1_'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:24.776917 [ 2934 ] {bf9320df-e77f-4bb0-a2bb-41385f0174a9} executeQuery: Code: 47. DB::Exception: Missing columns: '10_' while processing query: 'SELECT `10_`', required columns: '10_'. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:48764) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 10_;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:24.777544 [ 2934 ] {bf9320df-e77f-4bb0-a2bb-41385f0174a9} TCPHandler: Code: 47. DB::Exception: Missing columns: '10_' while processing query: 'SELECT `10_`', required columns: '10_'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:24.783029 [ 2934 ] {9b18c1d1-3293-4579-8047-bf74758198c0} executeQuery: Code: 47. DB::Exception: Missing columns: '1_e5' while processing query: 'SELECT `1_e5`', required columns: '1_e5'. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:48764) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 1_e5;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:24.783685 [ 2934 ] {9b18c1d1-3293-4579-8047-bf74758198c0} TCPHandler: Code: 47. DB::Exception: Missing columns: '1_e5' while processing query: 'SELECT `1_e5`', required columns: '1_e5'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:24.789934 [ 2934 ] {f7b61c91-c359-41c3-9dda-35b3b4692743} executeQuery: Code: 47. DB::Exception: Missing columns: '1e_5' while processing query: 'SELECT `1e_5`', required columns: '1e_5'. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:48764) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 1e_5;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:24.790551 [ 2934 ] {f7b61c91-c359-41c3-9dda-35b3b4692743} TCPHandler: Code: 47. DB::Exception: Missing columns: '1e_5' while processing query: 'SELECT `1e_5`', required columns: '1e_5'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:24.796615 [ 2934 ] {232f91d7-1f67-4819-999e-90583ef92721} executeQuery: Code: 47. DB::Exception: Missing columns: '1e5_' while processing query: 'SELECT `1e5_`', required columns: '1e5_'. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:48764) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 1e5_;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:24.797221 [ 2934 ] {232f91d7-1f67-4819-999e-90583ef92721} TCPHandler: Code: 47. DB::Exception: Missing columns: '1e5_' while processing query: 'SELECT `1e5_`', required columns: '1e5_'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:24.803288 [ 2934 ] {4e1bcee8-bafc-4993-a631-35334e751073} executeQuery: Code: 47. DB::Exception: Missing columns: '1e_' while processing query: 'SELECT `1e_`', required columns: '1e_'. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:48764) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 1e_;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:24.803973 [ 2934 ] {4e1bcee8-bafc-4993-a631-35334e751073} TCPHandler: Code: 47. DB::Exception: Missing columns: '1e_' while processing query: 'SELECT `1e_`', required columns: '1e_'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:24.811234 [ 2934 ] {f525b73c-88a3-4e79-88e7-2447b760d900} executeQuery: Code: 47. DB::Exception: Missing columns: '1e_1' while processing query: 'SELECT `1e_1`', required columns: '1e_1'. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:48764) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 1e_1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:24.812181 [ 2934 ] {f525b73c-88a3-4e79-88e7-2447b760d900} TCPHandler: Code: 47. DB::Exception: Missing columns: '1e_1' while processing query: 'SELECT `1e_1`', required columns: '1e_1'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:24.819592 [ 2934 ] {37f5450f-adf5-4d33-96af-14703397385a} executeQuery: Code: 47. DB::Exception: Missing columns: '0_x2' while processing query: 'SELECT `0_x2`', required columns: '0_x2'. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:48764) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 0_x2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:24.820357 [ 2934 ] {37f5450f-adf5-4d33-96af-14703397385a} TCPHandler: Code: 47. DB::Exception: Missing columns: '0_x2' while processing query: 'SELECT `0_x2`', required columns: '0_x2'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:24.826197 [ 2934 ] {80ef212b-7b79-4711-9c75-c9107c97caf7} executeQuery: Code: 47. DB::Exception: Missing columns: '0x2_p2' while processing query: 'SELECT `0x2_p2`', required columns: '0x2_p2'. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:48764) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 0x2_p2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:24.826805 [ 2934 ] {80ef212b-7b79-4711-9c75-c9107c97caf7} TCPHandler: Code: 47. DB::Exception: Missing columns: '0x2_p2' while processing query: 'SELECT `0x2_p2`', required columns: '0x2_p2'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:24.833483 [ 2934 ] {7d63823d-77fa-4c9a-8a01-3ba7f36a7fbe} executeQuery: Code: 47. DB::Exception: Missing columns: '0x2p_2' while processing query: 'SELECT `0x2p_2`', required columns: '0x2p_2'. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:48764) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 0x2p_2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:24.834328 [ 2934 ] {7d63823d-77fa-4c9a-8a01-3ba7f36a7fbe} TCPHandler: Code: 47. DB::Exception: Missing columns: '0x2p_2' while processing query: 'SELECT `0x2p_2`', required columns: '0x2p_2'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:24.841876 [ 2934 ] {fea24322-76ae-406b-8ffb-fc2d193b57ed} executeQuery: Code: 47. DB::Exception: Missing columns: '0x2p2_' while processing query: 'SELECT `0x2p2_`', required columns: '0x2p2_'. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:48764) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 0x2p2_;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:24.842926 [ 2934 ] {fea24322-76ae-406b-8ffb-fc2d193b57ed} TCPHandler: Code: 47. DB::Exception: Missing columns: '0x2p2_' while processing query: 'SELECT `0x2p2_`', required columns: '0x2p2_'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:24.850728 [ 2934 ] {04a43f1f-045d-4c82-829d-f461e0f2d767} executeQuery: Code: 47. DB::Exception: Missing columns: '0b' while processing query: 'SELECT `0b`', required columns: '0b'. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:48764) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 0b;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:24.851552 [ 2934 ] {04a43f1f-045d-4c82-829d-f461e0f2d767} TCPHandler: Code: 47. DB::Exception: Missing columns: '0b' while processing query: 'SELECT `0b`', required columns: '0b'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:24.859551 [ 2934 ] {f9e4844a-1f8f-4860-9e5a-202e6aa8e9aa} executeQuery: Code: 47. DB::Exception: Missing columns: '0b' while processing query: 'SELECT `0b`', required columns: '0b'. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:48764) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 0b ;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:24.860506 [ 2934 ] {f9e4844a-1f8f-4860-9e5a-202e6aa8e9aa} TCPHandler: Code: 47. DB::Exception: Missing columns: '0b' while processing query: 'SELECT `0b`', required columns: '0b'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:24.868630 [ 2934 ] {90d8c641-84de-41d3-bcd2-e47e82538e07} executeQuery: Code: 47. DB::Exception: Missing columns: '0x' while processing query: 'SELECT `0x`', required columns: '0x'. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:48764) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 0x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:24.869756 [ 2934 ] {90d8c641-84de-41d3-bcd2-e47e82538e07} TCPHandler: Code: 47. DB::Exception: Missing columns: '0x' while processing query: 'SELECT `0x`', required columns: '0x'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:24.878607 [ 2934 ] {f6a048bc-eb5e-4b57-b35b-ad528f02c2d6} executeQuery: Code: 47. DB::Exception: Missing columns: '0x' while processing query: 'SELECT `0x`', required columns: '0x'. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:48764) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 0x ;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:24.879550 [ 2934 ] {f6a048bc-eb5e-4b57-b35b-ad528f02c2d6} TCPHandler: Code: 47. DB::Exception: Missing columns: '0x' while processing query: 'SELECT `0x`', required columns: '0x'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:24.887563 [ 2934 ] {674e2d58-546b-4bc1-8fe1-244cdbf15877} executeQuery: Code: 47. DB::Exception: Missing columns: '0x_' while processing query: 'SELECT `0x_`', required columns: '0x_'. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:48764) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 0x_;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:24.888559 [ 2934 ] {674e2d58-546b-4bc1-8fe1-244cdbf15877} TCPHandler: Code: 47. DB::Exception: Missing columns: '0x_' while processing query: 'SELECT `0x_`', required columns: '0x_'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:24.896986 [ 2934 ] {ba500da3-9fc2-4583-9513-3cb5cf36e910} executeQuery: Code: 47. DB::Exception: Missing columns: '0x_1' while processing query: 'SELECT `0x_1`', required columns: '0x_1'. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:48764) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 0x_1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:24.897992 [ 2934 ] {ba500da3-9fc2-4583-9513-3cb5cf36e910} TCPHandler: Code: 47. DB::Exception: Missing columns: '0x_1' while processing query: 'SELECT `0x_1`', required columns: '0x_1'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:25.654940 [ 2936 ] {4099eb3f-da61-498a-bc52-24eef43f32ae} executeQuery: Code: 117. DB::Exception: Incorrect data: is_deleted = 2 (must be 1 or 0). (INCORRECT_DATA) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:48798) (comment: 02490_replacing_merge_tree_is_deleted_column.sql) (in query: -- is_deleted == 0/1 INSERT INTO test (*) VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Processors/Merges/Algorithms/ReplacingSortedAlgorithm.cpp:98: DB::ReplacingSortedAlgorithm::merge() @ 0x000000001edd0db6 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:364: DB::MergeTreeDataWriter::mergeBlock(DB::Block const&, DB::SortDescription, std::vector> const&, DB::PODArray, 63ul, 64ul>*&, DB::MergeTreeData::MergingParams const&) @ 0x000000001e1e7319 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:478: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000001e1e899e in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001e1e7afd in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeSink.cpp:87: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000001e3a8bec in /usr/bin/clickhouse 11. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2ec62 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 2024.09.24 01:12:25.656011 [ 2936 ] {4099eb3f-da61-498a-bc52-24eef43f32ae} TCPHandler: Code: 117. DB::Exception: Incorrect data: is_deleted = 2 (must be 1 or 0). (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Processors/Merges/Algorithms/ReplacingSortedAlgorithm.cpp:98: DB::ReplacingSortedAlgorithm::merge() @ 0x000000001edd0db6 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:364: DB::MergeTreeDataWriter::mergeBlock(DB::Block const&, DB::SortDescription, std::vector> const&, DB::PODArray, 63ul, 64ul>*&, DB::MergeTreeData::MergingParams const&) @ 0x000000001e1e7319 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:478: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000001e1e899e in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001e1e7afd in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeSink.cpp:87: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000001e3a8bec in /usr/bin/clickhouse 11. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2ec62 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 2024.09.24 01:12:25.836926 [ 2936 ] {9b8805b9-ce1e-4559-8c28-cead65f750be} executeQuery: Code: 169. DB::Exception: is_deleted column (is_deleted) for storage ReplacingMergeTree must have type UInt8. Provided column of type String. (BAD_TYPE_OF_FIELD) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:48798) (comment: 02490_replacing_merge_tree_is_deleted_column.sql) (in query: CREATE TABLE test (`uid` String, `version` UInt32, `is_deleted` String) ENGINE = ReplacingMergeTree(version, is_deleted) ORDER BY uid SETTINGS index_granularity = 64691, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 19022, prefer_fetch_merged_part_size_threshold = 4308324347, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 85, min_merge_bytes_to_use_direct_io = 5327696034, index_granularity_bytes = 2676596, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 52016, primary_key_compress_block_size = 93220), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String&&) @ 0x000000001c861ee8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:885: DB::MergeTreeData::MergingParams::check(DB::StorageInMemoryMetadata const&) const::$_2::operator()(bool, String const&) const @ 0x000000001de66ec6 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:934: DB::MergeTreeData::MergingParams::check(DB::StorageInMemoryMetadata const&) const @ 0x000000001de629d3 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:393: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de614cc in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35ecd3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e89a in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e595 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e223 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e035 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35c61b in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35a85f in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 22. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 2024.09.24 01:12:25.837944 [ 2936 ] {9b8805b9-ce1e-4559-8c28-cead65f750be} TCPHandler: Code: 169. DB::Exception: is_deleted column (is_deleted) for storage ReplacingMergeTree must have type UInt8. Provided column of type String. (BAD_TYPE_OF_FIELD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String&&) @ 0x000000001c861ee8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:885: DB::MergeTreeData::MergingParams::check(DB::StorageInMemoryMetadata const&) const::$_2::operator()(bool, String const&) const @ 0x000000001de66ec6 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:934: DB::MergeTreeData::MergingParams::check(DB::StorageInMemoryMetadata const&) const @ 0x000000001de629d3 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:393: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de614cc in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35ecd3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e89a in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e595 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e223 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e035 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35c61b in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35a85f in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 22. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 2024.09.24 01:12:25.989404 [ 2936 ] {7275e319-40d4-4164-adb9-9f91f761442c} executeQuery: Code: 388. DB::Exception: Cannot OPTIMIZE with CLEANUP table: only ReplacingMergeTree can be CLEANUP. (CANNOT_ASSIGN_OPTIMIZE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:48798) (comment: 02490_replacing_merge_tree_is_deleted_column.sql) (in query: OPTIMIZE TABLE testMT FINAL CLEANUP;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1509: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001e37143b in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x000000001ca94125 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:25.990112 [ 2936 ] {7275e319-40d4-4164-adb9-9f91f761442c} TCPHandler: Code: 388. DB::Exception: Cannot OPTIMIZE with CLEANUP table: only ReplacingMergeTree can be CLEANUP. (CANNOT_ASSIGN_OPTIMIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1509: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001e37143b in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x000000001ca94125 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:26.081163 [ 2936 ] {444e1f13-9d1c-41ee-b006-316cb043174b} executeQuery: Code: 388. DB::Exception: Cannot OPTIMIZE with CLEANUP table: only ReplacingMergeTree can be CLEANUP. (CANNOT_ASSIGN_OPTIMIZE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:48798) (comment: 02490_replacing_merge_tree_is_deleted_column.sql) (in query: OPTIMIZE TABLE testSummingMT FINAL CLEANUP;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1509: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001e37143b in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x000000001ca94125 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:26.081684 [ 2936 ] {444e1f13-9d1c-41ee-b006-316cb043174b} TCPHandler: Code: 388. DB::Exception: Cannot OPTIMIZE with CLEANUP table: only ReplacingMergeTree can be CLEANUP. (CANNOT_ASSIGN_OPTIMIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1509: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001e37143b in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x000000001ca94125 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:26.169985 [ 2936 ] {0252ae48-70f1-4067-812e-cfb49da89201} executeQuery: Code: 388. DB::Exception: Cannot OPTIMIZE with CLEANUP table: only ReplacingMergeTree can be CLEANUP. (CANNOT_ASSIGN_OPTIMIZE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:48798) (comment: 02490_replacing_merge_tree_is_deleted_column.sql) (in query: OPTIMIZE TABLE testAggregatingMT FINAL CLEANUP;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1509: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001e37143b in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x000000001ca94125 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:26.170628 [ 2936 ] {0252ae48-70f1-4067-812e-cfb49da89201} TCPHandler: Code: 388. DB::Exception: Cannot OPTIMIZE with CLEANUP table: only ReplacingMergeTree can be CLEANUP. (CANNOT_ASSIGN_OPTIMIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1509: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001e37143b in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x000000001ca94125 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:26.260492 [ 2936 ] {5e88595e-779b-451a-b8b1-9b7d5b087ff5} executeQuery: Code: 388. DB::Exception: Cannot OPTIMIZE with CLEANUP table: only ReplacingMergeTree can be CLEANUP. (CANNOT_ASSIGN_OPTIMIZE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:48798) (comment: 02490_replacing_merge_tree_is_deleted_column.sql) (in query: OPTIMIZE TABLE testCollapsingMT FINAL CLEANUP;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1509: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001e37143b in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x000000001ca94125 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:26.261017 [ 2936 ] {5e88595e-779b-451a-b8b1-9b7d5b087ff5} TCPHandler: Code: 388. DB::Exception: Cannot OPTIMIZE with CLEANUP table: only ReplacingMergeTree can be CLEANUP. (CANNOT_ASSIGN_OPTIMIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1509: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001e37143b in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x000000001ca94125 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:26.367041 [ 2936 ] {8fd292c6-2d76-4446-b617-99e112f08a73} executeQuery: Code: 388. DB::Exception: Cannot OPTIMIZE with CLEANUP table: only ReplacingMergeTree can be CLEANUP. (CANNOT_ASSIGN_OPTIMIZE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:48798) (comment: 02490_replacing_merge_tree_is_deleted_column.sql) (in query: OPTIMIZE TABLE testVersionedCMT FINAL CLEANUP;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1509: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001e37143b in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x000000001ca94125 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:26.367678 [ 2936 ] {8fd292c6-2d76-4446-b617-99e112f08a73} TCPHandler: Code: 388. DB::Exception: Cannot OPTIMIZE with CLEANUP table: only ReplacingMergeTree can be CLEANUP. (CANNOT_ASSIGN_OPTIMIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1509: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001e37143b in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x000000001ca94125 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:26.960368 [ 2934 ] {5c2b76cd-5570-4e6e-b7cd-e133688dd78e} executeQuery: Code: 36. DB::Exception: Function reverseDNSQuery requires the input column to be of type String: While processing reverseDNSQuery(1). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:48866) (comment: 02483_test_reverse_dns_resolution.sql) (in query: -- Expect error, invalid column type select reverseDNSQuery(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b24a833 in /usr/bin/clickhouse 6. /build/src/Functions/reverseDNSQuery.cpp:59: DB::ReverseDNSQuery::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000124c5a34 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 2024.09.24 01:12:26.961506 [ 2934 ] {5c2b76cd-5570-4e6e-b7cd-e133688dd78e} TCPHandler: Code: 36. DB::Exception: Function reverseDNSQuery requires the input column to be of type String: While processing reverseDNSQuery(1). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b24a833 in /usr/bin/clickhouse 6. /build/src/Functions/reverseDNSQuery.cpp:59: DB::ReverseDNSQuery::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000124c5a34 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 2024.09.24 01:12:27.119937 [ 2934 ] {cf7f279d-060c-4da3-831d-3b81738c16cd} executeQuery: Code: 42. DB::Exception: Number of arguments for function reverseDNSQuery doesn't match: passed 0, should be 1: While processing reverseDNSQuery(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:48866) (comment: 02483_test_reverse_dns_resolution.sql) (in query: -- Expect error, wrong number of arguments select reverseDNSQuery();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:12:27.121131 [ 2934 ] {cf7f279d-060c-4da3-831d-3b81738c16cd} TCPHandler: Code: 42. DB::Exception: Number of arguments for function reverseDNSQuery doesn't match: passed 0, should be 1: While processing reverseDNSQuery(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:12:27.129057 [ 2934 ] {77c5d6ee-7874-4b90-b377-483167e41e32} executeQuery: Code: 42. DB::Exception: Number of arguments for function reverseDNSQuery doesn't match: passed 2, should be 1: While processing reverseDNSQuery(1, 2). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:48866) (comment: 02483_test_reverse_dns_resolution.sql) (in query: select reverseDNSQuery(1, 2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:12:27.129943 [ 2934 ] {77c5d6ee-7874-4b90-b377-483167e41e32} TCPHandler: Code: 42. DB::Exception: Number of arguments for function reverseDNSQuery doesn't match: passed 2, should be 1: While processing reverseDNSQuery(1, 2). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:12:28.534243 [ 2354 ] {6d8ae5cc-4f52-49e6-80fb-17b2eae0af5b} DistributedSink: Structure does not match (remote: i UInt64 UInt64(size = 0), n LowCardinality(String) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 1, String(size = 1))), local: i UInt64 UInt64(size = 1), n LowCardinality(Nullable(String)) ColumnLowCardinality(size = 1, UInt8(size = 1), ColumnUnique(size = 4, String(size = 4)))), implicit conversion will be done. 2024.09.24 01:12:28.535165 [ 2183 ] {6d8ae5cc-4f52-49e6-80fb-17b2eae0af5b} DistributedSink: Structure does not match (remote: i UInt64 UInt64(size = 0), n LowCardinality(String) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 1, String(size = 1))), local: i UInt64 UInt64(size = 1), n LowCardinality(Nullable(String)) ColumnLowCardinality(size = 1, UInt8(size = 1), ColumnUnique(size = 4, String(size = 4)))), implicit conversion will be done. 2024.09.24 01:12:28.722156 [ 2697 ] {bea8a871-b9fd-4e85-b2fa-d5834c90ce7b} DistributedSink: Structure does not match (remote: i UInt64 UInt64(size = 0), n LowCardinality(String) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 1, String(size = 1))), local: i UInt64 UInt64(size = 500), n LowCardinality(Nullable(String)) ColumnLowCardinality(size = 500, UInt16(size = 500), ColumnUnique(size = 1002, String(size = 1002)))), implicit conversion will be done. 2024.09.24 01:12:28.727510 [ 2370 ] {bea8a871-b9fd-4e85-b2fa-d5834c90ce7b} DistributedSink: Structure does not match (remote: i UInt64 UInt64(size = 0), n LowCardinality(String) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 1, String(size = 1))), local: i UInt64 UInt64(size = 500), n LowCardinality(Nullable(String)) ColumnLowCardinality(size = 500, UInt16(size = 500), ColumnUnique(size = 1002, String(size = 1002)))), implicit conversion will be done. 2024.09.24 01:12:28.847789 [ 2934 ] {8436ab3c-3c27-4500-a97a-ae0bf01e953e} test_wr74mbk7.dist_02482.DirectoryMonitor.default: Structure does not match (remote: i UInt64 UInt64(size = 0), n LowCardinality(String) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 1, String(size = 1))), local: i UInt64 UInt64(size = 0), n LowCardinality(Nullable(String)) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 2, String(size = 2)))), implicit conversion will be done 2024.09.24 01:12:28.864085 [ 2934 ] {8436ab3c-3c27-4500-a97a-ae0bf01e953e} test_wr74mbk7.dist_02482.DirectoryMonitor.default: Structure does not match (remote: i UInt64 UInt64(size = 0), n LowCardinality(String) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 1, String(size = 1))), local: i UInt64 UInt64(size = 0), n LowCardinality(Nullable(String)) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 2, String(size = 2)))), implicit conversion will be done 2024.09.24 01:12:28.885491 [ 2934 ] {8436ab3c-3c27-4500-a97a-ae0bf01e953e} test_wr74mbk7.dist_02482.DirectoryMonitor.default: Structure does not match (remote: i UInt64 UInt64(size = 0), n LowCardinality(String) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 1, String(size = 1))), local: i UInt64 UInt64(size = 0), n LowCardinality(Nullable(String)) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 2, String(size = 2)))), implicit conversion will be done 2024.09.24 01:12:28.902612 [ 2934 ] {8436ab3c-3c27-4500-a97a-ae0bf01e953e} test_wr74mbk7.dist_02482.DirectoryMonitor.default: Structure does not match (remote: i UInt64 UInt64(size = 0), n LowCardinality(String) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 1, String(size = 1))), local: i UInt64 UInt64(size = 0), n LowCardinality(Nullable(String)) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 2, String(size = 2)))), implicit conversion will be done 2024.09.24 01:12:30.007420 [ 1123 ] {b073c29b-1049-43ed-8200-3c125a1adac4} executeQuery: Code: 62. DB::Exception: Cannot parse expression of type Nullable(Int8) here: -- Bu : While executing ValuesBlockInputFormat. (SYNTAX_ERROR) (version 23.8.16.41.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:36626) (comment: 02482_value_block_parsing.sh) (in query: INSERT INTO simple_key_dictionary_source_table__fuzz_48 FORMAT Values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String&&, std::basic_string_view>&&) @ 0x00000000126ac96c in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:203: DB::ValuesBlockInputFormat::readUntilTheEndOfRowAndReTokenize(unsigned long) @ 0x000000001eb55da1 in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:411: DB::ValuesBlockInputFormat::parseExpression(DB::IColumn&, unsigned long) @ 0x000000001eb562c5 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:319: DB::ValuesBlockInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, unsigned long) @ 0x000000001eb54db9 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:122: DB::ValuesBlockInputFormat::generate() @ 0x000000001eb5405e in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ce1c8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b3ee0 in /usr/bin/clickhouse 20. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 21. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 22. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:30.009457 [ 1123 ] {b073c29b-1049-43ed-8200-3c125a1adac4} DynamicQueryHandler: Code: 62. DB::Exception: Cannot parse expression of type Nullable(Int8) here: -- Bu : While executing ValuesBlockInputFormat. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String&&, std::basic_string_view>&&) @ 0x00000000126ac96c in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:203: DB::ValuesBlockInputFormat::readUntilTheEndOfRowAndReTokenize(unsigned long) @ 0x000000001eb55da1 in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:411: DB::ValuesBlockInputFormat::parseExpression(DB::IColumn&, unsigned long) @ 0x000000001eb562c5 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:319: DB::ValuesBlockInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, unsigned long) @ 0x000000001eb54db9 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:122: DB::ValuesBlockInputFormat::generate() @ 0x000000001eb5405e in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ce1c8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b3ee0 in /usr/bin/clickhouse 20. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 21. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 22. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:12:30.030723 [ 1123 ] {853b318a-341f-4989-9071-27ca57940b6b} executeQuery: Code: 62. DB::Exception: Cannot parse expression of type Nullable(Int8) here: !Invalid : While executing ValuesBlockInputFormat. (SYNTAX_ERROR) (version 23.8.16.41.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:36642) (comment: 02482_value_block_parsing.sh) (in query: INSERT INTO simple_key_dictionary_source_table__fuzz_48 FORMAT Values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String&&, std::basic_string_view>&&) @ 0x00000000126ac96c in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:203: DB::ValuesBlockInputFormat::readUntilTheEndOfRowAndReTokenize(unsigned long) @ 0x000000001eb55da1 in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:411: DB::ValuesBlockInputFormat::parseExpression(DB::IColumn&, unsigned long) @ 0x000000001eb562c5 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:319: DB::ValuesBlockInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, unsigned long) @ 0x000000001eb54db9 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:122: DB::ValuesBlockInputFormat::generate() @ 0x000000001eb5405e in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ce1c8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b3ee0 in /usr/bin/clickhouse 20. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 21. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 22. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:30.032792 [ 1123 ] {853b318a-341f-4989-9071-27ca57940b6b} DynamicQueryHandler: Code: 62. DB::Exception: Cannot parse expression of type Nullable(Int8) here: !Invalid : While executing ValuesBlockInputFormat. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String&&, std::basic_string_view>&&) @ 0x00000000126ac96c in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:203: DB::ValuesBlockInputFormat::readUntilTheEndOfRowAndReTokenize(unsigned long) @ 0x000000001eb55da1 in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:411: DB::ValuesBlockInputFormat::parseExpression(DB::IColumn&, unsigned long) @ 0x000000001eb562c5 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:319: DB::ValuesBlockInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, unsigned long) @ 0x000000001eb54db9 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:122: DB::ValuesBlockInputFormat::generate() @ 0x000000001eb5405e in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ce1c8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b3ee0 in /usr/bin/clickhouse 20. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 21. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 22. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:12:30.053136 [ 1123 ] {73ed257e-f6b4-4f90-b8d5-0e9da1756df1} executeQuery: Code: 62. DB::Exception: Cannot parse expression of type Nullable(Int8) here: !!!!!!3adas ) : While executing ValuesBlockInputFormat. (SYNTAX_ERROR) (version 23.8.16.41.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:36652) (comment: 02482_value_block_parsing.sh) (in query: INSERT INTO simple_key_dictionary_source_table__fuzz_48 FORMAT Values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String&&, std::basic_string_view>&&) @ 0x00000000126ac96c in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:203: DB::ValuesBlockInputFormat::readUntilTheEndOfRowAndReTokenize(unsigned long) @ 0x000000001eb55da1 in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:411: DB::ValuesBlockInputFormat::parseExpression(DB::IColumn&, unsigned long) @ 0x000000001eb562c5 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:319: DB::ValuesBlockInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, unsigned long) @ 0x000000001eb54db9 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:122: DB::ValuesBlockInputFormat::generate() @ 0x000000001eb5405e in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ce1c8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b3ee0 in /usr/bin/clickhouse 20. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 21. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 22. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:30.054892 [ 1123 ] {73ed257e-f6b4-4f90-b8d5-0e9da1756df1} DynamicQueryHandler: Code: 62. DB::Exception: Cannot parse expression of type Nullable(Int8) here: !!!!!!3adas ) : While executing ValuesBlockInputFormat. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String&&, std::basic_string_view>&&) @ 0x00000000126ac96c in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:203: DB::ValuesBlockInputFormat::readUntilTheEndOfRowAndReTokenize(unsigned long) @ 0x000000001eb55da1 in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:411: DB::ValuesBlockInputFormat::parseExpression(DB::IColumn&, unsigned long) @ 0x000000001eb562c5 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:319: DB::ValuesBlockInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, unsigned long) @ 0x000000001eb54db9 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:122: DB::ValuesBlockInputFormat::generate() @ 0x000000001eb5405e in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ce1c8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b3ee0 in /usr/bin/clickhouse 20. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 21. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 22. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:12:32.578952 [ 2934 ] {ac90a480-37fc-4539-adb4-7c30b2e1227e} executeQuery: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: while executing 'FUNCTION toUInt64(val :: 0) -> toUInt64(val) LowCardinality(UInt64) : 2'. (CANNOT_CONVERT_TYPE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53088) (comment: 02480_suspicious_lowcard_in_key.sql) (in query: select count() from test where toUInt64(val) = -1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [44]) @ 0x000000000b258afe in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:289: COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber, DB::NameToUInt64, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b2ee174 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2039: bool DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b2eb2b8 in /usr/bin/clickhouse 8. /build/src/Core/callOnTypeIndex.h:191: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b2d9c56 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2d90c8 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2d82de in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:281: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee1cc in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/FilterTransform.cpp:135: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x000000001ebcd8f3 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/FilterTransform.cpp:120: DB::FilterTransform::transform(DB::Chunk&) @ 0x000000001ebcd7b2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 20. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 2024.09.24 01:12:32.581104 [ 2934 ] {ac90a480-37fc-4539-adb4-7c30b2e1227e} TCPHandler: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: while executing 'FUNCTION toUInt64(val :: 0) -> toUInt64(val) LowCardinality(UInt64) : 2'. (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [44]) @ 0x000000000b258afe in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:289: COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber, DB::NameToUInt64, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b2ee174 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2039: bool DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b2eb2b8 in /usr/bin/clickhouse 8. /build/src/Core/callOnTypeIndex.h:191: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b2d9c56 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2d90c8 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2d82de in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:281: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee1cc in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/FilterTransform.cpp:135: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x000000001ebcd8f3 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/FilterTransform.cpp:120: DB::FilterTransform::transform(DB::Chunk&) @ 0x000000001ebcd7b2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 20. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 2024.09.24 01:12:34.241623 [ 2936 ] {c5effc12-a17e-4e92-adaa-8b25a442e22b} executeQuery: Code: 48. DB::Exception: Window frame 'GROUPS' is not implemented (while processing 'ORDER BY 100 ASC GROUPS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING'). (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53134) (comment: 02478_window_frame_type_groups.sql) (in query: SELECT toUInt64(dense_rank(1) OVER (ORDER BY 100 ASC GROUPS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING)) FROM numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&) @ 0x000000001bfc0c2c in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:692: DB::ExpressionAnalyzer::makeWindowDescriptionFromAST(DB::Context const&, std::unordered_map, std::equal_to, std::allocator>> const&, DB::WindowDescription&, DB::IAST const*) @ 0x000000001bfae7f6 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:818: DB::ExpressionAnalyzer::makeWindowDescriptions(std::shared_ptr) @ 0x000000001bfaf953 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:2015: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb88 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:34.242542 [ 2936 ] {c5effc12-a17e-4e92-adaa-8b25a442e22b} TCPHandler: Code: 48. DB::Exception: Window frame 'GROUPS' is not implemented (while processing 'ORDER BY 100 ASC GROUPS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING'). (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&) @ 0x000000001bfc0c2c in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:692: DB::ExpressionAnalyzer::makeWindowDescriptionFromAST(DB::Context const&, std::unordered_map, std::equal_to, std::allocator>> const&, DB::WindowDescription&, DB::IAST const*) @ 0x000000001bfae7f6 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:818: DB::ExpressionAnalyzer::makeWindowDescriptions(std::shared_ptr) @ 0x000000001bfaf953 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:2015: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb88 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:34.374429 [ 2936 ] {5c8bb8c4-1292-49e4-95a5-9a6c6591aa05} executeQuery: Code: 48. DB::Exception: Window frame 'GROUPS' is not implemented. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53134) (comment: 02478_window_frame_type_groups.sql) (in query: SELECT toUInt64(dense_rank(1) OVER (ORDER BY 100 ASC GROUPS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING)) FROM numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::WindowFrame::FrameType&) @ 0x000000001cbc5c13 in /usr/bin/clickhouse 6. /build/src/Planner/PlannerWindowFunctions.cpp:77: DB::extractWindowDescriptions(std::vector, std::allocator>> const&, DB::PlannerContext const&) @ 0x000000001cbc12a8 in /usr/bin/clickhouse 7. /build/src/Planner/PlannerExpressionAnalysis.cpp:266: DB::(anonymous namespace)::analyzeWindow(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001cbb2624 in /usr/bin/clickhouse 8. /build/src/Planner/PlannerExpressionAnalysis.cpp:545: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001cbafbaa in /usr/bin/clickhouse 9. /build/src/Planner/Planner.cpp:1272: DB::Planner::buildPlanForQueryNode() @ 0x000000001cb6b311 in /usr/bin/clickhouse 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001cb68c39 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001cb6705d in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1039: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0872 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 21. ? @ 0x00007f1d281b3ac3 in ? 22. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:34.375250 [ 2936 ] {5c8bb8c4-1292-49e4-95a5-9a6c6591aa05} TCPHandler: Code: 48. DB::Exception: Window frame 'GROUPS' is not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::WindowFrame::FrameType&) @ 0x000000001cbc5c13 in /usr/bin/clickhouse 6. /build/src/Planner/PlannerWindowFunctions.cpp:77: DB::extractWindowDescriptions(std::vector, std::allocator>> const&, DB::PlannerContext const&) @ 0x000000001cbc12a8 in /usr/bin/clickhouse 7. /build/src/Planner/PlannerExpressionAnalysis.cpp:266: DB::(anonymous namespace)::analyzeWindow(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001cbb2624 in /usr/bin/clickhouse 8. /build/src/Planner/PlannerExpressionAnalysis.cpp:545: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001cbafbaa in /usr/bin/clickhouse 9. /build/src/Planner/Planner.cpp:1272: DB::Planner::buildPlanForQueryNode() @ 0x000000001cb6b311 in /usr/bin/clickhouse 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001cb68c39 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001cb6705d in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1039: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0872 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 21. ? @ 0x00007f1d281b3ac3 in ? 22. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:44.854666 [ 1125 ] {0073ec68-044d-49c0-90c3-9992bbc78c40} executeQuery: Code: 153. DB::Exception: Division by zero: While processing divideDecimal(toDecimal64(123.123, 3), toDecimal64(0, 1)). (ILLEGAL_DIVISION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53578) (comment: 02475_precise_decimal_arithmetics.sql) (in query: SELECT divideDecimal(toDecimal64(123.123, 3), toDecimal64(0, 1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25975e in /usr/bin/clickhouse 6. /build/src/Functions/divideDecimal.cpp:25: DB::Decimal> DB::(anonymous namespace)::DivideDecimalsImpl::execute, DB::Decimal>(DB::Decimal, DB::Decimal, unsigned short, unsigned short, unsigned short) @ 0x000000000dda8508 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:172: void DB::Processor>>, DB::(anonymous namespace)::DivideDecimalsImpl>::vectorVector, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x000000000dda82e2 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:219: DB::DecimalArithmeticsImpl>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::DivideDecimalsImpl>::execute(DB::(anonymous namespace)::DivideDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x000000000dda218c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:327: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x000000000dda0199 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:298: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000dd9f614 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 2024.09.24 01:12:44.995257 [ 2934 ] {857281f6-ea3d-4a12-b96a-f2664fefb1e3} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'value_' in scope SELECT value_ FROM test_table SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53596) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT value_ FROM test_table SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c9863ba in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fac5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:44.995332 [ 1125 ] {0073ec68-044d-49c0-90c3-9992bbc78c40} TCPHandler: Code: 153. DB::Exception: Division by zero: While processing divideDecimal(toDecimal64(123.123, 3), toDecimal64(0, 1)). (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25975e in /usr/bin/clickhouse 6. /build/src/Functions/divideDecimal.cpp:25: DB::Decimal> DB::(anonymous namespace)::DivideDecimalsImpl::execute, DB::Decimal>(DB::Decimal, DB::Decimal, unsigned short, unsigned short, unsigned short) @ 0x000000000dda8508 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:172: void DB::Processor>>, DB::(anonymous namespace)::DivideDecimalsImpl>::vectorVector, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x000000000dda82e2 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:219: DB::DecimalArithmeticsImpl>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::DivideDecimalsImpl>::execute(DB::(anonymous namespace)::DivideDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x000000000dda218c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:327: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x000000000dda0199 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:298: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000dd9f614 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 2024.09.24 01:12:44.996920 [ 2934 ] {857281f6-ea3d-4a12-b96a-f2664fefb1e3} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'value_' in scope SELECT value_ FROM test_table SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c9863ba in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fac5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:45.195876 [ 1125 ] {e15a7e7c-2662-4393-bd8a-985275d07660} executeQuery: Code: 407. DB::Exception: Numeric overflow: result bigger that Decimal256: While processing multiplyDecimal(toDecimal256(1e38, 0), toDecimal256(1e38, 0), 2). (DECIMAL_OVERFLOW) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53578) (comment: 02475_precise_decimal_arithmetics.sql) (in query: -- fits Decimal256, but scale is too big to fit SELECT multiplyDecimal(toDecimal256(1e38, 0), toDecimal256(1e38, 0), 2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [48]) @ 0x000000000b9147fe in /usr/bin/clickhouse 6. /build/src/Functions/multiplyDecimal.cpp:51: DB::Decimal> DB::(anonymous namespace)::MultiplyDecimalsImpl::execute>, DB::Decimal>>(DB::Decimal>, DB::Decimal>, unsigned short, unsigned short, unsigned short) @ 0x00000000114f5f16 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:172: void DB::Processor>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::vectorVector>, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x00000000114f5996 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:219: DB::DecimalArithmeticsImpl>>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::execute(DB::(anonymous namespace)::MultiplyDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x00000000114ed16b in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:359: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x00000000114e7f99 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:298: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000114e71d4 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 2024.09.24 01:12:45.197058 [ 1125 ] {e15a7e7c-2662-4393-bd8a-985275d07660} TCPHandler: Code: 407. DB::Exception: Numeric overflow: result bigger that Decimal256: While processing multiplyDecimal(toDecimal256(1e38, 0), toDecimal256(1e38, 0), 2). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [48]) @ 0x000000000b9147fe in /usr/bin/clickhouse 6. /build/src/Functions/multiplyDecimal.cpp:51: DB::Decimal> DB::(anonymous namespace)::MultiplyDecimalsImpl::execute>, DB::Decimal>>(DB::Decimal>, DB::Decimal>, unsigned short, unsigned short, unsigned short) @ 0x00000000114f5f16 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:172: void DB::Processor>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::vectorVector>, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x00000000114f5996 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:219: DB::DecimalArithmeticsImpl>>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::execute(DB::(anonymous namespace)::MultiplyDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x00000000114ed16b in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:359: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x00000000114e7f99 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:298: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000114e71d4 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 2024.09.24 01:12:45.316602 [ 1125 ] {4a1c29a8-90ca-41ed-9e10-950b91885b41} executeQuery: Code: 407. DB::Exception: Numeric overflow: result bigger that Decimal256: While processing divideDecimal(toDecimal256(1e72, 0), toDecimal256(0.00001, 5), 2). (DECIMAL_OVERFLOW) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53578) (comment: 02475_precise_decimal_arithmetics.sql) (in query: SELECT divideDecimal(toDecimal256(1e72, 0), toDecimal256(1e-5, 5), 2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [48]) @ 0x000000000b9147fe in /usr/bin/clickhouse 6. /build/src/Functions/divideDecimal.cpp:52: DB::Decimal> DB::(anonymous namespace)::DivideDecimalsImpl::execute>, DB::Decimal>>(DB::Decimal>, DB::Decimal>, unsigned short, unsigned short, unsigned short) @ 0x000000000ddae18b in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:172: void DB::Processor>>, DB::(anonymous namespace)::DivideDecimalsImpl>::vectorVector>, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x000000000ddadc16 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:219: DB::DecimalArithmeticsImpl>>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::DivideDecimalsImpl>::execute(DB::(anonymous namespace)::DivideDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x000000000dda55ab in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:359: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x000000000dda03d9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:298: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000dd9f614 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 2024.09.24 01:12:45.317655 [ 1125 ] {4a1c29a8-90ca-41ed-9e10-950b91885b41} TCPHandler: Code: 407. DB::Exception: Numeric overflow: result bigger that Decimal256: While processing divideDecimal(toDecimal256(1e72, 0), toDecimal256(0.00001, 5), 2). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [48]) @ 0x000000000b9147fe in /usr/bin/clickhouse 6. /build/src/Functions/divideDecimal.cpp:52: DB::Decimal> DB::(anonymous namespace)::DivideDecimalsImpl::execute>, DB::Decimal>>(DB::Decimal>, DB::Decimal>, unsigned short, unsigned short, unsigned short) @ 0x000000000ddae18b in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:172: void DB::Processor>>, DB::(anonymous namespace)::DivideDecimalsImpl>::vectorVector>, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x000000000ddadc16 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:219: DB::DecimalArithmeticsImpl>>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::DivideDecimalsImpl>::execute(DB::(anonymous namespace)::DivideDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x000000000dda55ab in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:359: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x000000000dda03d9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:298: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000dd9f614 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 2024.09.24 01:12:45.333409 [ 1125 ] {c2b90a61-5775-4670-b405-8d7e4edbb11c} executeQuery: Code: 407. DB::Exception: Numeric overflow: result bigger that Decimal256: While processing multiplyDecimal(toDecimal256('1e38', 0), toDecimal256('1e38', 0)). (DECIMAL_OVERFLOW) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53578) (comment: 02475_precise_decimal_arithmetics.sql) (in query: -- does not fit Decimal256 SELECT multiplyDecimal(toDecimal256('1e38', 0), toDecimal256('1e38', 0));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [48]) @ 0x000000000b9147fe in /usr/bin/clickhouse 6. /build/src/Functions/multiplyDecimal.cpp:51: DB::Decimal> DB::(anonymous namespace)::MultiplyDecimalsImpl::execute>, DB::Decimal>>(DB::Decimal>, DB::Decimal>, unsigned short, unsigned short, unsigned short) @ 0x00000000114f5f16 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:172: void DB::Processor>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::vectorVector>, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x00000000114f5996 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:219: DB::DecimalArithmeticsImpl>>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::execute(DB::(anonymous namespace)::MultiplyDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x00000000114ed16b in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:359: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x00000000114e7f99 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:298: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000114e71d4 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 2024.09.24 01:12:45.334327 [ 1125 ] {c2b90a61-5775-4670-b405-8d7e4edbb11c} TCPHandler: Code: 407. DB::Exception: Numeric overflow: result bigger that Decimal256: While processing multiplyDecimal(toDecimal256('1e38', 0), toDecimal256('1e38', 0)). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [48]) @ 0x000000000b9147fe in /usr/bin/clickhouse 6. /build/src/Functions/multiplyDecimal.cpp:51: DB::Decimal> DB::(anonymous namespace)::MultiplyDecimalsImpl::execute>, DB::Decimal>>(DB::Decimal>, DB::Decimal>, unsigned short, unsigned short, unsigned short) @ 0x00000000114f5f16 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:172: void DB::Processor>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::vectorVector>, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x00000000114f5996 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:219: DB::DecimalArithmeticsImpl>>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::execute(DB::(anonymous namespace)::MultiplyDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x00000000114ed16b in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:359: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x00000000114e7f99 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:298: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000114e71d4 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 2024.09.24 01:12:45.348799 [ 1125 ] {abeef2bc-fd22-48a5-879d-6812141b9f67} executeQuery: Code: 407. DB::Exception: Numeric overflow: result bigger that Decimal256: While processing multiplyDecimal(toDecimal256(1e39, 0), toDecimal256(1e39, 0), 0). (DECIMAL_OVERFLOW) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53578) (comment: 02475_precise_decimal_arithmetics.sql) (in query: SELECT multiplyDecimal(toDecimal256(1e39, 0), toDecimal256(1e39, 0), 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [48]) @ 0x000000000b9147fe in /usr/bin/clickhouse 6. /build/src/Functions/multiplyDecimal.cpp:51: DB::Decimal> DB::(anonymous namespace)::MultiplyDecimalsImpl::execute>, DB::Decimal>>(DB::Decimal>, DB::Decimal>, unsigned short, unsigned short, unsigned short) @ 0x00000000114f5f16 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:172: void DB::Processor>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::vectorVector>, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x00000000114f5996 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:219: DB::DecimalArithmeticsImpl>>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::execute(DB::(anonymous namespace)::MultiplyDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x00000000114ed16b in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:359: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x00000000114e7f99 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:298: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000114e71d4 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 2024.09.24 01:12:45.349771 [ 1125 ] {abeef2bc-fd22-48a5-879d-6812141b9f67} TCPHandler: Code: 407. DB::Exception: Numeric overflow: result bigger that Decimal256: While processing multiplyDecimal(toDecimal256(1e39, 0), toDecimal256(1e39, 0), 0). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [48]) @ 0x000000000b9147fe in /usr/bin/clickhouse 6. /build/src/Functions/multiplyDecimal.cpp:51: DB::Decimal> DB::(anonymous namespace)::MultiplyDecimalsImpl::execute>, DB::Decimal>>(DB::Decimal>, DB::Decimal>, unsigned short, unsigned short, unsigned short) @ 0x00000000114f5f16 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:172: void DB::Processor>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::vectorVector>, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x00000000114f5996 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:219: DB::DecimalArithmeticsImpl>>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::execute(DB::(anonymous namespace)::MultiplyDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x00000000114ed16b in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:359: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x00000000114e7f99 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:298: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000114e71d4 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 2024.09.24 01:12:45.361901 [ 1125 ] {af07b10d-5978-43af-a22d-8b27438a5757} executeQuery: Code: 407. DB::Exception: Numeric overflow: result bigger that Decimal256: While processing divideDecimal(toDecimal256(1e39, 0), toDecimal256(1e-38, 39)). (DECIMAL_OVERFLOW) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53578) (comment: 02475_precise_decimal_arithmetics.sql) (in query: SELECT divideDecimal(toDecimal256(1e39, 0), toDecimal256(1e-38, 39));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [48]) @ 0x000000000b9147fe in /usr/bin/clickhouse 6. /build/src/Functions/divideDecimal.cpp:52: DB::Decimal> DB::(anonymous namespace)::DivideDecimalsImpl::execute>, DB::Decimal>>(DB::Decimal>, DB::Decimal>, unsigned short, unsigned short, unsigned short) @ 0x000000000ddae18b in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:172: void DB::Processor>>, DB::(anonymous namespace)::DivideDecimalsImpl>::vectorVector>, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x000000000ddadc16 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:219: DB::DecimalArithmeticsImpl>>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::DivideDecimalsImpl>::execute(DB::(anonymous namespace)::DivideDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x000000000dda55ab in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:359: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x000000000dda03d9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:298: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000dd9f614 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 2024.09.24 01:12:45.364066 [ 1125 ] {af07b10d-5978-43af-a22d-8b27438a5757} TCPHandler: Code: 407. DB::Exception: Numeric overflow: result bigger that Decimal256: While processing divideDecimal(toDecimal256(1e39, 0), toDecimal256(1e-38, 39)). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [48]) @ 0x000000000b9147fe in /usr/bin/clickhouse 6. /build/src/Functions/divideDecimal.cpp:52: DB::Decimal> DB::(anonymous namespace)::DivideDecimalsImpl::execute>, DB::Decimal>>(DB::Decimal>, DB::Decimal>, unsigned short, unsigned short, unsigned short) @ 0x000000000ddae18b in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:172: void DB::Processor>>, DB::(anonymous namespace)::DivideDecimalsImpl>::vectorVector>, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x000000000ddadc16 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:219: DB::DecimalArithmeticsImpl>>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::DivideDecimalsImpl>::execute(DB::(anonymous namespace)::DivideDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x000000000dda55ab in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:359: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x000000000dda03d9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:298: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000dd9f614 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 2024.09.24 01:12:46.744105 [ 2936 ] {45b5181c-e074-4dc9-bf87-d31d3abdceb8} executeQuery: Code: 36. DB::Exception: Second argument of aggregate function analysisOfVariance should be a native unsigned integer. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53616) (comment: 02475_analysis_of_variance.sql) (in query: SELECT analysisOfVariance(1.11, -20);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionAnalysisOfVariance.cpp:24: DB::(anonymous namespace)::createAggregateFunctionAnalysisOfVariance(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000017a99734 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:12:46.745093 [ 2936 ] {45b5181c-e074-4dc9-bf87-d31d3abdceb8} TCPHandler: Code: 36. DB::Exception: Second argument of aggregate function analysisOfVariance should be a native unsigned integer. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionAnalysisOfVariance.cpp:24: DB::(anonymous namespace)::createAggregateFunctionAnalysisOfVariance(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000017a99734 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:12:46.753547 [ 2936 ] {cc1afdc3-4aab-4584-870c-9346a5f0143e} executeQuery: Code: 36. DB::Exception: Second argument of aggregate function analysisOfVariance should be a native unsigned integer. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53616) (comment: 02475_analysis_of_variance.sql) (in query: SELECT analysisOfVariance(1.11, 20 :: UInt128);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionAnalysisOfVariance.cpp:24: DB::(anonymous namespace)::createAggregateFunctionAnalysisOfVariance(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000017a99734 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:12:46.754394 [ 2936 ] {cc1afdc3-4aab-4584-870c-9346a5f0143e} TCPHandler: Code: 36. DB::Exception: Second argument of aggregate function analysisOfVariance should be a native unsigned integer. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionAnalysisOfVariance.cpp:24: DB::(anonymous namespace)::createAggregateFunctionAnalysisOfVariance(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000017a99734 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:12:46.907411 [ 2936 ] {2c0809ba-c049-4383-b879-b89044bd8436} executeQuery: Code: 36. DB::Exception: Too many groups for analysis of variance (should be no more than 1048576, got 9000000000000001): While executing AggregatingTransform. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53616) (comment: 02475_analysis_of_variance.sql) (in query: SELECT analysisOfVariance(1.11, 9000000000000000);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned long&) @ 0x000000000b8fe62c in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/Moments.h:452: DB::AnalysisOfVarianceMoments::resizeIfNeeded(unsigned long) @ 0x0000000017a9c29b in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/Moments.h:466: DB::AnalysisOfVarianceMoments::add(double, unsigned long) @ 0x0000000017a9c167 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionAnalysisOfVariance.h:54: DB::AggregateFunctionAnalysisOfVariance::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x0000000017a9a7e5 in /usr/bin/clickhouse 9. /build/src/AggregateFunctions/IAggregateFunction.h:541: DB::IAggregateFunctionHelper::addBatchSinglePlace(unsigned long, unsigned long, char*, DB::IColumn const**, DB::Arena*, long) const @ 0x0000000017a9b06a in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeWithoutKeyImpl(char*&, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, DB::Arena*) const @ 0x000000001c0ded6e in /usr/bin/clickhouse 11. /build/src/Interpreters/Aggregator.cpp:1586: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02108f in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 2024.09.24 01:12:46.909352 [ 2936 ] {2c0809ba-c049-4383-b879-b89044bd8436} TCPHandler: Code: 36. DB::Exception: Too many groups for analysis of variance (should be no more than 1048576, got 9000000000000001): While executing AggregatingTransform. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned long&) @ 0x000000000b8fe62c in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/Moments.h:452: DB::AnalysisOfVarianceMoments::resizeIfNeeded(unsigned long) @ 0x0000000017a9c29b in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/Moments.h:466: DB::AnalysisOfVarianceMoments::add(double, unsigned long) @ 0x0000000017a9c167 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionAnalysisOfVariance.h:54: DB::AggregateFunctionAnalysisOfVariance::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x0000000017a9a7e5 in /usr/bin/clickhouse 9. /build/src/AggregateFunctions/IAggregateFunction.h:541: DB::IAggregateFunctionHelper::addBatchSinglePlace(unsigned long, unsigned long, char*, DB::IColumn const**, DB::Arena*, long) const @ 0x0000000017a9b06a in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeWithoutKeyImpl(char*&, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, DB::Arena*) const @ 0x000000001c0ded6e in /usr/bin/clickhouse 11. /build/src/Interpreters/Aggregator.cpp:1586: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02108f in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 2024.09.24 01:12:47.075114 [ 2934 ] {0ea6b8c9-9245-442f-b5df-b5f4f3797476} executeQuery: Code: 47. DB::Exception: Identifier 'test_table.value_' cannot be resolved from table with name test_878ycfvo.test_table. In scope SELECT test_table.value_ FROM test_table SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table.value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53662) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_table.value_ FROM test_table SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x000000001c976bc4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2932: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c940279 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93e283 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bb93 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92bf47 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b19b in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:12:47.077037 [ 2934 ] {0ea6b8c9-9245-442f-b5df-b5f4f3797476} TCPHandler: Code: 47. DB::Exception: Identifier 'test_table.value_' cannot be resolved from table with name test_878ycfvo.test_table. In scope SELECT test_table.value_ FROM test_table SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x000000001c976bc4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2932: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c940279 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93e283 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bb93 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92bf47 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b19b in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:12:47.749625 [ 5572 ] {697f04aa-7af9-413f-b24d-7c9df36af3b0} executeQuery: Code: 43. DB::Exception: Second argument for function addSeconds (delta) must be a number: While processing now() + CAST('1', 'Int128'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53672) (comment: 02469_interval_msan.sql) (in query: SELECT now() + 1::Int128;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c45de4c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:1133: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x0000000011b8941d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:2025: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011b87914 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011b86a2c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 2024.09.24 01:12:47.886284 [ 5572 ] {697f04aa-7af9-413f-b24d-7c9df36af3b0} TCPHandler: Code: 43. DB::Exception: Second argument for function addSeconds (delta) must be a number: While processing now() + CAST('1', 'Int128'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c45de4c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:1133: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x0000000011b8941d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:2025: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011b87914 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011b86a2c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 2024.09.24 01:12:47.886357 [ 1123 ] {a0628401-b855-4918-92ba-bfc780873f72} executeQuery: Code: 43. DB::Exception: Second argument for function addSeconds (delta) must be a number. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53664) (comment: 02470_suspicious_low_cardinality_msan.sql) (in query: SELECT colAlias0, colAlias2, colAlias3 FROM alias_2__fuzz_25;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c45de4c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:1133: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x0000000011b8941d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:2025: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011b87914 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:199: DB::IExecutableFunction::defaultImplementationForNulls(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abedb9c in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:241: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed66a in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 23. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 2024.09.24 01:12:47.887481 [ 1123 ] {a0628401-b855-4918-92ba-bfc780873f72} TCPHandler: Code: 43. DB::Exception: Second argument for function addSeconds (delta) must be a number. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c45de4c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:1133: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x0000000011b8941d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:2025: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011b87914 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:199: DB::IExecutableFunction::defaultImplementationForNulls(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abedb9c in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:241: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed66a in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 23. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 2024.09.24 01:12:47.895223 [ 5572 ] {8c85f409-fab4-4f0e-8c5c-4ded8b4193f0} executeQuery: Code: 43. DB::Exception: Second argument for function addSeconds (delta) must be a number: While processing now() + CAST('1', 'Int256'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53672) (comment: 02469_interval_msan.sql) (in query: SELECT now() + 1::Int256;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c45de4c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:1133: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x0000000011b8941d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:2025: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011b87914 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011b86a2c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 2024.09.24 01:12:47.896060 [ 5572 ] {8c85f409-fab4-4f0e-8c5c-4ded8b4193f0} TCPHandler: Code: 43. DB::Exception: Second argument for function addSeconds (delta) must be a number: While processing now() + CAST('1', 'Int256'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c45de4c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:1133: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x0000000011b8941d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:2025: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011b87914 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011b86a2c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 2024.09.24 01:12:47.904019 [ 5572 ] {a5b6cbfb-f863-41ce-a16b-83460b601f26} executeQuery: Code: 43. DB::Exception: Second argument for function addSeconds (delta) must be a number: While processing now() + CAST('1', 'UInt128'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53672) (comment: 02469_interval_msan.sql) (in query: SELECT now() + 1::UInt128;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c45de4c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:1133: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x0000000011b8941d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:2025: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011b87914 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011b86a2c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 2024.09.24 01:12:47.905061 [ 5572 ] {a5b6cbfb-f863-41ce-a16b-83460b601f26} TCPHandler: Code: 43. DB::Exception: Second argument for function addSeconds (delta) must be a number: While processing now() + CAST('1', 'UInt128'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c45de4c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:1133: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x0000000011b8941d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:2025: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011b87914 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011b86a2c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 2024.09.24 01:12:47.913142 [ 5572 ] {9196ee40-18e4-46bf-8441-be07d3865305} executeQuery: Code: 43. DB::Exception: Second argument for function addSeconds (delta) must be a number: While processing now() + CAST('1', 'UInt256'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53672) (comment: 02469_interval_msan.sql) (in query: SELECT now() + 1::UInt256;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c45de4c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:1133: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x0000000011b8941d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:2025: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011b87914 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011b86a2c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 2024.09.24 01:12:47.914053 [ 5572 ] {9196ee40-18e4-46bf-8441-be07d3865305} TCPHandler: Code: 43. DB::Exception: Second argument for function addSeconds (delta) must be a number: While processing now() + CAST('1', 'UInt256'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c45de4c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:1133: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x0000000011b8941d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:2025: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011b87914 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011b86a2c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 2024.09.24 01:12:48.057137 [ 5572 ] {9dd9c748-84bd-4ab7-a72e-4314f5852fa3} executeQuery: Code: 43. DB::Exception: Second argument for function subtractSeconds (delta) must be a number: While processing now() - CAST('1', 'Int128'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53672) (comment: 02469_interval_msan.sql) (in query: SELECT now() - 1::Int128;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x00000000125cf04c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:1133: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x00000000106ccfbd in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:2025: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000106cb514 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000106ca62c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 2024.09.24 01:12:48.058507 [ 5572 ] {9dd9c748-84bd-4ab7-a72e-4314f5852fa3} TCPHandler: Code: 43. DB::Exception: Second argument for function subtractSeconds (delta) must be a number: While processing now() - CAST('1', 'Int128'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x00000000125cf04c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:1133: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x00000000106ccfbd in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:2025: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000106cb514 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000106ca62c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 2024.09.24 01:12:48.068033 [ 5572 ] {dfb87305-c262-44cb-aec3-ea3294e4cf60} executeQuery: Code: 43. DB::Exception: Second argument for function subtractSeconds (delta) must be a number: While processing now() - CAST('1', 'Int256'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53672) (comment: 02469_interval_msan.sql) (in query: SELECT now() - 1::Int256;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x00000000125cf04c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:1133: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x00000000106ccfbd in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:2025: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000106cb514 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000106ca62c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 2024.09.24 01:12:48.068885 [ 5572 ] {dfb87305-c262-44cb-aec3-ea3294e4cf60} TCPHandler: Code: 43. DB::Exception: Second argument for function subtractSeconds (delta) must be a number: While processing now() - CAST('1', 'Int256'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x00000000125cf04c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:1133: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x00000000106ccfbd in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:2025: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000106cb514 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000106ca62c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 2024.09.24 01:12:48.077985 [ 5572 ] {193daf57-6ca9-4325-848a-f84c6c936697} executeQuery: Code: 43. DB::Exception: Second argument for function subtractSeconds (delta) must be a number: While processing now() - CAST('1', 'UInt128'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53672) (comment: 02469_interval_msan.sql) (in query: SELECT now() - 1::UInt128;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x00000000125cf04c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:1133: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x00000000106ccfbd in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:2025: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000106cb514 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000106ca62c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 2024.09.24 01:12:48.078758 [ 5572 ] {193daf57-6ca9-4325-848a-f84c6c936697} TCPHandler: Code: 43. DB::Exception: Second argument for function subtractSeconds (delta) must be a number: While processing now() - CAST('1', 'UInt128'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x00000000125cf04c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:1133: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x00000000106ccfbd in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:2025: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000106cb514 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000106ca62c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 2024.09.24 01:12:48.087770 [ 5572 ] {0217909d-23be-4e15-93de-dc62352bce49} executeQuery: Code: 43. DB::Exception: Second argument for function subtractSeconds (delta) must be a number: While processing now() - CAST('1', 'UInt256'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53672) (comment: 02469_interval_msan.sql) (in query: SELECT now() - 1::UInt256;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x00000000125cf04c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:1133: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x00000000106ccfbd in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:2025: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000106cb514 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000106ca62c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 2024.09.24 01:12:48.088698 [ 5572 ] {0217909d-23be-4e15-93de-dc62352bce49} TCPHandler: Code: 43. DB::Exception: Second argument for function subtractSeconds (delta) must be a number: While processing now() - CAST('1', 'UInt256'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x00000000125cf04c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:1133: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x00000000106ccfbd in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:2025: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000106cb514 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000106ca62c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 2024.09.24 01:12:48.987474 [ 2936 ] {29d7c79e-3808-466a-b211-f874d72e46a9} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'test_tabl.value_' in scope SELECT test_tabl.value_ FROM test_table SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table.value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53700) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_tabl.value_ FROM test_table SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c9863ba in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fac5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:48.989196 [ 2936 ] {29d7c79e-3808-466a-b211-f874d72e46a9} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'test_tabl.value_' in scope SELECT test_tabl.value_ FROM test_table SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c9863ba in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fac5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:51.021623 [ 1125 ] {f44872d3-cc4f-40aa-bd67-2db0c3d9a276} executeQuery: Code: 47. DB::Exception: Identifier 'test_table.value_' cannot be resolved from table with name test_table_alias. In scope SELECT test_table.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table.value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:57970) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_table.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x000000001c976bc4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2932: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c940279 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93e283 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bb93 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92bf47 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b19b in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:12:51.023701 [ 1125 ] {f44872d3-cc4f-40aa-bd67-2db0c3d9a276} TCPHandler: Code: 47. DB::Exception: Identifier 'test_table.value_' cannot be resolved from table with name test_table_alias. In scope SELECT test_table.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x000000001c976bc4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2932: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c940279 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93e283 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bb93 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92bf47 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b19b in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:12:51.345014 [ 2934 ] {6bb81f0b-a8b9-4e88-9c51-083e94587f7f} executeQuery: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53724) (comment: 02458_key_condition_not_like_prefix.sql) (in query: SELECT count() FROM data WHERE str NOT LIKE 'a' SETTINGS force_primary_key=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001d6d7a53 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1451: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001eea0680 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9e841 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001ee9e558 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001eea382c in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1790: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea489b in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee51b4c in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee780df in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd8cb in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:51.345888 [ 2934 ] {6bb81f0b-a8b9-4e88-9c51-083e94587f7f} TCPHandler: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001d6d7a53 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1451: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001eea0680 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9e841 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001ee9e558 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001eea382c in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1790: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea489b in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee51b4c in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee780df in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd8cb in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:51.364422 [ 2934 ] {093d4e9c-0ae6-41c7-8e86-57e97e186203} executeQuery: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53724) (comment: 02458_key_condition_not_like_prefix.sql) (in query: SELECT count() FROM data WHERE str NOT LIKE '%a' SETTINGS force_primary_key=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001d6d7a53 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1451: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001eea0680 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9e841 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001ee9e558 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001eea382c in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1790: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea489b in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee51b4c in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee780df in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd8cb in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:51.365182 [ 2934 ] {093d4e9c-0ae6-41c7-8e86-57e97e186203} TCPHandler: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001d6d7a53 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1451: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001eea0680 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9e841 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001ee9e558 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001eea382c in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1790: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea489b in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee51b4c in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee780df in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd8cb in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:51.384821 [ 2934 ] {3b51e819-3090-4e02-a45a-5ffc52cf50ac} executeQuery: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53724) (comment: 02458_key_condition_not_like_prefix.sql) (in query: SELECT count() FROM data WHERE str NOT LIKE 'a_' SETTINGS force_primary_key=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001d6d7a53 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1451: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001eea0680 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9e841 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001ee9e558 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001eea382c in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1790: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea489b in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee51b4c in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee780df in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd8cb in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:51.385804 [ 2934 ] {3b51e819-3090-4e02-a45a-5ffc52cf50ac} TCPHandler: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001d6d7a53 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1451: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001eea0680 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9e841 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001ee9e558 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001eea382c in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1790: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea489b in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee51b4c in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee780df in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd8cb in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:51.409489 [ 2934 ] {2e95e63c-ca80-4d66-853f-d7c4ce7fed50} executeQuery: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53724) (comment: 02458_key_condition_not_like_prefix.sql) (in query: SELECT count() FROM data WHERE str NOT LIKE 'a%_' SETTINGS force_primary_key=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001d6d7a53 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1451: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001eea0680 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9e841 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001ee9e558 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001eea382c in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1790: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea489b in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee51b4c in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee780df in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd8cb in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:51.410429 [ 2934 ] {2e95e63c-ca80-4d66-853f-d7c4ce7fed50} TCPHandler: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001d6d7a53 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1451: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001eea0680 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9e841 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001ee9e558 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001eea382c in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1790: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea489b in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee51b4c in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee780df in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd8cb in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:51.433277 [ 2934 ] {446ae150-8482-49f7-8d61-1face4eb4390} executeQuery: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53724) (comment: 02458_key_condition_not_like_prefix.sql) (in query: SELECT count() FROM data WHERE str NOT LIKE '_a' SETTINGS force_primary_key=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001d6d7a53 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1451: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001eea0680 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9e841 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001ee9e558 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001eea382c in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1790: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea489b in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee51b4c in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee780df in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd8cb in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:51.434144 [ 2934 ] {446ae150-8482-49f7-8d61-1face4eb4390} TCPHandler: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001d6d7a53 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1451: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001eea0680 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9e841 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001ee9e558 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001eea382c in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1790: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea489b in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee51b4c in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee780df in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd8cb in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:51.452126 [ 2934 ] {ab6cea62-da09-4a83-8672-0d670b4287a1} executeQuery: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53724) (comment: 02458_key_condition_not_like_prefix.sql) (in query: SELECT count() FROM data WHERE str NOT LIKE 'a%\_' SETTINGS force_primary_key=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001d6d7a53 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1451: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001eea0680 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9e841 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001ee9e558 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001eea382c in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1790: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea489b in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee51b4c in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee780df in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd8cb in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:51.452845 [ 2934 ] {ab6cea62-da09-4a83-8672-0d670b4287a1} TCPHandler: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001d6d7a53 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1451: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001eea0680 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9e841 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001ee9e558 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001eea382c in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1790: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea489b in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee51b4c in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee780df in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd8cb in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:53.081582 [ 1123 ] {37a7da89-ed4a-4370-b545-2600509ba55f} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'test_tabl.value_' in scope SELECT test_tabl.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table.value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:57988) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_tabl.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c9863ba in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fac5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:53.083256 [ 1123 ] {37a7da89-ed4a-4370-b545-2600509ba55f} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'test_tabl.value_' in scope SELECT test_tabl.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c9863ba in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fac5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:54.142529 [ 2936 ] {56e5d3f1-1172-4e99-8620-a8cfa774d694} executeQuery: Code: 43. DB::Exception: Wrong order of arguments for function minus: argument of Tuple type cannot be first: While processing tuple(toIntervalDay(1)) - CAST('2022-10-11', 'Date'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58000) (comment: 02457_tuple_of_intervals.sql) (in query: SELECT tuple(INTERVAL 1 DAY) - '2022-10-11'::Date;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b24a833 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBinaryArithmetic.h:867: DB::FunctionBinaryArithmetic::getFunctionForDateTupleOfIntervalsArithmetic(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000106cd2e3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:1461: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x00000000107b5347 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:2476: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001048a36f in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:376: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c0b85a9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 2024.09.24 01:12:54.143607 [ 2936 ] {56e5d3f1-1172-4e99-8620-a8cfa774d694} TCPHandler: Code: 43. DB::Exception: Wrong order of arguments for function minus: argument of Tuple type cannot be first: While processing tuple(toIntervalDay(1)) - CAST('2022-10-11', 'Date'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b24a833 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBinaryArithmetic.h:867: DB::FunctionBinaryArithmetic::getFunctionForDateTupleOfIntervalsArithmetic(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000106cd2e3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:1461: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x00000000107b5347 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:2476: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001048a36f in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:376: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c0b85a9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 2024.09.24 01:12:54.471772 [ 2936 ] {fd4b00ab-8bec-4008-92f4-0b690c0972aa} executeQuery: Code: 43. DB::Exception: Illegal types IntervalSecond and Tuple(IntervalSecond) of arguments of function plus: While processing toIntervalSecond(1) + tuple(toIntervalSecond(1)) AS expr, toTypeName(expr). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58000) (comment: 02457_tuple_of_intervals.sql) (in query: WITH INTERVAL 1 SECOND + tuple(INTERVAL 1 SECOND) as expr SELECT expr, toTypeName(expr);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBinaryArithmetic.h:1618: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000011c77909 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:2476: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001195b72f in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:376: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c0b85a9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:12:54.471999 [ 5572 ] {6beb6203-3dd5-4e8b-8b98-81cb514d5150} executeQuery: Code: 999. Coordination::Exception: Fault injection before operation. (KEEPER_EXCEPTION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58002) (comment: 02456_keeper_retries_during_insert.sql) (in query: INSERT INTO keeper_retries_r1 SETTINGS insert_keeper_fault_injection_probability=1, insert_keeper_max_retries=0 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [33]) @ 0x000000000b21971e in /usr/bin/clickhouse 6. /build/src/Common/ZooKeeper/IKeeper.h:469: Coordination::Exception::Exception(char const (&) [33], Coordination::Error) @ 0x000000001b2c56ed in /usr/bin/clickhouse 7. /build/src/Common/ZooKeeper/IKeeper.h:503: Coordination::Exception Coordination::Exception::fromMessage(Coordination::Error, char const (&) [33]) @ 0x000000001b2c51a6 in /usr/bin/clickhouse 8. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:32: DB::RandomFaultInjection::beforeOperation() @ 0x000000001b2c50aa in /usr/bin/clickhouse 9. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:416: DB::ZooKeeperWithFaultInjection::faultInjectionBefore(std::function) @ 0x000000001b2c4cc7 in /usr/bin/clickhouse 10. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:515: bool DB::ZooKeeperWithFaultInjection::access const&)::'lambda'(), bool>(char const*, String const&, DB::ZooKeeperWithFaultInjection::exists(String const&, Coordination::Stat*, std::shared_ptr const&)::'lambda'(), DB::ZooKeeperWithFaultInjection::FaultCleanupTypeImpl::Type, std::function) @ 0x000000001b2e09c7 in /usr/bin/clickhouse 11. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:247: DB::ZooKeeperWithFaultInjection::exists(String const&, Coordination::Stat*, std::shared_ptr const&) @ 0x000000001b2e0707 in /usr/bin/clickhouse 12. /build/src/Storages/StorageReplicatedMergeTree.cpp:6244: DB::StorageReplicatedMergeTree::existsNodeCached(std::shared_ptr const&, String const&) const @ 0x000000001d7f8329 in /usr/bin/clickhouse 13. /build/src/Storages/StorageReplicatedMergeTree.cpp:6281: std::optional DB::StorageReplicatedMergeTree::allocateBlockNumber(String const&, std::shared_ptr const&, String const&, String const&) const @ 0x000000001d8e1d98 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:636: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001e33a2a2 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/ZooKeeperRetries.h:65: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001e32151b in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:567: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001e3210b6 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001e316111 in /usr/bin/clickhouse 18. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:400: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001e320398 in /usr/bin/clickhouse 19. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2ec62 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 27. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 2024.09.24 01:12:54.472921 [ 2936 ] {fd4b00ab-8bec-4008-92f4-0b690c0972aa} TCPHandler: Code: 43. DB::Exception: Illegal types IntervalSecond and Tuple(IntervalSecond) of arguments of function plus: While processing toIntervalSecond(1) + tuple(toIntervalSecond(1)) AS expr, toTypeName(expr). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBinaryArithmetic.h:1618: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000011c77909 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:2476: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001195b72f in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:376: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c0b85a9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:12:54.474544 [ 5572 ] {6beb6203-3dd5-4e8b-8b98-81cb514d5150} TCPHandler: Code: 999. Coordination::Exception: Fault injection before operation. (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [33]) @ 0x000000000b21971e in /usr/bin/clickhouse 6. /build/src/Common/ZooKeeper/IKeeper.h:469: Coordination::Exception::Exception(char const (&) [33], Coordination::Error) @ 0x000000001b2c56ed in /usr/bin/clickhouse 7. /build/src/Common/ZooKeeper/IKeeper.h:503: Coordination::Exception Coordination::Exception::fromMessage(Coordination::Error, char const (&) [33]) @ 0x000000001b2c51a6 in /usr/bin/clickhouse 8. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:32: DB::RandomFaultInjection::beforeOperation() @ 0x000000001b2c50aa in /usr/bin/clickhouse 9. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:416: DB::ZooKeeperWithFaultInjection::faultInjectionBefore(std::function) @ 0x000000001b2c4cc7 in /usr/bin/clickhouse 10. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:515: bool DB::ZooKeeperWithFaultInjection::access const&)::'lambda'(), bool>(char const*, String const&, DB::ZooKeeperWithFaultInjection::exists(String const&, Coordination::Stat*, std::shared_ptr const&)::'lambda'(), DB::ZooKeeperWithFaultInjection::FaultCleanupTypeImpl::Type, std::function) @ 0x000000001b2e09c7 in /usr/bin/clickhouse 11. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:247: DB::ZooKeeperWithFaultInjection::exists(String const&, Coordination::Stat*, std::shared_ptr const&) @ 0x000000001b2e0707 in /usr/bin/clickhouse 12. /build/src/Storages/StorageReplicatedMergeTree.cpp:6244: DB::StorageReplicatedMergeTree::existsNodeCached(std::shared_ptr const&, String const&) const @ 0x000000001d7f8329 in /usr/bin/clickhouse 13. /build/src/Storages/StorageReplicatedMergeTree.cpp:6281: std::optional DB::StorageReplicatedMergeTree::allocateBlockNumber(String const&, std::shared_ptr const&, String const&, String const&) const @ 0x000000001d8e1d98 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:636: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001e33a2a2 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/ZooKeeperRetries.h:65: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001e32151b in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:567: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001e3210b6 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001e316111 in /usr/bin/clickhouse 18. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:400: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001e320398 in /usr/bin/clickhouse 19. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2ec62 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 27. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 2024.09.24 01:12:54.623771 [ 2936 ] {6885024a-1079-43d3-84a4-e8ce3a572052} executeQuery: Code: 43. DB::Exception: Illegal types IntervalSecond and Tuple(IntervalSecond) of arguments of function minus: While processing toIntervalSecond(1) - tuple(toIntervalSecond(1)) AS expr, toTypeName(expr). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58000) (comment: 02457_tuple_of_intervals.sql) (in query: WITH INTERVAL 1 SECOND - tuple(INTERVAL 1 SECOND) as expr SELECT expr, toTypeName(expr);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBinaryArithmetic.h:1618: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x00000000107b5ca9 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:2476: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001048a36f in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:376: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c0b85a9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:12:54.624849 [ 2936 ] {6885024a-1079-43d3-84a4-e8ce3a572052} TCPHandler: Code: 43. DB::Exception: Illegal types IntervalSecond and Tuple(IntervalSecond) of arguments of function minus: While processing toIntervalSecond(1) - tuple(toIntervalSecond(1)) AS expr, toTypeName(expr). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBinaryArithmetic.h:1618: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x00000000107b5ca9 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:2476: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001048a36f in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:376: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c0b85a9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:12:54.718899 [ 5572 ] {72821be8-9720-4237-bbd8-04978d3fa401} executeQuery: Code: 999. Coordination::Exception: Fault injection before operation. (KEEPER_EXCEPTION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58002) (comment: 02456_keeper_retries_during_insert.sql) (in query: INSERT INTO keeper_retries_r1 SETTINGS insert_keeper_fault_injection_probability=1, insert_keeper_retry_max_backoff_ms=10 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [33]) @ 0x000000000b21971e in /usr/bin/clickhouse 6. /build/src/Common/ZooKeeper/IKeeper.h:469: Coordination::Exception::Exception(char const (&) [33], Coordination::Error) @ 0x000000001b2c56ed in /usr/bin/clickhouse 7. /build/src/Common/ZooKeeper/IKeeper.h:503: Coordination::Exception Coordination::Exception::fromMessage(Coordination::Error, char const (&) [33]) @ 0x000000001b2c51a6 in /usr/bin/clickhouse 8. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:32: DB::RandomFaultInjection::beforeOperation() @ 0x000000001b2c50aa in /usr/bin/clickhouse 9. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:416: DB::ZooKeeperWithFaultInjection::faultInjectionBefore(std::function) @ 0x000000001b2c4cc7 in /usr/bin/clickhouse 10. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:515: bool DB::ZooKeeperWithFaultInjection::access const&)::'lambda'(), bool>(char const*, String const&, DB::ZooKeeperWithFaultInjection::exists(String const&, Coordination::Stat*, std::shared_ptr const&)::'lambda'(), DB::ZooKeeperWithFaultInjection::FaultCleanupTypeImpl::Type, std::function) @ 0x000000001b2e09c7 in /usr/bin/clickhouse 11. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:247: DB::ZooKeeperWithFaultInjection::exists(String const&, Coordination::Stat*, std::shared_ptr const&) @ 0x000000001b2e0707 in /usr/bin/clickhouse 12. /build/src/Storages/StorageReplicatedMergeTree.cpp:6244: DB::StorageReplicatedMergeTree::existsNodeCached(std::shared_ptr const&, String const&) const @ 0x000000001d7f8329 in /usr/bin/clickhouse 13. /build/src/Storages/StorageReplicatedMergeTree.cpp:6281: std::optional DB::StorageReplicatedMergeTree::allocateBlockNumber(String const&, std::shared_ptr const&, String const&, String const&) const @ 0x000000001d8e1d98 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:636: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001e33a2a2 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/ZooKeeperRetries.h:65: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001e32151b in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:567: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001e3210b6 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001e316111 in /usr/bin/clickhouse 18. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:400: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001e320398 in /usr/bin/clickhouse 19. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2ec62 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 27. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 2024.09.24 01:12:54.723370 [ 5572 ] {72821be8-9720-4237-bbd8-04978d3fa401} TCPHandler: Code: 999. Coordination::Exception: Fault injection before operation. (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [33]) @ 0x000000000b21971e in /usr/bin/clickhouse 6. /build/src/Common/ZooKeeper/IKeeper.h:469: Coordination::Exception::Exception(char const (&) [33], Coordination::Error) @ 0x000000001b2c56ed in /usr/bin/clickhouse 7. /build/src/Common/ZooKeeper/IKeeper.h:503: Coordination::Exception Coordination::Exception::fromMessage(Coordination::Error, char const (&) [33]) @ 0x000000001b2c51a6 in /usr/bin/clickhouse 8. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:32: DB::RandomFaultInjection::beforeOperation() @ 0x000000001b2c50aa in /usr/bin/clickhouse 9. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:416: DB::ZooKeeperWithFaultInjection::faultInjectionBefore(std::function) @ 0x000000001b2c4cc7 in /usr/bin/clickhouse 10. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:515: bool DB::ZooKeeperWithFaultInjection::access const&)::'lambda'(), bool>(char const*, String const&, DB::ZooKeeperWithFaultInjection::exists(String const&, Coordination::Stat*, std::shared_ptr const&)::'lambda'(), DB::ZooKeeperWithFaultInjection::FaultCleanupTypeImpl::Type, std::function) @ 0x000000001b2e09c7 in /usr/bin/clickhouse 11. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:247: DB::ZooKeeperWithFaultInjection::exists(String const&, Coordination::Stat*, std::shared_ptr const&) @ 0x000000001b2e0707 in /usr/bin/clickhouse 12. /build/src/Storages/StorageReplicatedMergeTree.cpp:6244: DB::StorageReplicatedMergeTree::existsNodeCached(std::shared_ptr const&, String const&) const @ 0x000000001d7f8329 in /usr/bin/clickhouse 13. /build/src/Storages/StorageReplicatedMergeTree.cpp:6281: std::optional DB::StorageReplicatedMergeTree::allocateBlockNumber(String const&, std::shared_ptr const&, String const&, String const&) const @ 0x000000001d8e1d98 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:636: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001e33a2a2 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/ZooKeeperRetries.h:65: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001e32151b in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:567: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001e3210b6 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001e316111 in /usr/bin/clickhouse 18. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:400: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001e320398 in /usr/bin/clickhouse 19. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2ec62 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 27. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 2024.09.24 01:12:55.012682 [ 5572 ] {3e6543c4-d933-4d90-8f41-b10c8f21784e} executeQuery: Code: 999. Coordination::Exception: Fault injection before operation. (KEEPER_EXCEPTION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58002) (comment: 02456_keeper_retries_during_insert.sql) (in query: INSERT INTO keeper_retries_r1 SETTINGS insert_keeper_fault_injection_probability=1, insert_keeper_max_retries=0 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [33]) @ 0x000000000b21971e in /usr/bin/clickhouse 6. /build/src/Common/ZooKeeper/IKeeper.h:469: Coordination::Exception::Exception(char const (&) [33], Coordination::Error) @ 0x000000001b2c56ed in /usr/bin/clickhouse 7. /build/src/Common/ZooKeeper/IKeeper.h:503: Coordination::Exception Coordination::Exception::fromMessage(Coordination::Error, char const (&) [33]) @ 0x000000001b2c51a6 in /usr/bin/clickhouse 8. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:32: DB::RandomFaultInjection::beforeOperation() @ 0x000000001b2c50aa in /usr/bin/clickhouse 9. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:416: DB::ZooKeeperWithFaultInjection::faultInjectionBefore(std::function) @ 0x000000001b2c4cc7 in /usr/bin/clickhouse 10. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:515: std::vector> DB::ZooKeeperWithFaultInjection::access const&, Coordination::ListRequestType)::'lambda'(), std::vector>>(char const*, String const&, DB::ZooKeeperWithFaultInjection::getChildren(String const&, Coordination::Stat*, std::shared_ptr const&, Coordination::ListRequestType)::'lambda'(), DB::ZooKeeperWithFaultInjection::FaultCleanupTypeImpl>>::Type, std::function) @ 0x000000001b2d3bd8 in /usr/bin/clickhouse 11. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:143: DB::ZooKeeperWithFaultInjection::getChildren(String const&, Coordination::Stat*, std::shared_ptr const&, Coordination::ListRequestType) @ 0x000000001b2d3a3c in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:171: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001e338904 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/ZooKeeperRetries.h:65: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001e3385bb in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/ZooKeeperRetries.h:47: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&) @ 0x000000001e320ea1 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:164: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001e32057d in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:267: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001e31eb6f in /usr/bin/clickhouse 17. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2ec62 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 25. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 2024.09.24 01:12:55.013815 [ 5572 ] {3e6543c4-d933-4d90-8f41-b10c8f21784e} TCPHandler: Code: 999. Coordination::Exception: Fault injection before operation. (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [33]) @ 0x000000000b21971e in /usr/bin/clickhouse 6. /build/src/Common/ZooKeeper/IKeeper.h:469: Coordination::Exception::Exception(char const (&) [33], Coordination::Error) @ 0x000000001b2c56ed in /usr/bin/clickhouse 7. /build/src/Common/ZooKeeper/IKeeper.h:503: Coordination::Exception Coordination::Exception::fromMessage(Coordination::Error, char const (&) [33]) @ 0x000000001b2c51a6 in /usr/bin/clickhouse 8. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:32: DB::RandomFaultInjection::beforeOperation() @ 0x000000001b2c50aa in /usr/bin/clickhouse 9. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:416: DB::ZooKeeperWithFaultInjection::faultInjectionBefore(std::function) @ 0x000000001b2c4cc7 in /usr/bin/clickhouse 10. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:515: std::vector> DB::ZooKeeperWithFaultInjection::access const&, Coordination::ListRequestType)::'lambda'(), std::vector>>(char const*, String const&, DB::ZooKeeperWithFaultInjection::getChildren(String const&, Coordination::Stat*, std::shared_ptr const&, Coordination::ListRequestType)::'lambda'(), DB::ZooKeeperWithFaultInjection::FaultCleanupTypeImpl>>::Type, std::function) @ 0x000000001b2d3bd8 in /usr/bin/clickhouse 11. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:143: DB::ZooKeeperWithFaultInjection::getChildren(String const&, Coordination::Stat*, std::shared_ptr const&, Coordination::ListRequestType) @ 0x000000001b2d3a3c in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:171: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001e338904 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/ZooKeeperRetries.h:65: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001e3385bb in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/ZooKeeperRetries.h:47: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&) @ 0x000000001e320ea1 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:164: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001e32057d in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:267: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001e31eb6f in /usr/bin/clickhouse 17. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2ec62 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 25. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 2024.09.24 01:12:55.061147 [ 5572 ] {599d06f1-d4fa-4d22-baca-f184b1030e0e} executeQuery: Code: 999. Coordination::Exception: Fault injection before operation. (KEEPER_EXCEPTION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58002) (comment: 02456_keeper_retries_during_insert.sql) (in query: INSERT INTO keeper_retries_r1 SETTINGS insert_keeper_fault_injection_probability=1, insert_keeper_retry_max_backoff_ms=1 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [33]) @ 0x000000000b21971e in /usr/bin/clickhouse 6. /build/src/Common/ZooKeeper/IKeeper.h:469: Coordination::Exception::Exception(char const (&) [33], Coordination::Error) @ 0x000000001b2c56ed in /usr/bin/clickhouse 7. /build/src/Common/ZooKeeper/IKeeper.h:503: Coordination::Exception Coordination::Exception::fromMessage(Coordination::Error, char const (&) [33]) @ 0x000000001b2c51a6 in /usr/bin/clickhouse 8. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:32: DB::RandomFaultInjection::beforeOperation() @ 0x000000001b2c50aa in /usr/bin/clickhouse 9. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:416: DB::ZooKeeperWithFaultInjection::faultInjectionBefore(std::function) @ 0x000000001b2c4cc7 in /usr/bin/clickhouse 10. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:515: std::vector> DB::ZooKeeperWithFaultInjection::access const&, Coordination::ListRequestType)::'lambda'(), std::vector>>(char const*, String const&, DB::ZooKeeperWithFaultInjection::getChildren(String const&, Coordination::Stat*, std::shared_ptr const&, Coordination::ListRequestType)::'lambda'(), DB::ZooKeeperWithFaultInjection::FaultCleanupTypeImpl>>::Type, std::function) @ 0x000000001b2d3bd8 in /usr/bin/clickhouse 11. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:143: DB::ZooKeeperWithFaultInjection::getChildren(String const&, Coordination::Stat*, std::shared_ptr const&, Coordination::ListRequestType) @ 0x000000001b2d3a3c in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:171: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001e338904 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/ZooKeeperRetries.h:65: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001e3385bb in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/ZooKeeperRetries.h:47: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&) @ 0x000000001e320ea1 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:164: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001e32057d in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:267: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001e31eb6f in /usr/bin/clickhouse 17. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2ec62 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 25. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 2024.09.24 01:12:55.062049 [ 5572 ] {599d06f1-d4fa-4d22-baca-f184b1030e0e} TCPHandler: Code: 999. Coordination::Exception: Fault injection before operation. (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [33]) @ 0x000000000b21971e in /usr/bin/clickhouse 6. /build/src/Common/ZooKeeper/IKeeper.h:469: Coordination::Exception::Exception(char const (&) [33], Coordination::Error) @ 0x000000001b2c56ed in /usr/bin/clickhouse 7. /build/src/Common/ZooKeeper/IKeeper.h:503: Coordination::Exception Coordination::Exception::fromMessage(Coordination::Error, char const (&) [33]) @ 0x000000001b2c51a6 in /usr/bin/clickhouse 8. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:32: DB::RandomFaultInjection::beforeOperation() @ 0x000000001b2c50aa in /usr/bin/clickhouse 9. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:416: DB::ZooKeeperWithFaultInjection::faultInjectionBefore(std::function) @ 0x000000001b2c4cc7 in /usr/bin/clickhouse 10. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:515: std::vector> DB::ZooKeeperWithFaultInjection::access const&, Coordination::ListRequestType)::'lambda'(), std::vector>>(char const*, String const&, DB::ZooKeeperWithFaultInjection::getChildren(String const&, Coordination::Stat*, std::shared_ptr const&, Coordination::ListRequestType)::'lambda'(), DB::ZooKeeperWithFaultInjection::FaultCleanupTypeImpl>>::Type, std::function) @ 0x000000001b2d3bd8 in /usr/bin/clickhouse 11. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:143: DB::ZooKeeperWithFaultInjection::getChildren(String const&, Coordination::Stat*, std::shared_ptr const&, Coordination::ListRequestType) @ 0x000000001b2d3a3c in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:171: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001e338904 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/ZooKeeperRetries.h:65: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001e3385bb in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/ZooKeeperRetries.h:47: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&) @ 0x000000001e320ea1 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:164: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001e32057d in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:267: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001e31eb6f in /usr/bin/clickhouse 17. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2ec62 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 25. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 2024.09.24 01:12:55.262487 [ 1125 ] {844d2259-595c-4fd0-afe4-9f03b6f95147} executeQuery: Code: 47. DB::Exception: Identifier 'test_table_alias.value_' cannot be resolved from table with name test_table_alias. In scope SELECT test_table_alias.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_alias.value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58064) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_table_alias.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x000000001c976bc4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2932: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c940279 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93e283 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bb93 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92bf47 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b19b in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:12:55.264422 [ 1125 ] {844d2259-595c-4fd0-afe4-9f03b6f95147} TCPHandler: Code: 47. DB::Exception: Identifier 'test_table_alias.value_' cannot be resolved from table with name test_table_alias. In scope SELECT test_table_alias.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_alias.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x000000001c976bc4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2932: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c940279 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93e283 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bb93 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92bf47 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b19b in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:12:57.295805 [ 1123 ] {422566fd-2c16-4af2-8416-b6ec03a93bfa} executeQuery: Code: 117. DB::Exception: Duplicate column name found while schema inference: "x": Cannot extract table structure from JSONEachRow format file. You can specify the structure manually. (INCORRECT_DATA) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58108) (comment: 02455_duplicate_column_names_in_schema_inference.sql) (in query: desc format(JSONEachRow, '{"x" : 1, "x" : 2}');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Processors/Formats/ISchemaReader.cpp:280: DB::IRowWithNamesSchemaReader::readSchema() @ 0x000000001e7d6dbc in /usr/bin/clickhouse 7. /build/src/Formats/ReadSchemaUtils.cpp:124: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001e697123 in /usr/bin/clickhouse 8. /build/src/Formats/ReadSchemaUtils.cpp:239: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001e6986a8 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFormat.cpp:60: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a9d8018 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterDescribeQuery.cpp:99: DB::InterpreterDescribeQuery::execute() @ 0x000000001ca741d3 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:57.295940 [ 2936 ] {b8e2a401-3795-4be8-af86-c40744e55672} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'test_table_alia.value_' in scope SELECT test_table_alia.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_alias.value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58118) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_table_alia.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c9863ba in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fac5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:57.296841 [ 1123 ] {422566fd-2c16-4af2-8416-b6ec03a93bfa} TCPHandler: Code: 117. DB::Exception: Duplicate column name found while schema inference: "x": Cannot extract table structure from JSONEachRow format file. You can specify the structure manually. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Processors/Formats/ISchemaReader.cpp:280: DB::IRowWithNamesSchemaReader::readSchema() @ 0x000000001e7d6dbc in /usr/bin/clickhouse 7. /build/src/Formats/ReadSchemaUtils.cpp:124: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001e697123 in /usr/bin/clickhouse 8. /build/src/Formats/ReadSchemaUtils.cpp:239: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001e6986a8 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFormat.cpp:60: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a9d8018 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterDescribeQuery.cpp:99: DB::InterpreterDescribeQuery::execute() @ 0x000000001ca741d3 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:57.298118 [ 2936 ] {b8e2a401-3795-4be8-af86-c40744e55672} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'test_table_alia.value_' in scope SELECT test_table_alia.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_alias.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c9863ba in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fac5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:57.428157 [ 1123 ] {0b66d764-0bca-432f-96a8-3bfc4e1d8f4d} executeQuery: Code: 117. DB::Exception: Duplicate column name found while schema inference: "x": Cannot extract table structure from JSONEachRow format file. You can specify the structure manually. (INCORRECT_DATA) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58108) (comment: 02455_duplicate_column_names_in_schema_inference.sql) (in query: desc format(JSONEachRow, '{"x" : 1, "y" : 2}\n{"x" : 2, "x" : 3}');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Processors/Formats/ISchemaReader.cpp:301: DB::IRowWithNamesSchemaReader::readSchema() @ 0x000000001e7d71bc in /usr/bin/clickhouse 7. /build/src/Formats/ReadSchemaUtils.cpp:124: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001e697123 in /usr/bin/clickhouse 8. /build/src/Formats/ReadSchemaUtils.cpp:239: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001e6986a8 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFormat.cpp:60: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a9d8018 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterDescribeQuery.cpp:99: DB::InterpreterDescribeQuery::execute() @ 0x000000001ca741d3 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:57.428974 [ 1123 ] {0b66d764-0bca-432f-96a8-3bfc4e1d8f4d} TCPHandler: Code: 117. DB::Exception: Duplicate column name found while schema inference: "x": Cannot extract table structure from JSONEachRow format file. You can specify the structure manually. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Processors/Formats/ISchemaReader.cpp:301: DB::IRowWithNamesSchemaReader::readSchema() @ 0x000000001e7d71bc in /usr/bin/clickhouse 7. /build/src/Formats/ReadSchemaUtils.cpp:124: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001e697123 in /usr/bin/clickhouse 8. /build/src/Formats/ReadSchemaUtils.cpp:239: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001e6986a8 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFormat.cpp:60: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a9d8018 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterDescribeQuery.cpp:99: DB::InterpreterDescribeQuery::execute() @ 0x000000001ca741d3 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:57.556562 [ 1123 ] {2855f38d-3570-4b89-8bef-fb6b73125aff} executeQuery: Code: 117. DB::Exception: Duplicate column name found while schema inference: "a": Cannot extract table structure from CSVWithNames format file. You can specify the structure manually. (INCORRECT_DATA) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58108) (comment: 02455_duplicate_column_names_in_schema_inference.sql) (in query: desc format(CSVWithNames, 'a,b,a\n1,2,3');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Processors/Formats/ISchemaReader.cpp:150: DB::IRowSchemaReader::readSchema() @ 0x000000001e7d5e5c in /usr/bin/clickhouse 7. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:422: DB::FormatWithNamesAndTypesSchemaReader::readSchema() @ 0x000000001e7eb218 in /usr/bin/clickhouse 8. /build/src/Formats/ReadSchemaUtils.cpp:124: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001e697123 in /usr/bin/clickhouse 9. /build/src/Formats/ReadSchemaUtils.cpp:239: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001e6986a8 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFormat.cpp:60: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a9d8018 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterDescribeQuery.cpp:99: DB::InterpreterDescribeQuery::execute() @ 0x000000001ca741d3 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 21. ? @ 0x00007f1d281b3ac3 in ? 22. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:57.557296 [ 1123 ] {2855f38d-3570-4b89-8bef-fb6b73125aff} TCPHandler: Code: 117. DB::Exception: Duplicate column name found while schema inference: "a": Cannot extract table structure from CSVWithNames format file. You can specify the structure manually. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Processors/Formats/ISchemaReader.cpp:150: DB::IRowSchemaReader::readSchema() @ 0x000000001e7d5e5c in /usr/bin/clickhouse 7. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:422: DB::FormatWithNamesAndTypesSchemaReader::readSchema() @ 0x000000001e7eb218 in /usr/bin/clickhouse 8. /build/src/Formats/ReadSchemaUtils.cpp:124: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001e697123 in /usr/bin/clickhouse 9. /build/src/Formats/ReadSchemaUtils.cpp:239: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001e6986a8 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFormat.cpp:60: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a9d8018 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterDescribeQuery.cpp:99: DB::InterpreterDescribeQuery::execute() @ 0x000000001ca741d3 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 21. ? @ 0x00007f1d281b3ac3 in ? 22. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:57.564499 [ 1123 ] {ea09c4cf-d47a-42a5-b9e9-e34181acf840} executeQuery: Code: 117. DB::Exception: Duplicate column name found while schema inference: "a": Cannot extract table structure from CSV format file. You can specify the structure manually. (INCORRECT_DATA) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58108) (comment: 02455_duplicate_column_names_in_schema_inference.sql) (in query: desc format(CSV, '1,2,3') settings column_names_for_schema_inference='a, b, a';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Processors/Formats/ISchemaReader.cpp:150: DB::IRowSchemaReader::readSchema() @ 0x000000001e7d5e5c in /usr/bin/clickhouse 7. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:422: DB::FormatWithNamesAndTypesSchemaReader::readSchema() @ 0x000000001e7eb218 in /usr/bin/clickhouse 8. /build/src/Formats/ReadSchemaUtils.cpp:124: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001e697123 in /usr/bin/clickhouse 9. /build/src/Formats/ReadSchemaUtils.cpp:239: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001e6986a8 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFormat.cpp:60: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a9d8018 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterDescribeQuery.cpp:99: DB::InterpreterDescribeQuery::execute() @ 0x000000001ca741d3 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 21. ? @ 0x00007f1d281b3ac3 in ? 22. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:57.565213 [ 1123 ] {ea09c4cf-d47a-42a5-b9e9-e34181acf840} TCPHandler: Code: 117. DB::Exception: Duplicate column name found while schema inference: "a": Cannot extract table structure from CSV format file. You can specify the structure manually. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Processors/Formats/ISchemaReader.cpp:150: DB::IRowSchemaReader::readSchema() @ 0x000000001e7d5e5c in /usr/bin/clickhouse 7. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:422: DB::FormatWithNamesAndTypesSchemaReader::readSchema() @ 0x000000001e7eb218 in /usr/bin/clickhouse 8. /build/src/Formats/ReadSchemaUtils.cpp:124: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001e697123 in /usr/bin/clickhouse 9. /build/src/Formats/ReadSchemaUtils.cpp:239: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001e6986a8 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFormat.cpp:60: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a9d8018 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterDescribeQuery.cpp:99: DB::InterpreterDescribeQuery::execute() @ 0x000000001ca741d3 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 21. ? @ 0x00007f1d281b3ac3 in ? 22. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:59.319355 [ 2930 ] {2325b674-9188-4c97-a38d-544c7806d7a7} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'value_' in scope SELECT value_ FROM (SELECT 1 AS value) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58168) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT value_ FROM (SELECT 1 AS value) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c9863ba in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fac5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:12:59.321324 [ 2930 ] {2325b674-9188-4c97-a38d-544c7806d7a7} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'value_' in scope SELECT value_ FROM (SELECT 1 AS value) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c9863ba in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fac5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:00.323977 [ 2934 ] {000683d0-fd8b-4cd1-acd2-f3e2a8983b39} executeQuery: Code: 36. DB::Exception: Tables have different primary key. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58196) (comment: 02455_improve_feedback_when_replacing_partition_with_different_primary_key.sql) (in query: ALTER TABLE test_b REPLACE PARTITION '0' FROM test_a;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [34]) @ 0x000000000b91eede in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7425: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001deca771 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:7455: DB::MergeTreeData::checkStructureAndGetMergeTreeData(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001decb05d in /usr/bin/clickhouse 8. /build/src/Storages/StorageMergeTree.cpp:2017: DB::StorageMergeTree::replacePartitionFrom(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001e37de26 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:5212: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deae39a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 21. ? @ 0x00007f1d281b3ac3 in ? 22. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:00.324788 [ 2934 ] {000683d0-fd8b-4cd1-acd2-f3e2a8983b39} TCPHandler: Code: 36. DB::Exception: Tables have different primary key. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [34]) @ 0x000000000b91eede in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7425: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001deca771 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:7455: DB::MergeTreeData::checkStructureAndGetMergeTreeData(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001decb05d in /usr/bin/clickhouse 8. /build/src/Storages/StorageMergeTree.cpp:2017: DB::StorageMergeTree::replacePartitionFrom(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001e37de26 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:5212: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deae39a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 21. ? @ 0x00007f1d281b3ac3 in ? 22. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:01.312513 [ 1125 ] {197016c2-2527-431b-9451-483645ff5c0b} executeQuery: Code: 47. DB::Exception: Identifier 'subquery.value_' cannot be resolved from subquery with name subquery. In scope SELECT subquery.value_ FROM (SELECT 1 AS value) AS subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['subquery.value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39562) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT subquery.value_ FROM (SELECT 1 AS value) AS subquery SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x000000001c976bc4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2932: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c940279 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93e283 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bb93 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92bf47 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b19b in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:13:01.314082 [ 1125 ] {197016c2-2527-431b-9451-483645ff5c0b} TCPHandler: Code: 47. DB::Exception: Identifier 'subquery.value_' cannot be resolved from subquery with name subquery. In scope SELECT subquery.value_ FROM (SELECT 1 AS value) AS subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['subquery.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x000000001c976bc4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2932: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c940279 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93e283 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bb93 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92bf47 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b19b in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:13:03.306560 [ 6138 ] {5489d4e6-b6c3-424f-b508-1545249923a7} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'subquer.value_' in scope SELECT subquer.value_ FROM (SELECT 1 AS value) AS subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['subquery.value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39630) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT subquer.value_ FROM (SELECT 1 AS value) AS subquery SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c9863ba in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fac5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:03.308408 [ 6138 ] {5489d4e6-b6c3-424f-b508-1545249923a7} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'subquer.value_' in scope SELECT subquer.value_ FROM (SELECT 1 AS value) AS subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['subquery.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c9863ba in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fac5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:05.183468 [ 5572 ] {d2ca93bc-95af-4c35-ba8a-618691a2827d} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'value_' in scope WITH cte_subquery AS (SELECT 1 AS value) SELECT value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39684) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH cte_subquery AS (SELECT 1 AS value) SELECT value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c9863ba in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fac5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:05.185763 [ 5572 ] {d2ca93bc-95af-4c35-ba8a-618691a2827d} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'value_' in scope WITH cte_subquery AS (SELECT 1 AS value) SELECT value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c9863ba in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fac5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:07.277795 [ 6138 ] {561f2650-dbe5-48ab-add7-f72130df3c93} executeQuery: Code: 47. DB::Exception: Identifier 'cte_subquery.value_' cannot be resolved from subquery. In scope WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquery.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery.value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39714) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquery.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x000000001c976bc4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2932: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c940279 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93e283 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bb93 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92bf47 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b19b in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:13:07.280284 [ 6138 ] {561f2650-dbe5-48ab-add7-f72130df3c93} TCPHandler: Code: 47. DB::Exception: Identifier 'cte_subquery.value_' cannot be resolved from subquery. In scope WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquery.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x000000001c976bc4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2932: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c940279 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93e283 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bb93 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92bf47 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b19b in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:13:07.730360 [ 2934 ] {00352296-f27c-43aa-a125-0ba282279cca} executeQuery: Code: 128. DB::Exception: Array sizes are too large: 18446744073709551615: Cannot extract table structure from Native format file. You can specify the structure manually. (TOO_LARGE_ARRAY_SIZE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39734) (comment: 02424_pod_array_overflow.sql) (in query: SELECT * FROM format(Native, '\x02\x02\x02\x6b\x30\x1a\x4d\x61\x70\x28\x46\x69\x78\x65\x64\x53\x74\x72\x69\x6e\x67\x28\x31\x29\x2c\x20\x49\x6e\x74\x36\x34\x29\x01\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\x7f\x00\x7f\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x64\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xcf\x31\x3f\x56\x69\x11\x89\x25');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000c0bde33 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationArray.cpp:380: DB::SerializationArray::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x000000001ba2dca5 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationMap.cpp:363: DB::SerializationMap::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x000000001ba5eb47 in /usr/bin/clickhouse 8. /build/src/Formats/NativeReader.cpp:97: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000001e6905d4 in /usr/bin/clickhouse 9. /build/src/Formats/NativeReader.cpp:206: DB::NativeReader::read() @ 0x000000001e69146a in /usr/bin/clickhouse 10. /build/src/Processors/Formats/Impl/NativeFormat.cpp:111: DB::NativeSchemaReader::readSchema() @ 0x000000001e9020f6 in /usr/bin/clickhouse 11. /build/src/Formats/ReadSchemaUtils.cpp:124: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001e697123 in /usr/bin/clickhouse 12. /build/src/Formats/ReadSchemaUtils.cpp:239: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001e6986a8 in /usr/bin/clickhouse 13. /build/src/TableFunctions/TableFunctionFormat.cpp:60: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a9d8018 in /usr/bin/clickhouse 14. /build/src/TableFunctions/TableFunctionFormat.cpp:100: DB::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a9d89b0 in /usr/bin/clickhouse 15. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 16. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 17. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 2024.09.24 01:13:07.731512 [ 2934 ] {00352296-f27c-43aa-a125-0ba282279cca} TCPHandler: Code: 128. DB::Exception: Array sizes are too large: 18446744073709551615: Cannot extract table structure from Native format file. You can specify the structure manually. (TOO_LARGE_ARRAY_SIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000c0bde33 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationArray.cpp:380: DB::SerializationArray::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x000000001ba2dca5 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationMap.cpp:363: DB::SerializationMap::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x000000001ba5eb47 in /usr/bin/clickhouse 8. /build/src/Formats/NativeReader.cpp:97: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000001e6905d4 in /usr/bin/clickhouse 9. /build/src/Formats/NativeReader.cpp:206: DB::NativeReader::read() @ 0x000000001e69146a in /usr/bin/clickhouse 10. /build/src/Processors/Formats/Impl/NativeFormat.cpp:111: DB::NativeSchemaReader::readSchema() @ 0x000000001e9020f6 in /usr/bin/clickhouse 11. /build/src/Formats/ReadSchemaUtils.cpp:124: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001e697123 in /usr/bin/clickhouse 12. /build/src/Formats/ReadSchemaUtils.cpp:239: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001e6986a8 in /usr/bin/clickhouse 13. /build/src/TableFunctions/TableFunctionFormat.cpp:60: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a9d8018 in /usr/bin/clickhouse 14. /build/src/TableFunctions/TableFunctionFormat.cpp:100: DB::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a9d89b0 in /usr/bin/clickhouse 15. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 16. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 17. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 2024.09.24 01:13:09.265457 [ 2936 ] {860a8af6-ac6a-4c81-9cb3-4916d1a11d77} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'cte_subquer.value_' in scope WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquer.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery.value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39760) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquer.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c9863ba in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fac5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:09.267625 [ 2936 ] {860a8af6-ac6a-4c81-9cb3-4916d1a11d77} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'cte_subquer.value_' in scope WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquer.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c9863ba in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fac5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:11.289481 [ 2936 ] {2f50e195-67e7-4638-919b-6a78d571607e} executeQuery: Code: 47. DB::Exception: Identifier 'cte_subquery_alias.value_' cannot be resolved from subquery with name cte_subquery_alias. In scope WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquery_alias.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery_alias.value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53888) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquery_alias.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x000000001c976bc4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2932: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c940279 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93e283 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bb93 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92bf47 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b19b in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:13:11.291505 [ 2936 ] {2f50e195-67e7-4638-919b-6a78d571607e} TCPHandler: Code: 47. DB::Exception: Identifier 'cte_subquery_alias.value_' cannot be resolved from subquery with name cte_subquery_alias. In scope WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquery_alias.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery_alias.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x000000001c976bc4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2932: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c940279 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93e283 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bb93 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92bf47 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b19b in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:13:11.413569 [ 2931 ] {fbc4eeec-5a1c-44d1-8a79-3b76b937e6c9} test_p1qf8es3.table_one (f531c435-6415-4308-8752-faffc94be244): Table can't create parts with adaptive granularity, but settings min_rows_for_wide_part = 0, min_bytes_for_wide_part = 100. Parts with non-adaptive granularity can be stored only in Wide (default) format. Settings 'min_rows_for_wide_part'and 'min_bytes_for_wide_part' will be ignored. 2024.09.24 01:13:11.642892 [ 2931 ] {7afa09b3-3764-489d-b5a7-8ab7c07b81c2} test_p1qf8es3.table_one (82cd6e32-c063-4e87-9af6-5642bc069f7f): Table can't create parts with adaptive granularity, but settings min_rows_for_wide_part = 0, min_bytes_for_wide_part = 100. Parts with non-adaptive granularity can be stored only in Wide (default) format. Settings 'min_rows_for_wide_part'and 'min_bytes_for_wide_part' will be ignored. 2024.09.24 01:13:11.680185 [ 2931 ] {e79e9d1a-e741-4a03-92ac-ab668a25682f} test_p1qf8es3.table_two (98e19a68-7f25-4b7d-a82e-8997b996c7ab): Table can't create parts with adaptive granularity, but settings min_rows_for_wide_part = 0, min_bytes_for_wide_part = 100. Parts with non-adaptive granularity can be stored only in Wide (default) format. Settings 'min_rows_for_wide_part'and 'min_bytes_for_wide_part' will be ignored. 2024.09.24 01:13:12.085311 [ 2931 ] {1e7bd355-2498-43ec-a443-f66a6439f8c7} test_p1qf8es3.table_two (f36f9a3f-1858-4db8-b403-bb4c4490706a): Table can't create parts with adaptive granularity, but settings min_rows_for_wide_part = 0, min_bytes_for_wide_part = 100. Parts with non-adaptive granularity can be stored only in Wide (default) format. Settings 'min_rows_for_wide_part'and 'min_bytes_for_wide_part' will be ignored. 2024.09.24 01:13:12.315086 [ 2931 ] {95d875d7-6f95-4384-a9e2-9752967b3040} executeQuery: Code: 36. DB::Exception: Cannot replace partition '0' because part '0_1_1_0' has inconsistent granularity with table. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53880) (comment: 02422_insert_different_granularity.sql) (in query: ALTER TABLE table_two REPLACE PARTITION 0 FROM table_one;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String const&) @ 0x0000000013a3ddac in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2029: DB::StorageMergeTree::replacePartitionFrom(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001e37e080 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5212: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deae39a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:12.316050 [ 2931 ] {95d875d7-6f95-4384-a9e2-9752967b3040} TCPHandler: Code: 36. DB::Exception: Cannot replace partition '0' because part '0_1_1_0' has inconsistent granularity with table. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String const&) @ 0x0000000013a3ddac in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2029: DB::StorageMergeTree::replacePartitionFrom(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001e37e080 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5212: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deae39a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:13.252673 [ 2936 ] {54547145-7997-4f83-92f8-a6f3e12fd1e8} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'cte_subquery_alia.value_' in scope WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquery_alia.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery_alias.value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53942) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquery_alia.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c9863ba in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fac5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:13.254627 [ 2936 ] {54547145-7997-4f83-92f8-a6f3e12fd1e8} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'cte_subquery_alia.value_' in scope WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquery_alia.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery_alias.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c9863ba in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fac5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:15.328446 [ 2936 ] {b3c87323-ff9d-40e4-b8ef-51581c3148eb} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'constant_valu' in scope SELECT 1 AS constant_value, constant_valu SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53988) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT 1 AS constant_value, constant_valu SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c9863ba in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fac5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:15.330639 [ 2936 ] {b3c87323-ff9d-40e4-b8ef-51581c3148eb} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'constant_valu' in scope SELECT 1 AS constant_value, constant_valu SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c9863ba in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fac5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:17.426795 [ 2936 ] {7ebbfe38-bcd7-4b57-a331-51079bea4323} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'constant_valu' in scope SELECT 1 AS constant_value, constant_valu SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54038) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT 1 AS constant_value, constant_valu SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c9863ba in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fac5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:17.428339 [ 2936 ] {7ebbfe38-bcd7-4b57-a331-51079bea4323} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'constant_valu' in scope SELECT 1 AS constant_value, constant_valu SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c9863ba in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fac5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:19.504527 [ 2936 ] {6d2e9ddf-5249-4464-a4ce-a4d34126d7ab} executeQuery: Code: 47. DB::Exception: Unknown expression or function identifier 'constant_valu' in scope lambda_argument -> (lambda_argument + constant_valu). Maybe you meant: ['constant_value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54094) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT 1 AS constant_value, arrayMap(lambda_argument -> lambda_argument + constant_valu, [1, 2, 3]) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c9863ba in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fac5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4734: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c932618 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4494: DB::(anonymous namespace)::QueryAnalyzer::resolveLambda(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c939515 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5146: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93661f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:13:19.506263 [ 2936 ] {6d2e9ddf-5249-4464-a4ce-a4d34126d7ab} TCPHandler: Code: 47. DB::Exception: Unknown expression or function identifier 'constant_valu' in scope lambda_argument -> (lambda_argument + constant_valu). Maybe you meant: ['constant_value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c9863ba in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fac5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4734: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c932618 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4494: DB::(anonymous namespace)::QueryAnalyzer::resolveLambda(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c939515 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5146: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93661f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:13:20.157281 [ 2931 ] {02421_truncate_isolation_with_mutations_test_dpzsm4ui_tx11_26301} executeQuery: Code: 650. DB::Exception: Serialization error: Transaction (32, 40, 621b10ba-14b1-4b21-a7e2-3be6ac0e9a7c) tried to remove data part all_1_1_0 from test_dpzsm4ui.tt (c4a942bc-430f-4bde-9de5-9d50b006e095), but it's locked by another transaction (TID: (32, 41, 621b10ba-14b1-4b21-a7e2-3be6ac0e9a7c), TIDH: 12492816577268767206) which is currently removing this part. (SERIALIZATION_ERROR) (version 23.8.16.41.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:49310) (in query: truncate table tt), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::TransactionID const&, String&, String&&, DB::TransactionID&&, unsigned long&) @ 0x000000001cf9621a in /usr/bin/clickhouse 6. /build/src/Interpreters/TransactionVersionMetadata.cpp:62: DB::VersionMetadata::lockRemovalTID(DB::TransactionID const&, DB::TransactionInfoContext const&) @ 0x000000001cf92c4f in /usr/bin/clickhouse 7. /build/src/Interpreters/MergeTreeTransaction.cpp:149: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::TransactionInfoContext const&) @ 0x000000001cc56acf in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeTreeTransaction.cpp:93: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::MergeTreeTransaction*) @ 0x000000001cc56947 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:3962: DB::MergeTreeData::removePartsFromWorkingSet(DB::MergeTreeTransaction*, std::vector, std::allocator>> const&, bool, DB::DataPartsLock&) @ 0x000000001de9b7f3 in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:1748: DB::StorageMergeTree::truncate(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, DB::TableExclusiveLockHolder&) @ 0x000000001e374873 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterDropQuery.cpp:221: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001c8b69a4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001c8b4db4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x000000001c8b462e in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 16. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 17. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 18. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 24. ? @ 0x00007f1d281b3ac3 in ? 25. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:20.158241 [ 2931 ] {02421_truncate_isolation_with_mutations_test_dpzsm4ui_tx11_26301} DynamicQueryHandler: Code: 650. DB::Exception: Serialization error: Transaction (32, 40, 621b10ba-14b1-4b21-a7e2-3be6ac0e9a7c) tried to remove data part all_1_1_0 from test_dpzsm4ui.tt (c4a942bc-430f-4bde-9de5-9d50b006e095), but it's locked by another transaction (TID: (32, 41, 621b10ba-14b1-4b21-a7e2-3be6ac0e9a7c), TIDH: 12492816577268767206) which is currently removing this part. (SERIALIZATION_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::TransactionID const&, String&, String&&, DB::TransactionID&&, unsigned long&) @ 0x000000001cf9621a in /usr/bin/clickhouse 6. /build/src/Interpreters/TransactionVersionMetadata.cpp:62: DB::VersionMetadata::lockRemovalTID(DB::TransactionID const&, DB::TransactionInfoContext const&) @ 0x000000001cf92c4f in /usr/bin/clickhouse 7. /build/src/Interpreters/MergeTreeTransaction.cpp:149: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::TransactionInfoContext const&) @ 0x000000001cc56acf in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeTreeTransaction.cpp:93: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::MergeTreeTransaction*) @ 0x000000001cc56947 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:3962: DB::MergeTreeData::removePartsFromWorkingSet(DB::MergeTreeTransaction*, std::vector, std::allocator>> const&, bool, DB::DataPartsLock&) @ 0x000000001de9b7f3 in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:1748: DB::StorageMergeTree::truncate(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, DB::TableExclusiveLockHolder&) @ 0x000000001e374873 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterDropQuery.cpp:221: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001c8b69a4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001c8b4db4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x000000001c8b462e in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 16. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 17. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 18. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 24. ? @ 0x00007f1d281b3ac3 in ? 25. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:13:21.588789 [ 2930 ] {c4788734-f7f7-423f-b574-f08299614d50} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'constant_valu' in scope (SELECT constant_valu). Maybe you meant: ['constant_value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:44444) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH 1 AS constant_value SELECT (SELECT constant_valu) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c9863ba in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fac5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5583: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c9203fd in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 16. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:21.590491 [ 2930 ] {c4788734-f7f7-423f-b574-f08299614d50} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'constant_valu' in scope (SELECT constant_valu). Maybe you meant: ['constant_value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c9863ba in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fac5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5583: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c9203fd in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 16. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:25.596054 [ 6138 ] {78331560-3ee2-4d1c-a8c4-9cc387976ce0} executeQuery: Code: 47. DB::Exception: Identifier value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from table with name test_878ycfvo.test_table_compound. In scope SELECT value.value_ FROM test_table_compound SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:44540) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT value.value_ FROM test_table_compound SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c963f16 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c930406 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2863: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93f775 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2979: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93e1a3 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bb93 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92bf47 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b19b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:13:25.597907 [ 6138 ] {78331560-3ee2-4d1c-a8c4-9cc387976ce0} TCPHandler: Code: 47. DB::Exception: Identifier value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from table with name test_878ycfvo.test_table_compound. In scope SELECT value.value_ FROM test_table_compound SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c963f16 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c930406 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2863: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93f775 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2979: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93e1a3 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bb93 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92bf47 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b19b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:13:26.857384 [ 1272 ] {221ca413-4b27-41ee-ad68-a80b731898ee} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_82cvden9.t_json_async_insert FORMAT JSONAsObject' with query id b4cd6701-eda5-45a5-930d-93346e34ac82. DB::Exception: Cannot parse object: (at row 1) 2024.09.24 01:13:26.984995 [ 2936 ] {b4cd6701-eda5-45a5-930d-93346e34ac82} executeQuery: Code: 117. DB::Exception: Cannot parse object: (at row 1) : While executing WaitForAsyncInsert. (INCORRECT_DATA) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54136) (comment: 02421_type_json_async_insert.sh) (in query: INSERT INTO t_json_async_insert FORMAT JSONAsObject ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f983e in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationObject.cpp:58: void DB::SerializationObject>::deserializeTextImpl>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const::'lambda'(String&)>(DB::IColumn&, DB::SerializationObject>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const::'lambda'(String&)&&) const @ 0x000000001ba880d7 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationObject.cpp:123: DB::SerializationObject>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001ba7d6d1 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/JSONAsStringRowInputFormat.cpp:178: DB::JSONAsObjectRowInputFormat::readJSONObject(DB::IColumn&) @ 0x000000001e898b2b in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/JSONAsStringRowInputFormat.cpp:0: DB::JSONAsRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e8976fa in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 13. /build/src/Processors/Executors/StreamingFormatExecutor.cpp:60: DB::StreamingFormatExecutor::execute() @ 0x000000001e6fd261 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/StreamingFormatExecutor.cpp:44: DB::StreamingFormatExecutor::execute(DB::ReadBuffer&) @ 0x000000001e6fcdf2 in /usr/bin/clickhouse 15. /build/src/Interpreters/AsynchronousInsertQueue.cpp:582: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x000000001bd7bcbc in /usr/bin/clickhouse 16. /build/src/Interpreters/AsynchronousInsertQueue.cpp:202: DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_0::operator()() @ 0x000000001bd7e44a in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval>, std::shared_ptr)::$_0&>()()) std::__invoke[abi:v15000]>, std::shared_ptr)::$_0&>(DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_0&) @ 0x000000001bd7e3b5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call>, std::shared_ptr)::$_0&>(DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_0&) @ 0x000000001bd7e395 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>, std::shared_ptr)::$_0, void ()>::operator()[abi:v15000]() @ 0x000000001bd7e375 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_0, void ()>>(std::__function::__policy_storage const*) @ 0x000000001bd7e340 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 2024.09.24 01:13:26.986863 [ 2936 ] {b4cd6701-eda5-45a5-930d-93346e34ac82} TCPHandler: Code: 117. DB::Exception: Cannot parse object: (at row 1) : While executing WaitForAsyncInsert. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f983e in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationObject.cpp:58: void DB::SerializationObject>::deserializeTextImpl>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const::'lambda'(String&)>(DB::IColumn&, DB::SerializationObject>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const::'lambda'(String&)&&) const @ 0x000000001ba880d7 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationObject.cpp:123: DB::SerializationObject>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001ba7d6d1 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/JSONAsStringRowInputFormat.cpp:178: DB::JSONAsObjectRowInputFormat::readJSONObject(DB::IColumn&) @ 0x000000001e898b2b in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/JSONAsStringRowInputFormat.cpp:0: DB::JSONAsRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e8976fa in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 13. /build/src/Processors/Executors/StreamingFormatExecutor.cpp:60: DB::StreamingFormatExecutor::execute() @ 0x000000001e6fd261 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/StreamingFormatExecutor.cpp:44: DB::StreamingFormatExecutor::execute(DB::ReadBuffer&) @ 0x000000001e6fcdf2 in /usr/bin/clickhouse 15. /build/src/Interpreters/AsynchronousInsertQueue.cpp:582: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x000000001bd7bcbc in /usr/bin/clickhouse 16. /build/src/Interpreters/AsynchronousInsertQueue.cpp:202: DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_0::operator()() @ 0x000000001bd7e44a in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval>, std::shared_ptr)::$_0&>()()) std::__invoke[abi:v15000]>, std::shared_ptr)::$_0&>(DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_0&) @ 0x000000001bd7e3b5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call>, std::shared_ptr)::$_0&>(DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_0&) @ 0x000000001bd7e395 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>, std::shared_ptr)::$_0, void ()>::operator()[abi:v15000]() @ 0x000000001bd7e375 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_0, void ()>>(std::__function::__policy_storage const*) @ 0x000000001bd7e340 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 2024.09.24 01:13:27.703715 [ 6138 ] {d946f56a-f4e0-4def-b8df-a1fd8a365178} executeQuery: Code: 47. DB::Exception: Identifier test_table_compound.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from table with name test_878ycfvo.test_table_compound. In scope SELECT test_table_compound.value.value_ FROM test_table_compound SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:44614) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_table_compound.value.value_ FROM test_table_compound SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c963f16 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c930406 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2863: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93f775 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93e283 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bb93 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92bf47 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b19b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:13:27.705751 [ 6138 ] {d946f56a-f4e0-4def-b8df-a1fd8a365178} TCPHandler: Code: 47. DB::Exception: Identifier test_table_compound.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from table with name test_878ycfvo.test_table_compound. In scope SELECT test_table_compound.value.value_ FROM test_table_compound SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c963f16 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c930406 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2863: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93f775 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93e283 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bb93 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92bf47 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b19b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:13:29.658587 [ 6138 ] {1a6746c7-f851-4bd0-8101-70927f1d8261} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'test_tabl_compound.value.value_' in scope SELECT test_tabl_compound.value.value_ FROM test_table_compound SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:44666) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_tabl_compound.value.value_ FROM test_table_compound SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c9863ba in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fac5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:29.660267 [ 6138 ] {1a6746c7-f851-4bd0-8101-70927f1d8261} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'test_tabl_compound.value.value_' in scope SELECT test_tabl_compound.value.value_ FROM test_table_compound SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c9863ba in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fac5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:29.812722 [ 2931 ] {02421_truncate_isolation_with_mutations_test_dpzsm4ui_tx22_28781} executeQuery: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_2.txt' with part 'all_1_1_0' reason: 'Serialization error: part all_1_1_0 is locked by transaction 1296961502903493081'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED) (version 23.8.16.41.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:54910) (in query: alter table tt delete where n%2=1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000001e0d1ae4 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeMutationStatus.cpp:26: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000001e0d1890 in /usr/bin/clickhouse 7. /build/src/Storages/StorageMergeTree.cpp:580: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000001e365a98 in /usr/bin/clickhouse 8. /build/src/Storages/StorageMergeTree.cpp:550: DB::StorageMergeTree::waitForMutation(long, bool) @ 0x000000001e363648 in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:619: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000001e366d2e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:179: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d5f9a in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:29.813907 [ 2931 ] {02421_truncate_isolation_with_mutations_test_dpzsm4ui_tx22_28781} DynamicQueryHandler: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_2.txt' with part 'all_1_1_0' reason: 'Serialization error: part all_1_1_0 is locked by transaction 1296961502903493081'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000001e0d1ae4 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeMutationStatus.cpp:26: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000001e0d1890 in /usr/bin/clickhouse 7. /build/src/Storages/StorageMergeTree.cpp:580: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000001e365a98 in /usr/bin/clickhouse 8. /build/src/Storages/StorageMergeTree.cpp:550: DB::StorageMergeTree::waitForMutation(long, bool) @ 0x000000001e363648 in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:619: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000001e366d2e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:179: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d5f9a in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:13:31.593068 [ 5572 ] {ae3fb70e-af2e-4cb7-bbfd-4af90878eba4} executeQuery: Code: 47. DB::Exception: Identifier test_table_compound.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from table with name test_table_compound_alias. In scope SELECT test_table_compound.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:35936) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_table_compound.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c963f16 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c930406 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2863: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93f775 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93e283 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bb93 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92bf47 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b19b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:13:31.595861 [ 5572 ] {ae3fb70e-af2e-4cb7-bbfd-4af90878eba4} TCPHandler: Code: 47. DB::Exception: Identifier test_table_compound.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from table with name test_table_compound_alias. In scope SELECT test_table_compound.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c963f16 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c930406 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2863: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93f775 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93e283 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bb93 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92bf47 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b19b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:13:32.180371 [ 1123 ] {c9661dd3-4766-4b2c-bc2e-92aff0d382ca} executeQuery: Code: 36. DB::Exception: StorageKeeperMap requires one column in primary key. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:35964) (comment: 02416_keeper_map.sql) (in query: CREATE TABLE 02416_test (key String, value UInt32) Engine=KeeperMap('/' || currentDatabase() || '/test2416');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7c77e in /usr/bin/clickhouse 6. /build/src/Storages/StorageKeeperMap.cpp:980: DB::(anonymous namespace)::create(DB::StorageFactory::Arguments const&) @ 0x000000001d71a44b in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 13. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:32.181308 [ 1123 ] {c9661dd3-4766-4b2c-bc2e-92aff0d382ca} TCPHandler: Code: 36. DB::Exception: StorageKeeperMap requires one column in primary key. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7c77e in /usr/bin/clickhouse 6. /build/src/Storages/StorageKeeperMap.cpp:980: DB::(anonymous namespace)::create(DB::StorageFactory::Arguments const&) @ 0x000000001d71a44b in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 13. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:32.351239 [ 1123 ] {343b1e5b-370c-42ff-82d3-4f9a300c5c6d} executeQuery: Code: 47. DB::Exception: Missing columns: 'key2' while processing query: 'key2', required columns: 'key2' 'key2'. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:35964) (comment: 02416_keeper_map.sql) (in query: CREATE TABLE 02416_test (key String, value UInt32) Engine=KeeperMap('/' || currentDatabase() || '/test2416') PRIMARY KEY(key2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1355: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001cfa2798 in /usr/bin/clickhouse 8. /build/src/Storages/KeyDescription.cpp:140: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x000000001d5fcd80 in /usr/bin/clickhouse 9. /build/src/Storages/KeyDescription.cpp:90: DB::KeyDescription::getKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x000000001d5fd4da in /usr/bin/clickhouse 10. /build/src/Storages/StorageKeeperMap.cpp:982: DB::(anonymous namespace)::create(DB::StorageFactory::Arguments const&) @ 0x000000001d71a5a9 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 17. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:32.352189 [ 1123 ] {343b1e5b-370c-42ff-82d3-4f9a300c5c6d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'key2' while processing query: 'key2', required columns: 'key2' 'key2'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1355: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001cfa2798 in /usr/bin/clickhouse 8. /build/src/Storages/KeyDescription.cpp:140: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x000000001d5fcd80 in /usr/bin/clickhouse 9. /build/src/Storages/KeyDescription.cpp:90: DB::KeyDescription::getKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x000000001d5fd4da in /usr/bin/clickhouse 10. /build/src/Storages/StorageKeeperMap.cpp:982: DB::(anonymous namespace)::create(DB::StorageFactory::Arguments const&) @ 0x000000001d71a5a9 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 17. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:32.492004 [ 1123 ] {6c0c21b7-2fd0-436f-bdf7-50dc1d963170} executeQuery: Code: 36. DB::Exception: StorageKeeperMap requires one column in primary key. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:35964) (comment: 02416_keeper_map.sql) (in query: CREATE TABLE 02416_test (key String, value UInt32) Engine=KeeperMap('/' || currentDatabase() || '/test2416') PRIMARY KEY(key, value);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7c77e in /usr/bin/clickhouse 6. /build/src/Storages/StorageKeeperMap.cpp:985: DB::(anonymous namespace)::create(DB::StorageFactory::Arguments const&) @ 0x000000001d71a647 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 13. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:32.496067 [ 1123 ] {6c0c21b7-2fd0-436f-bdf7-50dc1d963170} TCPHandler: Code: 36. DB::Exception: StorageKeeperMap requires one column in primary key. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7c77e in /usr/bin/clickhouse 6. /build/src/Storages/StorageKeeperMap.cpp:985: DB::(anonymous namespace)::create(DB::StorageFactory::Arguments const&) @ 0x000000001d71a647 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 13. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:32.508203 [ 1123 ] {29568359-0276-4f26-8221-a5c03f419d9e} executeQuery: Code: 36. DB::Exception: StorageKeeperMap requires one column in primary key. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:35964) (comment: 02416_keeper_map.sql) (in query: CREATE TABLE 02416_test (key String, value UInt32) Engine=KeeperMap('/' || currentDatabase() || '/test2416') PRIMARY KEY(concat(key, value));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7c77e in /usr/bin/clickhouse 6. /build/src/Storages/StorageKeeperMap.cpp:985: DB::(anonymous namespace)::create(DB::StorageFactory::Arguments const&) @ 0x000000001d71a647 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 13. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:32.508923 [ 1123 ] {29568359-0276-4f26-8221-a5c03f419d9e} TCPHandler: Code: 36. DB::Exception: StorageKeeperMap requires one column in primary key. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7c77e in /usr/bin/clickhouse 6. /build/src/Storages/StorageKeeperMap.cpp:985: DB::(anonymous namespace)::create(DB::StorageFactory::Arguments const&) @ 0x000000001d71a647 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 13. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:33.455408 [ 6745 ] {2ad37b3f-b351-4f80-8f1a-5a847d3309a5} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'test_tabl_compound.value.value_' in scope SELECT test_tabl_compound.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:35990) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_tabl_compound.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c9863ba in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fac5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:33.457438 [ 6745 ] {2ad37b3f-b351-4f80-8f1a-5a847d3309a5} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'test_tabl_compound.value.value_' in scope SELECT test_tabl_compound.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c9863ba in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fac5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:35.380323 [ 6138 ] {fbc39619-18c3-4546-9de0-6a81597c5337} executeQuery: Code: 47. DB::Exception: Identifier test_table_compound_alias.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from table with name test_table_compound_alias. In scope SELECT test_table_compound_alias.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound_alias.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36000) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_table_compound_alias.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c963f16 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c930406 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2863: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93f775 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93e283 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bb93 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92bf47 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b19b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:13:35.382651 [ 6138 ] {fbc39619-18c3-4546-9de0-6a81597c5337} TCPHandler: Code: 47. DB::Exception: Identifier test_table_compound_alias.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from table with name test_table_compound_alias. In scope SELECT test_table_compound_alias.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound_alias.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c963f16 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c930406 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2863: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93f775 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93e283 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bb93 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92bf47 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b19b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:13:37.238840 [ 6138 ] {ac469668-7cb7-4c63-baf1-badb33566ff5} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'test_table_compound_alia.value.value_' in scope SELECT test_table_compound_alia.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound_alias.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36032) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_table_compound_alia.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c9863ba in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fac5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:37.241008 [ 6138 ] {ac469668-7cb7-4c63-baf1-badb33566ff5} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'test_table_compound_alia.value.value_' in scope SELECT test_table_compound_alia.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound_alias.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c9863ba in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fac5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:38.690630 [ 1123 ] {6dbf5837-7290-4bc4-b5c9-7beafd9a4096} executeQuery: Code: 43. DB::Exception: Illegal types of arguments: Map(String, UInt8), UInt8 for function arrayElement. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36058) (comment: 02407_array_element_from_map_wrong_type.sql) (in query: select m[0], materialize(map('key', 42)) as m;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayElement.cpp:1022: DB::FunctionArrayElement::executeMap(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000013160c24 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayElement.cpp:1084: DB::FunctionArrayElement::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000131617d2 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:13:38.691560 [ 1123 ] {6dbf5837-7290-4bc4-b5c9-7beafd9a4096} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments: Map(String, UInt8), UInt8 for function arrayElement. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayElement.cpp:1022: DB::FunctionArrayElement::executeMap(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000013160c24 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayElement.cpp:1084: DB::FunctionArrayElement::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000131617d2 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:13:39.186909 [ 2936 ] {38c77762-eb11-414a-a68b-2d72738591c6} executeQuery: Code: 47. DB::Exception: Identifier value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from subquery. In scope SELECT value.value_ FROM (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36090) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT value.value_ FROM (SELECT cast(tuple(1), 'Tuple(value_1 String)') AS value) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c963f16 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c930406 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2863: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93f775 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2979: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93e1a3 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bb93 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92bf47 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b19b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:13:39.188676 [ 2936 ] {38c77762-eb11-414a-a68b-2d72738591c6} TCPHandler: Code: 47. DB::Exception: Identifier value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from subquery. In scope SELECT value.value_ FROM (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c963f16 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c930406 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2863: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93f775 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2979: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93e1a3 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bb93 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92bf47 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b19b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:13:41.067488 [ 1123 ] {f3c7394f-cf8f-4664-a428-fe150f7b3bb9} executeQuery: Code: 47. DB::Exception: Identifier subquery.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from subquery with name subquery. In scope SELECT subquery.value.value_ FROM (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) AS subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['subquery.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:41944) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT subquery.value.value_ FROM (SELECT cast(tuple(1), 'Tuple(value_1 String)') AS value) AS subquery SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c963f16 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c930406 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2863: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93f775 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93e283 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bb93 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92bf47 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b19b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:13:41.069708 [ 1123 ] {f3c7394f-cf8f-4664-a428-fe150f7b3bb9} TCPHandler: Code: 47. DB::Exception: Identifier subquery.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from subquery with name subquery. In scope SELECT subquery.value.value_ FROM (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) AS subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['subquery.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c963f16 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c930406 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2863: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93f775 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93e283 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bb93 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92bf47 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b19b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:13:41.857055 [ 1272 ] {e41e7db6-9f3c-4eba-be9d-c4f5a530defb} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_82cvden9.t_json_async_insert FORMAT JSONAsObject' with query id 0618142f-6fe0-4af6-98a7-e488c6a7fb02. DB::Exception: Cannot parse object: (at row 1) 2024.09.24 01:13:41.859212 [ 5572 ] {0618142f-6fe0-4af6-98a7-e488c6a7fb02} executeQuery: Code: 117. DB::Exception: Cannot parse object: (at row 1) : While executing WaitForAsyncInsert. (INCORRECT_DATA) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:35978) (comment: 02421_type_json_async_insert.sh) (in query: INSERT INTO t_json_async_insert FORMAT JSONAsObject ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f983e in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationObject.cpp:58: void DB::SerializationObject>::deserializeTextImpl>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const::'lambda'(String&)>(DB::IColumn&, DB::SerializationObject>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const::'lambda'(String&)&&) const @ 0x000000001ba880d7 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationObject.cpp:123: DB::SerializationObject>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001ba7d6d1 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/JSONAsStringRowInputFormat.cpp:178: DB::JSONAsObjectRowInputFormat::readJSONObject(DB::IColumn&) @ 0x000000001e898b2b in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/JSONAsStringRowInputFormat.cpp:0: DB::JSONAsRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e8976fa in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 13. /build/src/Processors/Executors/StreamingFormatExecutor.cpp:60: DB::StreamingFormatExecutor::execute() @ 0x000000001e6fd261 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/StreamingFormatExecutor.cpp:44: DB::StreamingFormatExecutor::execute(DB::ReadBuffer&) @ 0x000000001e6fcdf2 in /usr/bin/clickhouse 15. /build/src/Interpreters/AsynchronousInsertQueue.cpp:582: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x000000001bd7bcbc in /usr/bin/clickhouse 16. /build/src/Interpreters/AsynchronousInsertQueue.cpp:202: DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_0::operator()() @ 0x000000001bd7e44a in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval>, std::shared_ptr)::$_0&>()()) std::__invoke[abi:v15000]>, std::shared_ptr)::$_0&>(DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_0&) @ 0x000000001bd7e3b5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call>, std::shared_ptr)::$_0&>(DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_0&) @ 0x000000001bd7e395 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>, std::shared_ptr)::$_0, void ()>::operator()[abi:v15000]() @ 0x000000001bd7e375 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_0, void ()>>(std::__function::__policy_storage const*) @ 0x000000001bd7e340 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 2024.09.24 01:13:41.861590 [ 5572 ] {0618142f-6fe0-4af6-98a7-e488c6a7fb02} TCPHandler: Code: 117. DB::Exception: Cannot parse object: (at row 1) : While executing WaitForAsyncInsert. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f983e in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationObject.cpp:58: void DB::SerializationObject>::deserializeTextImpl>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const::'lambda'(String&)>(DB::IColumn&, DB::SerializationObject>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const::'lambda'(String&)&&) const @ 0x000000001ba880d7 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationObject.cpp:123: DB::SerializationObject>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001ba7d6d1 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/JSONAsStringRowInputFormat.cpp:178: DB::JSONAsObjectRowInputFormat::readJSONObject(DB::IColumn&) @ 0x000000001e898b2b in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/JSONAsStringRowInputFormat.cpp:0: DB::JSONAsRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e8976fa in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 13. /build/src/Processors/Executors/StreamingFormatExecutor.cpp:60: DB::StreamingFormatExecutor::execute() @ 0x000000001e6fd261 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/StreamingFormatExecutor.cpp:44: DB::StreamingFormatExecutor::execute(DB::ReadBuffer&) @ 0x000000001e6fcdf2 in /usr/bin/clickhouse 15. /build/src/Interpreters/AsynchronousInsertQueue.cpp:582: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x000000001bd7bcbc in /usr/bin/clickhouse 16. /build/src/Interpreters/AsynchronousInsertQueue.cpp:202: DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_0::operator()() @ 0x000000001bd7e44a in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval>, std::shared_ptr)::$_0&>()()) std::__invoke[abi:v15000]>, std::shared_ptr)::$_0&>(DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_0&) @ 0x000000001bd7e3b5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call>, std::shared_ptr)::$_0&>(DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_0&) @ 0x000000001bd7e395 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>, std::shared_ptr)::$_0, void ()>::operator()[abi:v15000]() @ 0x000000001bd7e375 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_0, void ()>>(std::__function::__policy_storage const*) @ 0x000000001bd7e340 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 2024.09.24 01:13:43.028589 [ 5572 ] {a5869485-9866-4dae-884e-938cfaedc6af} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'subquer.value.value_' in scope SELECT subquer.value.value_ FROM (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) AS subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['subquery.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:41990) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT subquer.value.value_ FROM (SELECT cast(tuple(1), 'Tuple(value_1 String)') AS value) AS subquery SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c9863ba in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fac5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:43.030114 [ 5572 ] {a5869485-9866-4dae-884e-938cfaedc6af} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'subquer.value.value_' in scope SELECT subquer.value.value_ FROM (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) AS subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['subquery.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c9863ba in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fac5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:44.763279 [ 2936 ] {fb3dba35-45d8-4bee-ad8b-b8cb7281320f} executeQuery: Code: 44. DB::Exception: Illegal column Array(String) of argument of function concat. (ILLEGAL_COLUMN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:41966) (comment: 02389_analyzer_nested_lambda.sql) (in query: SELECT arrayMap(x -> concat(toString(id), arrayMap(x -> toString(1), [NULL])), [NULL]) FROM test_table;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/concat.cpp:148: DB::(anonymous namespace)::ConcatImpl::executeFormatImpl(std::vector> const&, unsigned long) const @ 0x000000000d9146dd in /usr/bin/clickhouse 7. /build/src/Functions/concat.cpp:110: DB::(anonymous namespace)::ConcatImpl::executeBinary(std::vector> const&, unsigned long) const @ 0x000000000d914251 in /usr/bin/clickhouse 8. /build/src/Functions/concat.cpp:81: DB::(anonymous namespace)::ConcatImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d913a5f in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 17. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 19. /build/src/Planner/Planner.cpp:232: DB::(anonymous namespace)::addExpressionStep(DB::QueryPlan&, std::shared_ptr const&, String const&, std::vector, std::allocator>>&) @ 0x000000001cb6e31a in /usr/bin/clickhouse 20. /build/src/Planner/Planner.cpp:1339: DB::Planner::buildPlanForQueryNode() @ 0x000000001cb6b97d in /usr/bin/clickhouse 21. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001cb68c39 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001cb6705d in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1039: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0872 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:13:44.764721 [ 2936 ] {fb3dba35-45d8-4bee-ad8b-b8cb7281320f} TCPHandler: Code: 44. DB::Exception: Illegal column Array(String) of argument of function concat. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/concat.cpp:148: DB::(anonymous namespace)::ConcatImpl::executeFormatImpl(std::vector> const&, unsigned long) const @ 0x000000000d9146dd in /usr/bin/clickhouse 7. /build/src/Functions/concat.cpp:110: DB::(anonymous namespace)::ConcatImpl::executeBinary(std::vector> const&, unsigned long) const @ 0x000000000d914251 in /usr/bin/clickhouse 8. /build/src/Functions/concat.cpp:81: DB::(anonymous namespace)::ConcatImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d913a5f in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 17. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 19. /build/src/Planner/Planner.cpp:232: DB::(anonymous namespace)::addExpressionStep(DB::QueryPlan&, std::shared_ptr const&, String const&, std::vector, std::allocator>>&) @ 0x000000001cb6e31a in /usr/bin/clickhouse 20. /build/src/Planner/Planner.cpp:1339: DB::Planner::buildPlanForQueryNode() @ 0x000000001cb6b97d in /usr/bin/clickhouse 21. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001cb68c39 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001cb6705d in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1039: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0872 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:13:45.200179 [ 1123 ] {f2f114a2-bc02-47e5-bf84-89bc077a139a} executeQuery: Code: 47. DB::Exception: Identifier value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from subquery. In scope WITH cte_subquery AS (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SELECT value.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:42028) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH cte_subquery AS (SELECT cast(tuple(1), 'Tuple(value_1 String)') AS value) SELECT value.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c963f16 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c930406 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2863: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93f775 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2979: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93e1a3 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bb93 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92bf47 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b19b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:13:45.202365 [ 1123 ] {f2f114a2-bc02-47e5-bf84-89bc077a139a} TCPHandler: Code: 47. DB::Exception: Identifier value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from subquery. In scope WITH cte_subquery AS (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SELECT value.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c963f16 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c930406 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2863: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93f775 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2979: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93e1a3 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bb93 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92bf47 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b19b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:13:45.408335 [ 2930 ] {39d300cc-159c-4af0-bc7d-dae73acd80c0} executeQuery: Code: 36. DB::Exception: Compound identifier 'lambda.nested' cannot be resolved as function. In scope WITH x -> (x + 1) AS lambda SELECT lambda.nested(1). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:42018) (comment: 02385_analyzer_aliases_compound_expression.sql) (in query: WITH (x -> x + 1) AS lambda SELECT lambda.nested(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const*&&, String&&) @ 0x000000001c97a108 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2657: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92cc84 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b0ff in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4562: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c930f49 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:45.409182 [ 2930 ] {39d300cc-159c-4af0-bc7d-dae73acd80c0} TCPHandler: Code: 36. DB::Exception: Compound identifier 'lambda.nested' cannot be resolved as function. In scope WITH x -> (x + 1) AS lambda SELECT lambda.nested(1). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const*&&, String&&) @ 0x000000001c97a108 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2657: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92cc84 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b0ff in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4562: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c930f49 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:45.619857 [ 2930 ] {461835de-5d38-4629-85ca-22f7c46d9d81} executeQuery: Code: 36. DB::Exception: Compound identifier 't1.nested' cannot be resolved as table expression. In scope SELECT * FROM (SELECT 1) AS t1, t1.nested AS t2. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:42018) (comment: 02385_analyzer_aliases_compound_expression.sql) (in query: SELECT * FROM (SELECT 1) AS t1, t1.nested AS t2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const*&&, String&&) @ 0x000000001c97a108 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2657: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92cc84 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b0ff in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5936: DB::(anonymous namespace)::QueryAnalyzer::initializeQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925e69 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6962: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a932 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:45.620722 [ 2930 ] {461835de-5d38-4629-85ca-22f7c46d9d81} TCPHandler: Code: 36. DB::Exception: Compound identifier 't1.nested' cannot be resolved as table expression. In scope SELECT * FROM (SELECT 1) AS t1, t1.nested AS t2. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const*&&, String&&) @ 0x000000001c97a108 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2657: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92cc84 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b0ff in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5936: DB::(anonymous namespace)::QueryAnalyzer::initializeQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925e69 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6962: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a932 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:45.627972 [ 2930 ] {7a9ffef3-2118-461b-9696-2dcc341ed174} executeQuery: Code: 36. DB::Exception: Compound identifier 't1.nested' cannot be resolved as table expression. In scope SELECT * FROM t1.nested AS t2, (SELECT 1) AS t1. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:42018) (comment: 02385_analyzer_aliases_compound_expression.sql) (in query: SELECT * FROM t1.nested AS t2, (SELECT 1) AS t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const*&&, String&&) @ 0x000000001c97a108 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2657: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92cc84 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b0ff in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5936: DB::(anonymous namespace)::QueryAnalyzer::initializeQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925e69 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6962: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a932 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:45.628671 [ 2930 ] {7a9ffef3-2118-461b-9696-2dcc341ed174} TCPHandler: Code: 36. DB::Exception: Compound identifier 't1.nested' cannot be resolved as table expression. In scope SELECT * FROM t1.nested AS t2, (SELECT 1) AS t1. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const*&&, String&&) @ 0x000000001c97a108 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2657: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92cc84 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b0ff in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5936: DB::(anonymous namespace)::QueryAnalyzer::initializeQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925e69 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6962: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a932 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:47.419238 [ 2930 ] {b2df09c7-0e2e-4e4c-978c-81fb28cefe24} executeQuery: Code: 47. DB::Exception: Identifier cte_subquery.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from subquery. In scope WITH cte_subquery AS (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquery.value.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:42064) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH cte_subquery AS (SELECT cast(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquery.value.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c963f16 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c930406 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2863: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93f775 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93e283 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bb93 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92bf47 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b19b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:13:47.421369 [ 2930 ] {b2df09c7-0e2e-4e4c-978c-81fb28cefe24} TCPHandler: Code: 47. DB::Exception: Identifier cte_subquery.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from subquery. In scope WITH cte_subquery AS (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquery.value.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c963f16 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c930406 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2863: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93f775 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93e283 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bb93 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92bf47 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b19b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:13:47.957252 [ 1123 ] {e46366a1-0652-4c95-8f7f-f8d1665dea64} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:42080) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:47.958265 [ 1123 ] {e46366a1-0652-4c95-8f7f-f8d1665dea64} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:49.306490 [ 1123 ] {b03a4a2b-9580-4a32-a60a-566195fb34f5} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'cte_subquer.value.value_' in scope WITH cte_subquery AS (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquer.value.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:42108) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH cte_subquery AS (SELECT cast(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquer.value.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c9863ba in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fac5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:49.309430 [ 1123 ] {b03a4a2b-9580-4a32-a60a-566195fb34f5} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'cte_subquer.value.value_' in scope WITH cte_subquery AS (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquer.value.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c9863ba in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fac5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:51.470354 [ 2936 ] {46809022-02e0-446f-acc2-1ca47907135f} executeQuery: Code: 47. DB::Exception: Identifier cte_subquery_alias.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from subquery with name cte_subquery_alias. In scope WITH cte_subquery AS (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquery_alias.value.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery_alias.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:46926) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH cte_subquery AS (SELECT cast(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquery_alias.value.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c963f16 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c930406 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2863: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93f775 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93e283 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bb93 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92bf47 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b19b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:13:51.472027 [ 2936 ] {46809022-02e0-446f-acc2-1ca47907135f} TCPHandler: Code: 47. DB::Exception: Identifier cte_subquery_alias.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from subquery with name cte_subquery_alias. In scope WITH cte_subquery AS (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquery_alias.value.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery_alias.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c963f16 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c930406 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2863: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93f775 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93e283 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bb93 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92bf47 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b19b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:13:52.071307 [ 2936 ] {62eea258-8d56-41fe-b36f-27154823cf69} executeQuery: Code: 47. DB::Exception: Missing columns: 'Price' while processing query: 'SELECT Price FROM (SELECT * FROM test_metqbsjy.test_02428_Catalog WHERE Price = {price:UInt64}) AS test_02428_pv1', required columns: 'Price'. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:46936) (comment: 02428_parameterized_view.sh) (in query: SELECT Price FROM test_02428_pv1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:52.073247 [ 2936 ] {62eea258-8d56-41fe-b36f-27154823cf69} TCPHandler: Code: 47. DB::Exception: Missing columns: 'Price' while processing query: 'SELECT Price FROM (SELECT * FROM test_metqbsjy.test_02428_Catalog WHERE Price = {price:UInt64}) AS test_02428_pv1', required columns: 'Price'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:53.562924 [ 5572 ] {b63757e7-02f5-40f1-b451-c42dedd87dbe} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'cte_subquery_alia.value.value_' in scope WITH cte_subquery AS (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquery_alia.value.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery_alias.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:46984) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH cte_subquery AS (SELECT cast(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquery_alia.value.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c9863ba in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fac5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:53.566021 [ 5572 ] {b63757e7-02f5-40f1-b451-c42dedd87dbe} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'cte_subquery_alia.value.value_' in scope WITH cte_subquery AS (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquery_alia.value.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery_alias.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c9863ba in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fac5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:53.774002 [ 2936 ] {41d8fa08-836c-4542-b5cc-305386ad4770} executeQuery: Code: 36. DB::Exception: JOIN test_1qio12ob.test_table_join_1 AS t1 ALL INNER JOIN test_1qio12ob.test_table_join_2 AS t2 USING (id, id, id) identifier 'id' appears more than once in USING clause. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:46954) (comment: 02382_analyzer_matcher_join_using.sql) (in query: SELECT * FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 USING (id, id, id) ORDER BY id, t1.value;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f7bec in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6649: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9464dd in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926fbd in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:53.775074 [ 2936 ] {41d8fa08-836c-4542-b5cc-305386ad4770} TCPHandler: Code: 36. DB::Exception: JOIN test_1qio12ob.test_table_join_1 AS t1 ALL INNER JOIN test_1qio12ob.test_table_join_2 AS t2 USING (id, id, id) identifier 'id' appears more than once in USING clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f7bec in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6649: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9464dd in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926fbd in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:55.613771 [ 5572 ] {c44169e7-77c0-4ba1-83bd-0d03ba611ceb} executeQuery: Code: 47. DB::Exception: Identifier constant_value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String). In scope SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS constant_value, constant_value.value_ SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:47050) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT cast(tuple(1), 'Tuple(value_1 String)') AS constant_value, constant_value.value_ SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c963f16 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c930406 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2653: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92cadc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b0ff in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:55.615412 [ 5572 ] {c44169e7-77c0-4ba1-83bd-0d03ba611ceb} TCPHandler: Code: 47. DB::Exception: Identifier constant_value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String). In scope SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS constant_value, constant_value.value_ SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c963f16 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c930406 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2653: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92cadc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b0ff in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:57.545595 [ 6138 ] {bdc1e9b1-f06e-47cb-8aa8-45d1e4207f08} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'constant_valu.value_' in scope SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS constant_value, constant_valu.value_ SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:47106) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT cast(tuple(1), 'Tuple(value_1 String)') AS constant_value, constant_valu.value_ SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c9863ba in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fac5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:57.547160 [ 6138 ] {bdc1e9b1-f06e-47cb-8aa8-45d1e4207f08} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'constant_valu.value_' in scope SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS constant_value, constant_valu.value_ SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c9863ba in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fac5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:13:59.631036 [ 2936 ] {e5e9d42c-0059-4888-b335-7412870d90ac} executeQuery: Code: 47. DB::Exception: Identifier constant_value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String). In scope SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS constant_value, arrayMap(lambda_argument -> (lambda_argument + constant_value.value_), [1, 2, 3]) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:47178) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT cast(tuple(1), 'Tuple(value_1 String)') AS constant_value, arrayMap(lambda_argument -> lambda_argument + constant_value.value_, [1, 2, 3]) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c963f16 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c930406 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2653: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92cadc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b0ff in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3376: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierInParentScopes(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92ce75 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3566: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b381 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4734: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c932618 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4494: DB::(anonymous namespace)::QueryAnalyzer::resolveLambda(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c939515 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5146: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93661f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 23. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:13:59.633393 [ 2936 ] {e5e9d42c-0059-4888-b335-7412870d90ac} TCPHandler: Code: 47. DB::Exception: Identifier constant_value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String). In scope SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS constant_value, arrayMap(lambda_argument -> (lambda_argument + constant_value.value_), [1, 2, 3]) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c963f16 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c930406 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2653: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92cadc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b0ff in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3376: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierInParentScopes(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92ce75 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3566: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b381 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4734: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c932618 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4494: DB::(anonymous namespace)::QueryAnalyzer::resolveLambda(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c939515 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5146: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93661f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 23. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:14:00.221156 [ 2931 ] {02421_truncate_isolation_with_mutations_test_dpzsm4ui_tx43_19192} executeQuery: Code: 650. DB::Exception: Serialization error: Transaction (36, 43, 621b10ba-14b1-4b21-a7e2-3be6ac0e9a7c) tried to remove data part all_1_1_0 from test_dpzsm4ui.tt (f6d2ec2d-33c0-471f-9434-3054491b8c00), but it's locked by another transaction (TID: (36, 40, 621b10ba-14b1-4b21-a7e2-3be6ac0e9a7c), TIDH: 8112364924159669384) which is currently removing this part. (SERIALIZATION_ERROR) (version 23.8.16.41.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:38368) (in query: alter table tt drop partition id 'all'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::TransactionID const&, String&, String&&, DB::TransactionID&&, unsigned long&) @ 0x000000001cf9621a in /usr/bin/clickhouse 6. /build/src/Interpreters/TransactionVersionMetadata.cpp:62: DB::VersionMetadata::lockRemovalTID(DB::TransactionID const&, DB::TransactionInfoContext const&) @ 0x000000001cf92c4f in /usr/bin/clickhouse 7. /build/src/Interpreters/MergeTreeTransaction.cpp:149: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::TransactionInfoContext const&) @ 0x000000001cc56acf in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeTreeTransaction.cpp:93: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::MergeTreeTransaction*) @ 0x000000001cc56947 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:3962: DB::MergeTreeData::removePartsFromWorkingSet(DB::MergeTreeTransaction*, std::vector, std::allocator>> const&, bool, DB::DataPartsLock&) @ 0x000000001de9b7f3 in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:1873: DB::StorageMergeTree::dropPartition(std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001e37a867 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeData.cpp:5144: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001dead70a in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 16. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 17. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 18. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 24. ? @ 0x00007f1d281b3ac3 in ? 25. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:00.222373 [ 2931 ] {02421_truncate_isolation_with_mutations_test_dpzsm4ui_tx43_19192} DynamicQueryHandler: Code: 650. DB::Exception: Serialization error: Transaction (36, 43, 621b10ba-14b1-4b21-a7e2-3be6ac0e9a7c) tried to remove data part all_1_1_0 from test_dpzsm4ui.tt (f6d2ec2d-33c0-471f-9434-3054491b8c00), but it's locked by another transaction (TID: (36, 40, 621b10ba-14b1-4b21-a7e2-3be6ac0e9a7c), TIDH: 8112364924159669384) which is currently removing this part. (SERIALIZATION_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::TransactionID const&, String&, String&&, DB::TransactionID&&, unsigned long&) @ 0x000000001cf9621a in /usr/bin/clickhouse 6. /build/src/Interpreters/TransactionVersionMetadata.cpp:62: DB::VersionMetadata::lockRemovalTID(DB::TransactionID const&, DB::TransactionInfoContext const&) @ 0x000000001cf92c4f in /usr/bin/clickhouse 7. /build/src/Interpreters/MergeTreeTransaction.cpp:149: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::TransactionInfoContext const&) @ 0x000000001cc56acf in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeTreeTransaction.cpp:93: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::MergeTreeTransaction*) @ 0x000000001cc56947 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:3962: DB::MergeTreeData::removePartsFromWorkingSet(DB::MergeTreeTransaction*, std::vector, std::allocator>> const&, bool, DB::DataPartsLock&) @ 0x000000001de9b7f3 in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:1873: DB::StorageMergeTree::dropPartition(std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001e37a867 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeData.cpp:5144: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001dead70a in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 16. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 17. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 18. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 24. ? @ 0x00007f1d281b3ac3 in ? 25. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:14:00.359969 [ 2931 ] {02421_truncate_isolation_with_mutations_test_dpzsm4ui_tx43_6836} executeQuery: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION) (version 23.8.16.41.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:38396) (in query: commit), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000ceaf4de in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterTransactionControlQuery.cpp:56: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x000000001cbf7f55 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterTransactionControlQuery.cpp:29: DB::InterpreterTransactionControlQuery::execute() @ 0x000000001cbf7acd in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 11. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:00.360999 [ 2931 ] {02421_truncate_isolation_with_mutations_test_dpzsm4ui_tx43_6836} DynamicQueryHandler: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000ceaf4de in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterTransactionControlQuery.cpp:56: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x000000001cbf7f55 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterTransactionControlQuery.cpp:29: DB::InterpreterTransactionControlQuery::execute() @ 0x000000001cbf7acd in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 11. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:14:01.693944 [ 2936 ] {f7ff6c22-2e44-4a98-ba20-006140fe1980} executeQuery: Code: 47. DB::Exception: Identifier constant_value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String). In scope WITH CAST(tuple(1), 'Tuple(value_1 String)') AS constant_value SELECT (SELECT constant_value.value_) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39814) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH cast(tuple(1), 'Tuple(value_1 String)') AS constant_value SELECT (SELECT constant_value.value_) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c963f16 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c930406 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2653: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92cadc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b0ff in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3401: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierInParentScopes(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92d03e in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3566: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b381 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5583: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c9203fd in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 21. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 2024.09.24 01:14:01.695837 [ 2936 ] {f7ff6c22-2e44-4a98-ba20-006140fe1980} TCPHandler: Code: 47. DB::Exception: Identifier constant_value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String). In scope WITH CAST(tuple(1), 'Tuple(value_1 String)') AS constant_value SELECT (SELECT constant_value.value_) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c963f16 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c930406 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2653: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92cadc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b0ff in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3401: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierInParentScopes(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92d03e in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3566: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b381 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5583: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c9203fd in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 21. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 2024.09.24 01:14:02.670094 [ 1012 ] {c4170029-1fea-4aeb-ac1b-a484a8d10d57} executeQuery: Code: 60. DB::Exception: Table test_uvqo83yo.ddl_test_for_opentelemetry_non_exist does not exist. (UNKNOWN_TABLE) (version 23.8.16.41.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 02423_ddl_for_opentelemetry.sh) (in query: /* ddl_entry=query-0000000002 */ DROP TABLE test_uvqo83yo.ddl_test_for_opentelemetry_non_exist), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53612 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:940: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6238 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterDropQuery.cpp:121: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001c8b5721 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001c8b4db4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x000000001c8b462e in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 14. /build/src/Interpreters/DDLWorker.cpp:483: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001bec7884 in /usr/bin/clickhouse 15. /build/src/Interpreters/DDLWorker.cpp:646: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001bec660b in /usr/bin/clickhouse 16. /build/src/Interpreters/DDLWorker.cpp:426: DB::DDLWorker::scheduleTasks(bool) @ 0x000000001bec47e6 in /usr/bin/clickhouse 17. /build/src/Interpreters/DDLWorker.cpp:1126: DB::DDLWorker::runMainThread() @ 0x000000001bebc8c6 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x000000001bed7f69 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001bed7eed in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001bed7e3d in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001bed7d55 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x000000001bed7cb5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x000000001bed7c95 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001bed7c75 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001bed7c40 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 2024.09.24 01:14:02.671408 [ 1012 ] {c4170029-1fea-4aeb-ac1b-a484a8d10d57} DDLWorker: Query /* ddl_entry=query-0000000002 */ DROP TABLE test_uvqo83yo.ddl_test_for_opentelemetry_non_exist wasn't finished successfully: Code: 60. DB::Exception: Table test_uvqo83yo.ddl_test_for_opentelemetry_non_exist does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53612 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:940: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6238 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterDropQuery.cpp:121: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001c8b5721 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001c8b4db4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x000000001c8b462e in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 14. /build/src/Interpreters/DDLWorker.cpp:483: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001bec7884 in /usr/bin/clickhouse 15. /build/src/Interpreters/DDLWorker.cpp:646: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001bec660b in /usr/bin/clickhouse 16. /build/src/Interpreters/DDLWorker.cpp:426: DB::DDLWorker::scheduleTasks(bool) @ 0x000000001bec47e6 in /usr/bin/clickhouse 17. /build/src/Interpreters/DDLWorker.cpp:1126: DB::DDLWorker::runMainThread() @ 0x000000001bebc8c6 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x000000001bed7f69 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001bed7eed in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001bed7e3d in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001bed7d55 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x000000001bed7cb5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x000000001bed7c95 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001bed7c75 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001bed7c40 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:14:02.904187 [ 6138 ] {e75001a7-caaf-4d70-92f9-dd844eb52f97} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_uvqo83yo.ddl_test_for_opentelemetry_non_exist does not exist. (UNKNOWN_TABLE) (version 23.8.16.41.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39868) (comment: 02423_ddl_for_opentelemetry.sh) (in query: DROP TABLE test_uvqo83yo.ddl_test_for_opentelemetry_non_exist ON CLUSTER test_shard_localhost), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x000000001d09e648 in /usr/bin/clickhouse 6. /build/src/Interpreters/executeDDLQueryOnCluster.cpp:503: DB::DDLQueryStatusSource::generate() @ 0x000000001d09a5b0 in /usr/bin/clickhouse 7. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 8. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:49: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6cec1d in /usr/bin/clickhouse 16. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:90: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x000000001e6ceaaa in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x000000001e6cea55 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6cea39 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x000000001e6ce99d in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x000000001e6ce8a7 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x000000001e6ce815 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&) @ 0x000000001e6ce7f5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6ce7d5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6ce7a0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a610e2 in /usr/bin/clickhouse 2024.09.24 01:14:02.906122 [ 6138 ] {e75001a7-caaf-4d70-92f9-dd844eb52f97} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_uvqo83yo.ddl_test_for_opentelemetry_non_exist does not exist. (UNKNOWN_TABLE) (version 23.8.16.41.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x000000001d09e648 in /usr/bin/clickhouse 6. /build/src/Interpreters/executeDDLQueryOnCluster.cpp:503: DB::DDLQueryStatusSource::generate() @ 0x000000001d09a5b0 in /usr/bin/clickhouse 7. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 8. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:49: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6cec1d in /usr/bin/clickhouse 16. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:90: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x000000001e6ceaaa in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x000000001e6cea55 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6cea39 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x000000001e6ce99d in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x000000001e6ce8a7 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x000000001e6ce815 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&) @ 0x000000001e6ce7f5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6ce7d5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6ce7a0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a610e2 in /usr/bin/clickhouse 2024.09.24 01:14:03.940439 [ 2936 ] {9efec57f-174a-42dc-a085-3e489d5ab2f1} executeQuery: Code: 117. DB::Exception: Index 2 in Dictionary column is out of bounds, dictionary size is 2: While executing ArrowBlockInputFormat: While executing File. (INCORRECT_DATA) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39896) (comment: 02383_arrow_dict_special_cases.sh) (in query: select * from file('/var/lib/clickhouse/user_files/test-02383-1498-21186/corrupted.arrow')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, long&&, unsigned long&&) @ 0x000000001e74730c in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp:495: DB::ColumnWithTypeAndName DB::readColumnWithIndexesDataImpl>(std::shared_ptr&, String const&, long, char8_t, bool) @ 0x000000001e73bc62 in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp:580: DB::readColumnWithIndexesData(std::shared_ptr&, long, unsigned long, bool) @ 0x000000001e737963 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp:944: DB::readColumnFromArrowColumn(std::shared_ptr&, String const&, String const&, bool, std::unordered_map, std::equal_to, std::allocator>>&, bool, bool, bool&, std::shared_ptr, bool) @ 0x000000001e72e8b0 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp:1148: DB::ArrowColumnToCHColumn::arrowColumnsToCHChunk(DB::Chunk&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, unsigned long, DB::BlockMissingValues*) @ 0x000000001e730269 in /usr/bin/clickhouse 10. /build/src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp:1074: DB::ArrowColumnToCHColumn::arrowTableToCHChunk(DB::Chunk&, std::shared_ptr&, unsigned long, DB::BlockMissingValues*) @ 0x000000001e72f451 in /usr/bin/clickhouse 11. /build/src/Processors/Formats/Impl/ArrowBlockInputFormat.cpp:89: DB::ArrowBlockInputFormat::generate() @ 0x000000001e7087f0 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 13. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f6dbe in /usr/bin/clickhouse 19. /build/src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000001d6b141a in /usr/bin/clickhouse 20. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 21. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 2024.09.24 01:14:03.944254 [ 2936 ] {9efec57f-174a-42dc-a085-3e489d5ab2f1} TCPHandler: Code: 117. DB::Exception: Index 2 in Dictionary column is out of bounds, dictionary size is 2: While executing ArrowBlockInputFormat: While executing File. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, long&&, unsigned long&&) @ 0x000000001e74730c in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp:495: DB::ColumnWithTypeAndName DB::readColumnWithIndexesDataImpl>(std::shared_ptr&, String const&, long, char8_t, bool) @ 0x000000001e73bc62 in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp:580: DB::readColumnWithIndexesData(std::shared_ptr&, long, unsigned long, bool) @ 0x000000001e737963 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp:944: DB::readColumnFromArrowColumn(std::shared_ptr&, String const&, String const&, bool, std::unordered_map, std::equal_to, std::allocator>>&, bool, bool, bool&, std::shared_ptr, bool) @ 0x000000001e72e8b0 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp:1148: DB::ArrowColumnToCHColumn::arrowColumnsToCHChunk(DB::Chunk&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, unsigned long, DB::BlockMissingValues*) @ 0x000000001e730269 in /usr/bin/clickhouse 10. /build/src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp:1074: DB::ArrowColumnToCHColumn::arrowTableToCHChunk(DB::Chunk&, std::shared_ptr&, unsigned long, DB::BlockMissingValues*) @ 0x000000001e72f451 in /usr/bin/clickhouse 11. /build/src/Processors/Formats/Impl/ArrowBlockInputFormat.cpp:89: DB::ArrowBlockInputFormat::generate() @ 0x000000001e7087f0 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 13. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f6dbe in /usr/bin/clickhouse 19. /build/src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000001d6b141a in /usr/bin/clickhouse 20. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 21. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 2024.09.24 01:14:04.267439 [ 6745 ] {7e7520c2-bef3-43ca-a175-65a036cd7cbc} executeQuery: Code: 48. DB::Exception: Method write is not supported by storage View. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39912) (comment: 02428_parameterized_view.sh) (in query: INSERT INTO test_02428_pv1 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/IStorage.h:420: DB::IStorage::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001a9fab30 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:04.268885 [ 6745 ] {7e7520c2-bef3-43ca-a175-65a036cd7cbc} TCPHandler: Code: 48. DB::Exception: Method write is not supported by storage View. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/IStorage.h:420: DB::IStorage::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001a9fab30 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:05.988255 [ 6138 ] {dd498307-e948-42b6-8240-09d3bdeec36d} executeQuery: Code: 47. DB::Exception: Identifier 'test_table_1.value_' cannot be resolved from table with name test_878ycfvo.test_table_1. In scope SELECT test_table_1.value_ FROM test_table_1 INNER JOIN test_table_2 ON test_table_1.id = test_table_2.id SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_1.value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39944) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_table_1.value_ FROM test_table_1 INNER JOIN test_table_2 ON test_table_1.id = test_table_2.id SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x000000001c976bc4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2932: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c940279 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93e283 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bb93 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3003: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93c229 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bae5 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92bf47 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b19b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 2024.09.24 01:14:05.990148 [ 6138 ] {dd498307-e948-42b6-8240-09d3bdeec36d} TCPHandler: Code: 47. DB::Exception: Identifier 'test_table_1.value_' cannot be resolved from table with name test_878ycfvo.test_table_1. In scope SELECT test_table_1.value_ FROM test_table_1 INNER JOIN test_table_2 ON test_table_1.id = test_table_2.id SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_1.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x000000001c976bc4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2932: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c940279 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93e283 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bb93 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3003: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93c229 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bae5 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92bf47 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b19b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 2024.09.24 01:14:06.375513 [ 6745 ] {fc672d6c-895a-4c7d-a6af-11a055d3765b} executeQuery: Code: 46. DB::Exception: Unknown table function pv123: or incorrect parameterized view. (UNKNOWN_FUNCTION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39968) (comment: 02428_parameterized_view.sh) (in query: SELECT Price FROM pv123(price=20)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFactory.cpp:46: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15a18 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:06.377476 [ 6745 ] {fc672d6c-895a-4c7d-a6af-11a055d3765b} TCPHandler: Code: 46. DB::Exception: Unknown table function pv123: or incorrect parameterized view. (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFactory.cpp:46: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15a18 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:08.253678 [ 6138 ] {9a9388dc-e081-47c2-98ed-68ee6d71da27} executeQuery: Code: 47. DB::Exception: Identifier 'test_table_2.value_' cannot be resolved from table with name test_878ycfvo.test_table_2. In scope SELECT test_table_2.value_ FROM test_table_1 INNER JOIN test_table_2 ON test_table_1.id = test_table_2.id SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_2.value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40014) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_table_2.value_ FROM test_table_1 INNER JOIN test_table_2 ON test_table_1.id = test_table_2.id SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x000000001c976bc4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2932: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c940279 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93e283 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bb93 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3004: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93c25f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bae5 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92bf47 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b19b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 2024.09.24 01:14:08.255814 [ 6138 ] {9a9388dc-e081-47c2-98ed-68ee6d71da27} TCPHandler: Code: 47. DB::Exception: Identifier 'test_table_2.value_' cannot be resolved from table with name test_878ycfvo.test_table_2. In scope SELECT test_table_2.value_ FROM test_table_1 INNER JOIN test_table_2 ON test_table_1.id = test_table_2.id SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_2.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x000000001c976bc4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2932: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c940279 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93e283 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bb93 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3004: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93c25f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bae5 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92bf47 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b19b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 2024.09.24 01:14:09.835195 [ 2934 ] {e81d0458-ef79-4d12-bde0-4a223118b98f} executeQuery: Code: 46. DB::Exception: Unknown table function test_02428_v1: or incorrect parameterized view. (UNKNOWN_FUNCTION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40074) (comment: 02428_parameterized_view.sh) (in query: SELECT Price FROM test_02428_v1(price=10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFactory.cpp:46: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15a18 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:09.837060 [ 2934 ] {e81d0458-ef79-4d12-bde0-4a223118b98f} TCPHandler: Code: 46. DB::Exception: Unknown table function test_02428_v1: or incorrect parameterized view. (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFactory.cpp:46: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15a18 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:10.156482 [ 6745 ] {da289950-cb45-46d8-b5df-07f1341879f7} executeQuery: Code: 47. DB::Exception: Identifier 't1.value_' cannot be resolved from table with name t1. In scope SELECT t1.value_ FROM test_table_1 AS t1 INNER JOIN test_table_2 AS t2 ON t1.id = t2.id SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['t1.value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40086) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT t1.value_ FROM test_table_1 AS t1 INNER JOIN test_table_2 AS t2 ON t1.id = t2.id SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x000000001c976bc4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2932: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c940279 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93e283 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bb93 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3003: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93c229 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bae5 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92bf47 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b19b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 2024.09.24 01:14:10.158565 [ 6745 ] {da289950-cb45-46d8-b5df-07f1341879f7} TCPHandler: Code: 47. DB::Exception: Identifier 't1.value_' cannot be resolved from table with name t1. In scope SELECT t1.value_ FROM test_table_1 AS t1 INNER JOIN test_table_2 AS t2 ON t1.id = t2.id SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['t1.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x000000001c976bc4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2932: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c940279 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93e283 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bb93 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3003: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93c229 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bae5 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92bf47 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b19b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 2024.09.24 01:14:12.118551 [ 6138 ] {ef870d5a-3b30-4b17-b76e-d018c439d237} executeQuery: Code: 47. DB::Exception: Identifier 't2.value_' cannot be resolved from table with name t2. In scope SELECT t2.value_ FROM test_table_1 AS t1 INNER JOIN test_table_2 AS t2 ON t1.id = t2.id SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['t2.value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39426) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT t2.value_ FROM test_table_1 AS t1 INNER JOIN test_table_2 AS t2 ON t1.id = t2.id SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x000000001c976bc4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2932: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c940279 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93e283 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bb93 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3004: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93c25f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bae5 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92bf47 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b19b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 2024.09.24 01:14:12.120255 [ 6138 ] {ef870d5a-3b30-4b17-b76e-d018c439d237} TCPHandler: Code: 47. DB::Exception: Identifier 't2.value_' cannot be resolved from table with name t2. In scope SELECT t2.value_ FROM test_table_1 AS t1 INNER JOIN test_table_2 AS t2 ON t1.id = t2.id SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['t2.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x000000001c976bc4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2932: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c940279 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93e283 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bb93 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3004: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93c25f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bae5 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92bf47 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b19b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 2024.09.24 01:14:13.962595 [ 6138 ] {c6048050-4eb4-44a1-bf78-3efe15277e9a} executeQuery: Code: 47. DB::Exception: Identifier a.size1 nested path size1 cannot be resolved from type Array(UInt8). In scope SELECT [1] AS a, a.size1 SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['a.size0']. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39466) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT [1] AS a, a.size1 SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c963f16 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c930406 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2653: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92cadc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b0ff in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:13.964598 [ 6138 ] {c6048050-4eb4-44a1-bf78-3efe15277e9a} TCPHandler: Code: 47. DB::Exception: Identifier a.size1 nested path size1 cannot be resolved from type Array(UInt8). In scope SELECT [1] AS a, a.size1 SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['a.size0']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c963f16 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c930406 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2653: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92cadc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b0ff in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:15.590279 [ 1123 ] {37729378-2683-4ae7-a3d9-23e92b5d87ed} executeQuery: Code: 456. DB::Exception: Substitution `quantity` is not set. (UNKNOWN_QUERY_PARAMETER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39510) (comment: 02428_parameterized_view.sh) (in query: SELECT Price FROM test_02428_pv2(price=50)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:70: DB::ReplaceQueryParameterVisitor::getParamValue(String const&) @ 0x000000001d093ded in /usr/bin/clickhouse 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:79: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x000000001d09314a in /usr/bin/clickhouse 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:38: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d092fe5 in /usr/bin/clickhouse 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 16. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 17. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 18. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 19. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 20. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 21. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 22. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 23. /build/src/Storages/StorageView.cpp:224: DB::StorageView::replaceQueryParametersIfParametrizedView(std::shared_ptr&, std::unordered_map, std::equal_to, std::allocator>> const&) @ 0x000000001da28b2a in /usr/bin/clickhouse 24. /build/src/Interpreters/Context.cpp:1586: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc864f in /usr/bin/clickhouse 25. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:14:15.591952 [ 1123 ] {37729378-2683-4ae7-a3d9-23e92b5d87ed} TCPHandler: Code: 456. DB::Exception: Substitution `quantity` is not set. (UNKNOWN_QUERY_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:70: DB::ReplaceQueryParameterVisitor::getParamValue(String const&) @ 0x000000001d093ded in /usr/bin/clickhouse 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:79: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x000000001d09314a in /usr/bin/clickhouse 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:38: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d092fe5 in /usr/bin/clickhouse 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 16. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 17. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 18. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 19. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 20. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 21. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 22. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 23. /build/src/Storages/StorageView.cpp:224: DB::StorageView::replaceQueryParametersIfParametrizedView(std::shared_ptr&, std::unordered_map, std::equal_to, std::allocator>> const&) @ 0x000000001da28b2a in /usr/bin/clickhouse 24. /build/src/Interpreters/Context.cpp:1586: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc864f in /usr/bin/clickhouse 25. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:14:15.850745 [ 2930 ] {f00e9de6-52bf-48d8-9c1a-1f3e08e2f3c7} executeQuery: Code: 47. DB::Exception: Identifier t.c nested path c cannot be resolved from type Tuple(a Tuple(b UInt32)). In scope SELECT CAST('((1))', 'Tuple(a Tuple(b UInt32))') AS t, t.c SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['t.a']. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39518) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT ((1))::Tuple(a Tuple(b UInt32)) AS t, t.c SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c963f16 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c930406 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2653: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92cadc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b0ff in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:15.853033 [ 2930 ] {f00e9de6-52bf-48d8-9c1a-1f3e08e2f3c7} TCPHandler: Code: 47. DB::Exception: Identifier t.c nested path c cannot be resolved from type Tuple(a Tuple(b UInt32)). In scope SELECT CAST('((1))', 'Tuple(a Tuple(b UInt32))') AS t, t.c SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['t.a']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c963f16 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c930406 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2653: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92cadc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b0ff in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:17.716237 [ 2934 ] {c850ed4a-dd3e-4603-881d-830fd2761afe} executeQuery: Code: 47. DB::Exception: Identifier t.a.c nested path a.c cannot be resolved from type Tuple(a Tuple(b UInt32)). In scope SELECT CAST('((1))', 'Tuple(a Tuple(b UInt32))') AS t, t.a.c SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['t.a.b']. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39548) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT ((1))::Tuple(a Tuple(b UInt32)) AS t, t.a.c SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c963f16 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c930406 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2653: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92cadc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b0ff in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:17.717836 [ 2934 ] {c850ed4a-dd3e-4603-881d-830fd2761afe} TCPHandler: Code: 47. DB::Exception: Identifier t.a.c nested path a.c cannot be resolved from type Tuple(a Tuple(b UInt32)). In scope SELECT CAST('((1))', 'Tuple(a Tuple(b UInt32))') AS t, t.a.c SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['t.a.b']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c963f16 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c930406 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2653: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92cadc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b0ff in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91f09b in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:20.866692 [ 2934 ] {ceaf37e2-b357-43ac-9569-ee709468d6e1} executeQuery: Code: 179. DB::Exception: ARRAY JOIN expression [1, 2, 3] AS value with duplicate alias value. In scope SELECT 1 AS value FROM test_table ARRAY JOIN [1, 2, 3] AS value. (MULTIPLE_EXPRESSIONS_FOR_ALIAS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39606) (comment: 02374_analyzer_array_join.sql) (in query: SELECT 1 AS value FROM test_table ARRAY JOIN [1,2,3] AS value;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000001c95a608 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6510: DB::(anonymous namespace)::QueryAnalyzer::resolveArrayJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c945a0d in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6735: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926f9d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:20.867828 [ 2934 ] {ceaf37e2-b357-43ac-9569-ee709468d6e1} TCPHandler: Code: 179. DB::Exception: ARRAY JOIN expression [1, 2, 3] AS value with duplicate alias value. In scope SELECT 1 AS value FROM test_table ARRAY JOIN [1, 2, 3] AS value. (MULTIPLE_EXPRESSIONS_FOR_ALIAS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000001c95a608 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6510: DB::(anonymous namespace)::QueryAnalyzer::resolveArrayJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c945a0d in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6735: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926f9d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:21.258816 [ 6745 ] {0a2b835c-4d8d-459f-85d5-c190f52e3e19} executeQuery: Code: 47. DB::Exception: JOIN test_lo0izohr.test_table_join_1 AS t1 ALL INNER JOIN test_lo0izohr.test_table_join_2 AS t2 USING (test_value) using identifier 'test_value' cannot be resolved from left table expression. In scope SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 USING (test_value). (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39622) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 USING (test_value);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c9735c8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6659: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9466fd in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926fbd in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:21.258815 [ 2934 ] {1b30db77-3b47-4b04-9f50-7c3559bb7a9f} executeQuery: Code: 179. DB::Exception: ARRAY JOIN expression value_array AS value with duplicate alias value. In scope SELECT id AS value FROM test_table ARRAY JOIN value_array AS value. (MULTIPLE_EXPRESSIONS_FOR_ALIAS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39606) (comment: 02374_analyzer_array_join.sql) (in query: SELECT id AS value FROM test_table ARRAY JOIN value_array AS value;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000001c95a608 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6510: DB::(anonymous namespace)::QueryAnalyzer::resolveArrayJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c945a0d in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6735: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926f9d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:21.260007 [ 6745 ] {0a2b835c-4d8d-459f-85d5-c190f52e3e19} TCPHandler: Code: 47. DB::Exception: JOIN test_lo0izohr.test_table_join_1 AS t1 ALL INNER JOIN test_lo0izohr.test_table_join_2 AS t2 USING (test_value) using identifier 'test_value' cannot be resolved from left table expression. In scope SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 USING (test_value). (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c9735c8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6659: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9466fd in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926fbd in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:21.260045 [ 2934 ] {1b30db77-3b47-4b04-9f50-7c3559bb7a9f} TCPHandler: Code: 179. DB::Exception: ARRAY JOIN expression value_array AS value with duplicate alias value. In scope SELECT id AS value FROM test_table ARRAY JOIN value_array AS value. (MULTIPLE_EXPRESSIONS_FOR_ALIAS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000001c95a608 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6510: DB::(anonymous namespace)::QueryAnalyzer::resolveArrayJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c945a0d in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6735: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926f9d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:21.812921 [ 6745 ] {3d887769-af7d-4386-9129-243048135e60} executeQuery: Code: 47. DB::Exception: JOIN test_lo0izohr.test_table_join_1 AS t1 ALL LEFT JOIN test_lo0izohr.test_table_join_2 AS t2 USING (test_value) using identifier 'test_value' cannot be resolved from left table expression. In scope SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 USING (test_value). (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39622) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 USING (test_value);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c9735c8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6659: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9466fd in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926fbd in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:21.813628 [ 6745 ] {3d887769-af7d-4386-9129-243048135e60} TCPHandler: Code: 47. DB::Exception: JOIN test_lo0izohr.test_table_join_1 AS t1 ALL LEFT JOIN test_lo0izohr.test_table_join_2 AS t2 USING (test_value) using identifier 'test_value' cannot be resolved from left table expression. In scope SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 USING (test_value). (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c9735c8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6659: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9466fd in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926fbd in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:22.257050 [ 6745 ] {6420c15f-adb0-43c8-8d0b-73b7dae05c27} executeQuery: Code: 47. DB::Exception: JOIN test_lo0izohr.test_table_join_1 AS t1 ALL RIGHT JOIN test_lo0izohr.test_table_join_2 AS t2 USING (test_value) using identifier 'test_value' cannot be resolved from left table expression. In scope SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 USING (test_value). (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39622) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 USING (test_value);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c9735c8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6659: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9466fd in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926fbd in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:22.257900 [ 6745 ] {6420c15f-adb0-43c8-8d0b-73b7dae05c27} TCPHandler: Code: 47. DB::Exception: JOIN test_lo0izohr.test_table_join_1 AS t1 ALL RIGHT JOIN test_lo0izohr.test_table_join_2 AS t2 USING (test_value) using identifier 'test_value' cannot be resolved from left table expression. In scope SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 USING (test_value). (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c9735c8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6659: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9466fd in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926fbd in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:22.726063 [ 6745 ] {4f010c6e-9306-4245-b63c-93afbb9d2f8a} executeQuery: Code: 47. DB::Exception: JOIN test_lo0izohr.test_table_join_1 AS t1 ALL FULL OUTER JOIN test_lo0izohr.test_table_join_2 AS t2 USING (test_value) using identifier 'test_value' cannot be resolved from left table expression. In scope SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 FULL OUTER JOIN test_table_join_2 AS t2 USING (test_value). (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39622) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 FULL JOIN test_table_join_2 AS t2 USING (test_value);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c9735c8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6659: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9466fd in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926fbd in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:22.726739 [ 6745 ] {4f010c6e-9306-4245-b63c-93afbb9d2f8a} TCPHandler: Code: 47. DB::Exception: JOIN test_lo0izohr.test_table_join_1 AS t1 ALL FULL OUTER JOIN test_lo0izohr.test_table_join_2 AS t2 USING (test_value) using identifier 'test_value' cannot be resolved from left table expression. In scope SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 FULL OUTER JOIN test_table_join_2 AS t2 USING (test_value). (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c9735c8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6659: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9466fd in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926fbd in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:23.532465 [ 6745 ] {45cef931-b922-4e58-a494-bdad5822625f} executeQuery: Code: 207. DB::Exception: JOIN test_lo0izohr.test_table_join_1 AS t1 ALL INNER JOIN test_lo0izohr.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39622) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c9735c8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cfb9 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bae5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9465e9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926fbd in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:23.533543 [ 6745 ] {45cef931-b922-4e58-a494-bdad5822625f} TCPHandler: Code: 207. DB::Exception: JOIN test_lo0izohr.test_table_join_1 AS t1 ALL INNER JOIN test_lo0izohr.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c9735c8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cfb9 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bae5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9465e9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926fbd in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:24.122836 [ 5572 ] {73b8e0dc-d0cc-45f0-9b74-8ef2a33eb014} executeQuery: Code: 43. DB::Exception: Unsupported types for IN. First argument type Tuple(UInt8, UInt8). Second argument type UInt8. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:43628) (comment: 02370_analyzer_in_function.sql) (in query: SELECT (1, 2) IN 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Analyzer/SetUtils.cpp:171: DB::getSetElementsForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, bool) @ 0x000000001c9a1e53 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5223: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c937113 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 14. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:24.123649 [ 5572 ] {73b8e0dc-d0cc-45f0-9b74-8ef2a33eb014} TCPHandler: Code: 43. DB::Exception: Unsupported types for IN. First argument type Tuple(UInt8, UInt8). Second argument type UInt8. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Analyzer/SetUtils.cpp:171: DB::getSetElementsForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, bool) @ 0x000000001c9a1e53 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5223: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c937113 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 14. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:24.321824 [ 5572 ] {1e3a7eee-340f-4b34-a0bb-800a64c7f6d1} executeQuery: Code: 124. DB::Exception: Invalid type in set. Expected tuple, got Array. (INCORRECT_ELEMENT_OF_SET) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:43628) (comment: 02370_analyzer_in_function.sql) (in query: SELECT (1, 2) IN [1];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl>>::type>, std::basic_string_view>&&) @ 0x000000000b6701b3 in /usr/bin/clickhouse 6. /build/src/Analyzer/SetUtils.cpp:85: DB::Block DB::(anonymous namespace)::createBlockFromCollection(DB::Array const&, std::vector, std::allocator>> const&, bool) @ 0x000000001c9a2482 in /usr/bin/clickhouse 7. /build/src/Analyzer/SetUtils.cpp:152: DB::getSetElementsForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, bool) @ 0x000000001c9a19f4 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5223: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c937113 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:24.321985 [ 6745 ] {16f1257e-e14c-4973-992e-a4893f61907d} executeQuery: Code: 207. DB::Exception: JOIN test_lo0izohr.test_table_join_1 AS t1 ALL INNER JOIN test_lo0izohr.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39622) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c9735c8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cfb9 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bae5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9465e9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926fbd in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:24.322650 [ 5572 ] {1e3a7eee-340f-4b34-a0bb-800a64c7f6d1} TCPHandler: Code: 124. DB::Exception: Invalid type in set. Expected tuple, got Array. (INCORRECT_ELEMENT_OF_SET), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl>>::type>, std::basic_string_view>&&) @ 0x000000000b6701b3 in /usr/bin/clickhouse 6. /build/src/Analyzer/SetUtils.cpp:85: DB::Block DB::(anonymous namespace)::createBlockFromCollection(DB::Array const&, std::vector, std::allocator>> const&, bool) @ 0x000000001c9a2482 in /usr/bin/clickhouse 7. /build/src/Analyzer/SetUtils.cpp:152: DB::getSetElementsForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, bool) @ 0x000000001c9a19f4 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5223: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c937113 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:24.322982 [ 6745 ] {16f1257e-e14c-4973-992e-a4893f61907d} TCPHandler: Code: 207. DB::Exception: JOIN test_lo0izohr.test_table_join_1 AS t1 ALL INNER JOIN test_lo0izohr.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c9735c8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cfb9 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bae5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9465e9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926fbd in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:24.333736 [ 5572 ] {73cebfce-b5b6-411e-b3d7-3d118bc1fabe} executeQuery: Code: 43. DB::Exception: Unsupported types for IN. First argument type Tuple(UInt8, UInt8). Second argument type Tuple(Tuple(Tuple(UInt8, UInt8), Tuple(UInt8, UInt8)), Tuple(Tuple(UInt8, UInt8), Tuple(UInt8, UInt8))). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:43628) (comment: 02370_analyzer_in_function.sql) (in query: SELECT (1, 2) IN (((1, 2), (1, 2)), ((1, 2), (1, 2)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Analyzer/SetUtils.cpp:171: DB::getSetElementsForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, bool) @ 0x000000001c9a1e53 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5223: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c937113 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 14. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:24.334840 [ 5572 ] {73cebfce-b5b6-411e-b3d7-3d118bc1fabe} TCPHandler: Code: 43. DB::Exception: Unsupported types for IN. First argument type Tuple(UInt8, UInt8). Second argument type Tuple(Tuple(Tuple(UInt8, UInt8), Tuple(UInt8, UInt8)), Tuple(Tuple(UInt8, UInt8), Tuple(UInt8, UInt8))). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Analyzer/SetUtils.cpp:171: DB::getSetElementsForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, bool) @ 0x000000001c9a1e53 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5223: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c937113 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 14. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:24.346138 [ 5572 ] {cdc39776-c18f-42bc-98e6-dc6d1a540e8e} executeQuery: Code: 43. DB::Exception: Unsupported types for IN. First argument type Tuple(UInt8, UInt8). Second argument type Array(Tuple(Tuple(UInt8, UInt8), Tuple(UInt8, UInt8))). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:43628) (comment: 02370_analyzer_in_function.sql) (in query: SELECT (1, 2) IN [((1, 2), (1, 2)), ((1, 2), (1, 2))];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Analyzer/SetUtils.cpp:171: DB::getSetElementsForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, bool) @ 0x000000001c9a1e53 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5223: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c937113 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 14. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:24.347180 [ 5572 ] {cdc39776-c18f-42bc-98e6-dc6d1a540e8e} TCPHandler: Code: 43. DB::Exception: Unsupported types for IN. First argument type Tuple(UInt8, UInt8). Second argument type Array(Tuple(Tuple(UInt8, UInt8), Tuple(UInt8, UInt8))). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Analyzer/SetUtils.cpp:171: DB::getSetElementsForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, bool) @ 0x000000001c9a1e53 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5223: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c937113 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c920096 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 14. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:25.017715 [ 6745 ] {284c929d-6622-4e61-a0a5-ef53ce27e0e3} executeQuery: Code: 207. DB::Exception: JOIN test_lo0izohr.test_table_join_1 AS t1 ALL INNER JOIN test_lo0izohr.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39622) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c9735c8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cfb9 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bae5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9465e9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926fbd in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:25.018453 [ 6745 ] {284c929d-6622-4e61-a0a5-ef53ce27e0e3} TCPHandler: Code: 207. DB::Exception: JOIN test_lo0izohr.test_table_join_1 AS t1 ALL INNER JOIN test_lo0izohr.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c9735c8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cfb9 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bae5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9465e9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926fbd in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:25.324510 [ 6138 ] {3afa73a8-acba-4634-b7e0-593b3aa74f02} executeQuery: Code: 36. DB::Exception: Expression in arrayJoin cannot depend on lambda argument: x . (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:43646) (comment: 02369_analyzer_array_join_function.sql) (in query: SELECT arrayMap(x -> arrayJoin(x), [[1, 2, 3]]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Planner/PlannerActionsVisitor.cpp:800: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitFunction(std::shared_ptr const&) @ 0x000000001bd03ad6 in /usr/bin/clickhouse 7. /build/src/Planner/PlannerActionsVisitor.cpp:497: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitImpl(std::shared_ptr) @ 0x000000001bd02989 in /usr/bin/clickhouse 8. /build/src/Planner/PlannerActionsVisitor.cpp:576: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitLambda(std::shared_ptr const&) @ 0x000000001bd0594e in /usr/bin/clickhouse 9. /build/src/Planner/PlannerActionsVisitor.cpp:780: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitFunction(std::shared_ptr const&) @ 0x000000001bd03732 in /usr/bin/clickhouse 10. /build/src/Planner/PlannerActionsVisitor.cpp:497: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitImpl(std::shared_ptr) @ 0x000000001bd02989 in /usr/bin/clickhouse 11. /build/src/Planner/PlannerActionsVisitor.cpp:475: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visit(std::shared_ptr) @ 0x000000001bcfe968 in /usr/bin/clickhouse 12. /build/src/Planner/PlannerActionsVisitor.cpp:831: DB::PlannerActionsVisitor::visit(std::shared_ptr, std::shared_ptr) @ 0x000000001bcfe6cf in /usr/bin/clickhouse 13. /build/src/Planner/Utils.cpp:211: DB::buildActionsDAGFromExpressionNode(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&) @ 0x000000001cb7ed25 in /usr/bin/clickhouse 14. /build/src/Planner/PlannerExpressionAnalysis.cpp:349: DB::(anonymous namespace)::analyzeProjection(DB::QueryNode const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001cbb32c9 in /usr/bin/clickhouse 15. /build/src/Planner/PlannerExpressionAnalysis.cpp:549: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001cbafc3b in /usr/bin/clickhouse 16. /build/src/Planner/Planner.cpp:1272: DB::Planner::buildPlanForQueryNode() @ 0x000000001cb6b311 in /usr/bin/clickhouse 17. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001cb68c39 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001cb6705d in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1039: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0872 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:25.325251 [ 6138 ] {3afa73a8-acba-4634-b7e0-593b3aa74f02} TCPHandler: Code: 36. DB::Exception: Expression in arrayJoin cannot depend on lambda argument: x . (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Planner/PlannerActionsVisitor.cpp:800: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitFunction(std::shared_ptr const&) @ 0x000000001bd03ad6 in /usr/bin/clickhouse 7. /build/src/Planner/PlannerActionsVisitor.cpp:497: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitImpl(std::shared_ptr) @ 0x000000001bd02989 in /usr/bin/clickhouse 8. /build/src/Planner/PlannerActionsVisitor.cpp:576: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitLambda(std::shared_ptr const&) @ 0x000000001bd0594e in /usr/bin/clickhouse 9. /build/src/Planner/PlannerActionsVisitor.cpp:780: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitFunction(std::shared_ptr const&) @ 0x000000001bd03732 in /usr/bin/clickhouse 10. /build/src/Planner/PlannerActionsVisitor.cpp:497: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitImpl(std::shared_ptr) @ 0x000000001bd02989 in /usr/bin/clickhouse 11. /build/src/Planner/PlannerActionsVisitor.cpp:475: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visit(std::shared_ptr) @ 0x000000001bcfe968 in /usr/bin/clickhouse 12. /build/src/Planner/PlannerActionsVisitor.cpp:831: DB::PlannerActionsVisitor::visit(std::shared_ptr, std::shared_ptr) @ 0x000000001bcfe6cf in /usr/bin/clickhouse 13. /build/src/Planner/Utils.cpp:211: DB::buildActionsDAGFromExpressionNode(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&) @ 0x000000001cb7ed25 in /usr/bin/clickhouse 14. /build/src/Planner/PlannerExpressionAnalysis.cpp:349: DB::(anonymous namespace)::analyzeProjection(DB::QueryNode const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001cbb32c9 in /usr/bin/clickhouse 15. /build/src/Planner/PlannerExpressionAnalysis.cpp:549: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001cbafc3b in /usr/bin/clickhouse 16. /build/src/Planner/Planner.cpp:1272: DB::Planner::buildPlanForQueryNode() @ 0x000000001cb6b311 in /usr/bin/clickhouse 17. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001cb68c39 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001cb6705d in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1039: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0872 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:25.341383 [ 6138 ] {a99df5fc-23e1-410e-9067-538d98ac2e8d} executeQuery: Code: 36. DB::Exception: Expression in arrayJoin cannot depend on lambda argument: CAST(x, 'Array(UInt8)'_String) . (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:43646) (comment: 02369_analyzer_array_join_function.sql) (in query: SELECT arrayMap(x -> arrayJoin(cast(x, 'Array(UInt8)')), [[1, 2, 3]]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Planner/PlannerActionsVisitor.cpp:800: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitFunction(std::shared_ptr const&) @ 0x000000001bd03ad6 in /usr/bin/clickhouse 7. /build/src/Planner/PlannerActionsVisitor.cpp:497: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitImpl(std::shared_ptr) @ 0x000000001bd02989 in /usr/bin/clickhouse 8. /build/src/Planner/PlannerActionsVisitor.cpp:576: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitLambda(std::shared_ptr const&) @ 0x000000001bd0594e in /usr/bin/clickhouse 9. /build/src/Planner/PlannerActionsVisitor.cpp:780: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitFunction(std::shared_ptr const&) @ 0x000000001bd03732 in /usr/bin/clickhouse 10. /build/src/Planner/PlannerActionsVisitor.cpp:497: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitImpl(std::shared_ptr) @ 0x000000001bd02989 in /usr/bin/clickhouse 11. /build/src/Planner/PlannerActionsVisitor.cpp:475: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visit(std::shared_ptr) @ 0x000000001bcfe968 in /usr/bin/clickhouse 12. /build/src/Planner/PlannerActionsVisitor.cpp:831: DB::PlannerActionsVisitor::visit(std::shared_ptr, std::shared_ptr) @ 0x000000001bcfe6cf in /usr/bin/clickhouse 13. /build/src/Planner/Utils.cpp:211: DB::buildActionsDAGFromExpressionNode(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&) @ 0x000000001cb7ed25 in /usr/bin/clickhouse 14. /build/src/Planner/PlannerExpressionAnalysis.cpp:349: DB::(anonymous namespace)::analyzeProjection(DB::QueryNode const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001cbb32c9 in /usr/bin/clickhouse 15. /build/src/Planner/PlannerExpressionAnalysis.cpp:549: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001cbafc3b in /usr/bin/clickhouse 16. /build/src/Planner/Planner.cpp:1272: DB::Planner::buildPlanForQueryNode() @ 0x000000001cb6b311 in /usr/bin/clickhouse 17. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001cb68c39 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001cb6705d in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1039: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0872 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:25.342119 [ 6138 ] {a99df5fc-23e1-410e-9067-538d98ac2e8d} TCPHandler: Code: 36. DB::Exception: Expression in arrayJoin cannot depend on lambda argument: CAST(x, 'Array(UInt8)'_String) . (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Planner/PlannerActionsVisitor.cpp:800: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitFunction(std::shared_ptr const&) @ 0x000000001bd03ad6 in /usr/bin/clickhouse 7. /build/src/Planner/PlannerActionsVisitor.cpp:497: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitImpl(std::shared_ptr) @ 0x000000001bd02989 in /usr/bin/clickhouse 8. /build/src/Planner/PlannerActionsVisitor.cpp:576: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitLambda(std::shared_ptr const&) @ 0x000000001bd0594e in /usr/bin/clickhouse 9. /build/src/Planner/PlannerActionsVisitor.cpp:780: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitFunction(std::shared_ptr const&) @ 0x000000001bd03732 in /usr/bin/clickhouse 10. /build/src/Planner/PlannerActionsVisitor.cpp:497: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitImpl(std::shared_ptr) @ 0x000000001bd02989 in /usr/bin/clickhouse 11. /build/src/Planner/PlannerActionsVisitor.cpp:475: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visit(std::shared_ptr) @ 0x000000001bcfe968 in /usr/bin/clickhouse 12. /build/src/Planner/PlannerActionsVisitor.cpp:831: DB::PlannerActionsVisitor::visit(std::shared_ptr, std::shared_ptr) @ 0x000000001bcfe6cf in /usr/bin/clickhouse 13. /build/src/Planner/Utils.cpp:211: DB::buildActionsDAGFromExpressionNode(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&) @ 0x000000001cb7ed25 in /usr/bin/clickhouse 14. /build/src/Planner/PlannerExpressionAnalysis.cpp:349: DB::(anonymous namespace)::analyzeProjection(DB::QueryNode const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001cbb32c9 in /usr/bin/clickhouse 15. /build/src/Planner/PlannerExpressionAnalysis.cpp:549: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001cbafc3b in /usr/bin/clickhouse 16. /build/src/Planner/Planner.cpp:1272: DB::Planner::buildPlanForQueryNode() @ 0x000000001cb6b311 in /usr/bin/clickhouse 17. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001cb68c39 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001cb6705d in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1039: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0872 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:25.780880 [ 6745 ] {aeca01a8-541a-43f9-a965-9ca4ea998b3a} executeQuery: Code: 207. DB::Exception: JOIN test_lo0izohr.test_table_join_1 AS t1 ALL INNER JOIN test_lo0izohr.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL OUTER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39622) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c9735c8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cfb9 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bae5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9465e9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926fbd in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:25.781849 [ 6745 ] {aeca01a8-541a-43f9-a965-9ca4ea998b3a} TCPHandler: Code: 207. DB::Exception: JOIN test_lo0izohr.test_table_join_1 AS t1 ALL INNER JOIN test_lo0izohr.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL OUTER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c9735c8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cfb9 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bae5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9465e9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926fbd in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:26.492521 [ 6745 ] {19c2f7fe-6225-4c17-89a4-cc4ece72a9e1} executeQuery: Code: 207. DB::Exception: JOIN test_lo0izohr.test_table_join_1 AS t1 ALL LEFT JOIN test_lo0izohr.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39622) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c9735c8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cfb9 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bae5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9465e9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926fbd in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:26.493255 [ 6745 ] {19c2f7fe-6225-4c17-89a4-cc4ece72a9e1} TCPHandler: Code: 207. DB::Exception: JOIN test_lo0izohr.test_table_join_1 AS t1 ALL LEFT JOIN test_lo0izohr.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c9735c8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cfb9 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bae5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9465e9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926fbd in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:27.205935 [ 6745 ] {a76f9b1f-92f5-486c-99dd-dd945ffc5fdb} executeQuery: Code: 207. DB::Exception: JOIN test_lo0izohr.test_table_join_1 AS t1 ALL LEFT JOIN test_lo0izohr.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39622) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c9735c8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cfb9 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bae5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9465e9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926fbd in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:27.207008 [ 6745 ] {a76f9b1f-92f5-486c-99dd-dd945ffc5fdb} TCPHandler: Code: 207. DB::Exception: JOIN test_lo0izohr.test_table_join_1 AS t1 ALL LEFT JOIN test_lo0izohr.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c9735c8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cfb9 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bae5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9465e9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926fbd in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:27.882247 [ 6745 ] {629f419c-3205-406f-83b5-d21ea4c5c7a2} executeQuery: Code: 207. DB::Exception: JOIN test_lo0izohr.test_table_join_1 AS t1 ALL LEFT JOIN test_lo0izohr.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39622) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c9735c8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cfb9 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bae5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9465e9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926fbd in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:27.883307 [ 6745 ] {629f419c-3205-406f-83b5-d21ea4c5c7a2} TCPHandler: Code: 207. DB::Exception: JOIN test_lo0izohr.test_table_join_1 AS t1 ALL LEFT JOIN test_lo0izohr.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c9735c8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cfb9 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bae5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9465e9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926fbd in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:28.566438 [ 6745 ] {7a2e5f4a-f86a-46f3-9b02-776728a86b86} executeQuery: Code: 207. DB::Exception: JOIN test_lo0izohr.test_table_join_1 AS t1 ALL LEFT JOIN test_lo0izohr.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL OUTER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39622) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c9735c8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cfb9 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bae5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9465e9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926fbd in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:28.567166 [ 6745 ] {7a2e5f4a-f86a-46f3-9b02-776728a86b86} TCPHandler: Code: 207. DB::Exception: JOIN test_lo0izohr.test_table_join_1 AS t1 ALL LEFT JOIN test_lo0izohr.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL OUTER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c9735c8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cfb9 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bae5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9465e9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926fbd in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:29.327712 [ 6745 ] {10066cf5-6817-4f5e-9dee-40a477382cb6} executeQuery: Code: 207. DB::Exception: JOIN test_lo0izohr.test_table_join_1 AS t1 ALL RIGHT JOIN test_lo0izohr.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39622) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c9735c8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cfb9 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bae5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9465e9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926fbd in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:29.328475 [ 6745 ] {10066cf5-6817-4f5e-9dee-40a477382cb6} TCPHandler: Code: 207. DB::Exception: JOIN test_lo0izohr.test_table_join_1 AS t1 ALL RIGHT JOIN test_lo0izohr.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c9735c8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cfb9 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bae5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9465e9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926fbd in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:30.022894 [ 6745 ] {cbce2d20-1f11-4884-bd5f-c1c0beedbbea} executeQuery: Code: 207. DB::Exception: JOIN test_lo0izohr.test_table_join_1 AS t1 ALL RIGHT JOIN test_lo0izohr.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39622) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c9735c8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cfb9 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bae5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9465e9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926fbd in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:30.023941 [ 6745 ] {cbce2d20-1f11-4884-bd5f-c1c0beedbbea} TCPHandler: Code: 207. DB::Exception: JOIN test_lo0izohr.test_table_join_1 AS t1 ALL RIGHT JOIN test_lo0izohr.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c9735c8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cfb9 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bae5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9465e9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926fbd in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:30.736837 [ 6745 ] {f192d771-bede-4a50-9ec5-f4e3e88df690} executeQuery: Code: 207. DB::Exception: JOIN test_lo0izohr.test_table_join_1 AS t1 ALL RIGHT JOIN test_lo0izohr.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39622) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c9735c8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cfb9 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bae5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9465e9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926fbd in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:30.737850 [ 6745 ] {f192d771-bede-4a50-9ec5-f4e3e88df690} TCPHandler: Code: 207. DB::Exception: JOIN test_lo0izohr.test_table_join_1 AS t1 ALL RIGHT JOIN test_lo0izohr.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c9735c8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cfb9 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bae5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9465e9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926fbd in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:31.022831 [ 2931 ] {02421_truncate_isolation_with_mutations_test_dpzsm4ui_tx69_7025} executeQuery: Code: 650. DB::Exception: Serialization error: Transaction (38, 50, 621b10ba-14b1-4b21-a7e2-3be6ac0e9a7c) tried to remove data part all_1_1_6 from test_dpzsm4ui.tt (cc1f450e-ad3e-413b-b7c5-b852c957ad7a), but it's locked by another transaction (TID: (38, 51, 621b10ba-14b1-4b21-a7e2-3be6ac0e9a7c), TIDH: 14563291091079171081) which is currently removing this part. (SERIALIZATION_ERROR) (version 23.8.16.41.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:47302) (in query: alter table tt drop partition id 'all'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::TransactionID const&, String&, String&&, DB::TransactionID&&, unsigned long&) @ 0x000000001cf9621a in /usr/bin/clickhouse 6. /build/src/Interpreters/TransactionVersionMetadata.cpp:62: DB::VersionMetadata::lockRemovalTID(DB::TransactionID const&, DB::TransactionInfoContext const&) @ 0x000000001cf92c4f in /usr/bin/clickhouse 7. /build/src/Interpreters/MergeTreeTransaction.cpp:149: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::TransactionInfoContext const&) @ 0x000000001cc56acf in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeTreeTransaction.cpp:93: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::MergeTreeTransaction*) @ 0x000000001cc56947 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:3962: DB::MergeTreeData::removePartsFromWorkingSet(DB::MergeTreeTransaction*, std::vector, std::allocator>> const&, bool, DB::DataPartsLock&) @ 0x000000001de9b7f3 in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:1873: DB::StorageMergeTree::dropPartition(std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001e37a867 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeData.cpp:5144: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001dead70a in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 16. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 17. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 18. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 24. ? @ 0x00007f1d281b3ac3 in ? 25. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:31.023680 [ 2931 ] {02421_truncate_isolation_with_mutations_test_dpzsm4ui_tx69_7025} DynamicQueryHandler: Code: 650. DB::Exception: Serialization error: Transaction (38, 50, 621b10ba-14b1-4b21-a7e2-3be6ac0e9a7c) tried to remove data part all_1_1_6 from test_dpzsm4ui.tt (cc1f450e-ad3e-413b-b7c5-b852c957ad7a), but it's locked by another transaction (TID: (38, 51, 621b10ba-14b1-4b21-a7e2-3be6ac0e9a7c), TIDH: 14563291091079171081) which is currently removing this part. (SERIALIZATION_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::TransactionID const&, String&, String&&, DB::TransactionID&&, unsigned long&) @ 0x000000001cf9621a in /usr/bin/clickhouse 6. /build/src/Interpreters/TransactionVersionMetadata.cpp:62: DB::VersionMetadata::lockRemovalTID(DB::TransactionID const&, DB::TransactionInfoContext const&) @ 0x000000001cf92c4f in /usr/bin/clickhouse 7. /build/src/Interpreters/MergeTreeTransaction.cpp:149: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::TransactionInfoContext const&) @ 0x000000001cc56acf in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeTreeTransaction.cpp:93: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::MergeTreeTransaction*) @ 0x000000001cc56947 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:3962: DB::MergeTreeData::removePartsFromWorkingSet(DB::MergeTreeTransaction*, std::vector, std::allocator>> const&, bool, DB::DataPartsLock&) @ 0x000000001de9b7f3 in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:1873: DB::StorageMergeTree::dropPartition(std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001e37a867 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeData.cpp:5144: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001dead70a in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 16. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 17. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 18. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 24. ? @ 0x00007f1d281b3ac3 in ? 25. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:14:31.436560 [ 5572 ] {3419bdeb-ef3b-4366-804d-71063306a9f6} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39000) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:31.437178 [ 5572 ] {3419bdeb-ef3b-4366-804d-71063306a9f6} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:31.518542 [ 6745 ] {5e10813a-2c81-4b7b-8a57-d12fb18f04d6} executeQuery: Code: 207. DB::Exception: JOIN test_lo0izohr.test_table_join_1 AS t1 ALL RIGHT JOIN test_lo0izohr.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL OUTER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39622) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c9735c8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cfb9 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bae5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9465e9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926fbd in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:31.519258 [ 6745 ] {5e10813a-2c81-4b7b-8a57-d12fb18f04d6} TCPHandler: Code: 207. DB::Exception: JOIN test_lo0izohr.test_table_join_1 AS t1 ALL RIGHT JOIN test_lo0izohr.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL OUTER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c9735c8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cfb9 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bae5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9465e9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926fbd in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:32.196542 [ 6745 ] {67342b79-4ff8-41b6-b89d-ac3619ca2a44} executeQuery: Code: 207. DB::Exception: JOIN test_lo0izohr.test_table_join_1 AS t1 ALL FULL OUTER JOIN test_lo0izohr.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 FULL OUTER JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39622) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 FULL JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c9735c8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cfb9 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bae5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9465e9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926fbd in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:32.197337 [ 6745 ] {67342b79-4ff8-41b6-b89d-ac3619ca2a44} TCPHandler: Code: 207. DB::Exception: JOIN test_lo0izohr.test_table_join_1 AS t1 ALL FULL OUTER JOIN test_lo0izohr.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 FULL OUTER JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c9735c8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cfb9 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bae5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9465e9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926fbd in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:32.923886 [ 6745 ] {ad8e2774-f54e-4368-8844-41e337f65667} executeQuery: Code: 207. DB::Exception: JOIN test_lo0izohr.test_table_join_1 AS t1 ALL FULL OUTER JOIN test_lo0izohr.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 FULL OUTER JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39622) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 FULL JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c9735c8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cfb9 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bae5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9465e9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926fbd in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:32.924738 [ 6745 ] {ad8e2774-f54e-4368-8844-41e337f65667} TCPHandler: Code: 207. DB::Exception: JOIN test_lo0izohr.test_table_join_1 AS t1 ALL FULL OUTER JOIN test_lo0izohr.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 FULL OUTER JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c9735c8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cfb9 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bae5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9465e9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926fbd in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:33.629354 [ 6745 ] {553a5d73-16e9-426c-9189-44347d8fc7df} executeQuery: Code: 207. DB::Exception: JOIN test_lo0izohr.test_table_join_1 AS t1 ALL FULL OUTER JOIN test_lo0izohr.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 FULL OUTER JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39622) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 FULL JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c9735c8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cfb9 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bae5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9465e9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926fbd in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:33.630044 [ 6745 ] {553a5d73-16e9-426c-9189-44347d8fc7df} TCPHandler: Code: 207. DB::Exception: JOIN test_lo0izohr.test_table_join_1 AS t1 ALL FULL OUTER JOIN test_lo0izohr.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 FULL OUTER JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c9735c8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cfb9 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bae5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9465e9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926fbd in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:34.322495 [ 6745 ] {f3899f14-8994-4f1d-8ccf-d350aa964b39} executeQuery: Code: 207. DB::Exception: JOIN test_lo0izohr.test_table_join_1 AS t1 ALL FULL OUTER JOIN test_lo0izohr.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 FULL OUTER JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL OUTER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39622) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 FULL JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c9735c8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cfb9 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bae5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9465e9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926fbd in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:34.323281 [ 6745 ] {f3899f14-8994-4f1d-8ccf-d350aa964b39} TCPHandler: Code: 207. DB::Exception: JOIN test_lo0izohr.test_table_join_1 AS t1 ALL FULL OUTER JOIN test_lo0izohr.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 FULL OUTER JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL OUTER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c9735c8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cfb9 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93bae5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9465e9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c926fbd in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a962 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:35.836714 [ 6138 ] {a6d4f10b-9572-462a-948f-ae648db49909} executeQuery: Code: 42. DB::Exception: Number of arguments for function parseTimeDelta doesn't match: passed 0, should be 1.: While processing parseTimeDelta(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39082) (comment: 02354_parse_timedelta.sql) (in query: -- invalid expressions SELECT parseTimeDelta();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b232e2c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:119: DB::(anonymous namespace)::FunctionParseTimeDelta::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000011954889 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:14:35.837828 [ 6138 ] {a6d4f10b-9572-462a-948f-ae648db49909} TCPHandler: Code: 42. DB::Exception: Number of arguments for function parseTimeDelta doesn't match: passed 0, should be 1.: While processing parseTimeDelta(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b232e2c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:119: DB::(anonymous namespace)::FunctionParseTimeDelta::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000011954889 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:14:35.978765 [ 6138 ] {f50a3f7a-9a8f-47ec-8f90-0aea73f9d34e} executeQuery: Code: 42. DB::Exception: Number of arguments for function parseTimeDelta doesn't match: passed 2, should be 1.: While processing parseTimeDelta('1yr', 1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39082) (comment: 02354_parse_timedelta.sql) (in query: SELECT parseTimeDelta('1yr', 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b232e2c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:126: DB::(anonymous namespace)::FunctionParseTimeDelta::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000119549c2 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:14:35.979963 [ 6138 ] {f50a3f7a-9a8f-47ec-8f90-0aea73f9d34e} TCPHandler: Code: 42. DB::Exception: Number of arguments for function parseTimeDelta doesn't match: passed 2, should be 1.: While processing parseTimeDelta('1yr', 1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b232e2c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:126: DB::(anonymous namespace)::FunctionParseTimeDelta::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000119549c2 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:14:36.131144 [ 6138 ] {6ad03d4d-3fc8-4e8e-bbcd-3c0f988649d1} executeQuery: Code: 43. DB::Exception: Cannot format UInt8 as time string.: While processing parseTimeDelta(1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39082) (comment: 02354_parse_timedelta.sql) (in query: SELECT parseTimeDelta(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:135: DB::(anonymous namespace)::FunctionParseTimeDelta::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000011954b07 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:14:36.132550 [ 6138 ] {6ad03d4d-3fc8-4e8e-bbcd-3c0f988649d1} TCPHandler: Code: 43. DB::Exception: Cannot format UInt8 as time string.: While processing parseTimeDelta(1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:135: DB::(anonymous namespace)::FunctionParseTimeDelta::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000011954b07 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:14:36.273260 [ 6138 ] {ba30ebc9-03ae-4650-9ca4-2eef4703a12b} executeQuery: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, don't find valid characters, str: " ".: While processing parseTimeDelta(' '). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39082) (comment: 02354_parse_timedelta.sql) (in query: SELECT parseTimeDelta(' ');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:162: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011953ae5 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:14:36.274400 [ 6138 ] {ba30ebc9-03ae-4650-9ca4-2eef4703a12b} TCPHandler: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, don't find valid characters, str: " ".: While processing parseTimeDelta(' '). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:162: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011953ae5 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:14:36.404703 [ 6138 ] {38ae1813-b45a-4475-bf3e-b51ef348ad69} executeQuery: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find number failed, str: "-1yr".: While processing parseTimeDelta('-1yr'). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39082) (comment: 02354_parse_timedelta.sql) (in query: SELECT parseTimeDelta('-1yr');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:184: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011953e1d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:14:36.405715 [ 6138 ] {38ae1813-b45a-4475-bf3e-b51ef348ad69} TCPHandler: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find number failed, str: "-1yr".: While processing parseTimeDelta('-1yr'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:184: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011953e1d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:14:36.540955 [ 6138 ] {759a9a4f-0620-465f-a8ba-247dbb37a2ad} executeQuery: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, str: "1yr-".: While processing parseTimeDelta('1yr-'). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39082) (comment: 02354_parse_timedelta.sql) (in query: SELECT parseTimeDelta('1yr-');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:172: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011953c5d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:14:36.541882 [ 6138 ] {759a9a4f-0620-465f-a8ba-247dbb37a2ad} TCPHandler: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, str: "1yr-".: While processing parseTimeDelta('1yr-'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:172: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011953c5d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:14:36.549270 [ 6138 ] {ec1c7d56-df26-439d-a21a-b34d9020b050} executeQuery: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find number failed, str: "yr2mo".: While processing parseTimeDelta('yr2mo'). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39082) (comment: 02354_parse_timedelta.sql) (in query: SELECT parseTimeDelta('yr2mo');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:184: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011953e1d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:14:36.550056 [ 6138 ] {ec1c7d56-df26-439d-a21a-b34d9020b050} TCPHandler: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find number failed, str: "yr2mo".: While processing parseTimeDelta('yr2mo'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:184: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011953e1d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:14:36.680613 [ 6138 ] {be6272a3-94f6-4cf6-bca2-49c5a9f0a980} executeQuery: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find number after '.' failed, str: "1.yr2mo".: While processing parseTimeDelta('1.yr2mo'). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39082) (comment: 02354_parse_timedelta.sql) (in query: SELECT parseTimeDelta('1.yr2mo');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:197: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011953fe8 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:14:36.681684 [ 6138 ] {be6272a3-94f6-4cf6-bca2-49c5a9f0a980} TCPHandler: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find number after '.' failed, str: "1.yr2mo".: While processing parseTimeDelta('1.yr2mo'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:197: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011953fe8 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:14:36.806245 [ 6138 ] {c3952b98-0052-4cca-b676-8a0826bf026b} executeQuery: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find unit failed, str: "1-yr".: While processing parseTimeDelta('1-yr'). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39082) (comment: 02354_parse_timedelta.sql) (in query: SELECT parseTimeDelta('1-yr');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:225: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000119543e8 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:14:36.807145 [ 6138 ] {c3952b98-0052-4cca-b676-8a0826bf026b} TCPHandler: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find unit failed, str: "1-yr".: While processing parseTimeDelta('1-yr'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:225: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000119543e8 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:14:36.814704 [ 6138 ] {a33eab3b-21e6-4e39-958b-75325f441e8d} executeQuery: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find unit failed, str: "1 1yr".: While processing parseTimeDelta('1 1yr'). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39082) (comment: 02354_parse_timedelta.sql) (in query: SELECT parseTimeDelta('1 1yr');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:225: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000119543e8 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:14:36.815490 [ 6138 ] {a33eab3b-21e6-4e39-958b-75325f441e8d} TCPHandler: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find unit failed, str: "1 1yr".: While processing parseTimeDelta('1 1yr'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:225: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000119543e8 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:14:36.946341 [ 6138 ] {02ffdc22-c680-4f97-95ff-4086685d6bb0} executeQuery: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, parse unit failed: "yyr".: While processing parseTimeDelta('1yyr'). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39082) (comment: 02354_parse_timedelta.sql) (in query: SELECT parseTimeDelta('1yyr');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x00000000119578ec in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:237: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000119545de in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:14:36.947363 [ 6138 ] {02ffdc22-c680-4f97-95ff-4086685d6bb0} TCPHandler: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, parse unit failed: "yyr".: While processing parseTimeDelta('1yyr'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x00000000119578ec in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:237: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000119545de in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:14:36.956299 [ 6138 ] {9f7fcf78-040b-4136-a0ee-de52d2597f83} executeQuery: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find number failed, str: "1yr-2mo-4w + 12 days, 3 hours : 1 minute ;. 33 seconds".: While processing parseTimeDelta('1yr-2mo-4w + 12 days, 3 hours : 1 minute ;. 33 seconds'). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39082) (comment: 02354_parse_timedelta.sql) (in query: SELECT parseTimeDelta('1yr-2mo-4w + 12 days, 3 hours : 1 minute ;. 33 seconds');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:184: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011953e1d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:14:36.957312 [ 6138 ] {9f7fcf78-040b-4136-a0ee-de52d2597f83} TCPHandler: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find number failed, str: "1yr-2mo-4w + 12 days, 3 hours : 1 minute ;. 33 seconds".: While processing parseTimeDelta('1yr-2mo-4w + 12 days, 3 hours : 1 minute ;. 33 seconds'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:184: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011953e1d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:14:37.454297 [ 6138 ] {69bdb555-24cd-4230-8998-26b7b84e84df} executeQuery: Code: 46. DB::Exception: Unknown table function 02428_parameterized_view_test_metqbsjy.pv1: or incorrect parameterized view. (UNKNOWN_FUNCTION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39128) (comment: 02428_parameterized_view.sh) (in query: SELECT Price FROM `02428_parameterized_view_test_metqbsjy.pv1`(price=20) SETTINGS allow_experimental_analyzer = 0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFactory.cpp:46: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15a18 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:37.456394 [ 6138 ] {69bdb555-24cd-4230-8998-26b7b84e84df} TCPHandler: Code: 46. DB::Exception: Unknown table function 02428_parameterized_view_test_metqbsjy.pv1: or incorrect parameterized view. (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFactory.cpp:46: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15a18 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:39.570455 [ 2930 ] {3469ae83-3e74-4e6a-a13d-715f4603d1c5} executeQuery: Code: 179. DB::Exception: Multiple expressions 2 AS value and 1 AS value for alias value. In scope SELECT 1 AS value, 2 AS value. (MULTIPLE_EXPRESSIONS_FOR_ALIAS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39194) (comment: 02344_analyzer_multiple_aliases_for_expression.sql) (in query: SELECT 1 AS value, 2 AS value;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x000000001c95a3e4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7104: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91be5e in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:39.571410 [ 2930 ] {3469ae83-3e74-4e6a-a13d-715f4603d1c5} TCPHandler: Code: 179. DB::Exception: Multiple expressions 2 AS value and 1 AS value for alias value. In scope SELECT 1 AS value, 2 AS value. (MULTIPLE_EXPRESSIONS_FOR_ALIAS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x000000001c95a3e4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7104: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91be5e in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:39.582828 [ 2930 ] {e1c8a937-9e41-4505-b208-c4a7a4686b22} executeQuery: Code: 179. DB::Exception: Multiple expressions 2 AS value and _CAST(2, 'UInt16') for alias value. In scope SELECT 1 + 1 AS value, 2 AS value. (MULTIPLE_EXPRESSIONS_FOR_ALIAS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39194) (comment: 02344_analyzer_multiple_aliases_for_expression.sql) (in query: SELECT plus(1, 1) AS value, 2 AS value;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x000000001c95a3e4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7104: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91be5e in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:39.584054 [ 2930 ] {e1c8a937-9e41-4505-b208-c4a7a4686b22} TCPHandler: Code: 179. DB::Exception: Multiple expressions 2 AS value and _CAST(2, 'UInt16') for alias value. In scope SELECT 1 + 1 AS value, 2 AS value. (MULTIPLE_EXPRESSIONS_FOR_ALIAS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x000000001c95a3e4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7104: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91be5e in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:39.599653 [ 2930 ] {ed4179f0-6dba-4baa-b2fe-74cc9af5a6ff} executeQuery: Code: 179. DB::Exception: Multiple expressions 1 AS subquery and _CAST(1, 'Nullable(UInt8)') for alias subquery. In scope SELECT (SELECT 1) AS subquery, 1 AS subquery. (MULTIPLE_EXPRESSIONS_FOR_ALIAS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39194) (comment: 02344_analyzer_multiple_aliases_for_expression.sql) (in query: SELECT (SELECT 1) AS subquery, 1 AS subquery;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x000000001c95a3e4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7104: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91be5e in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:39.600379 [ 2930 ] {ed4179f0-6dba-4baa-b2fe-74cc9af5a6ff} TCPHandler: Code: 179. DB::Exception: Multiple expressions 1 AS subquery and _CAST(1, 'Nullable(UInt8)') for alias subquery. In scope SELECT (SELECT 1) AS subquery, 1 AS subquery. (MULTIPLE_EXPRESSIONS_FOR_ALIAS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x000000001c95a3e4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7104: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91be5e in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:39.757023 [ 2930 ] {9a0ed85d-84bc-4f6e-9c8c-0709e95f0cf2} executeQuery: Code: 179. DB::Exception: Multiple expressions x -> (x + 2) AS lambda and x -> (x + 1) AS lambda for alias lambda. In scope WITH x -> (x + 1) AS lambda, x -> (x + 2) AS lambda SELECT lambda(1). (MULTIPLE_EXPRESSIONS_FOR_ALIAS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39194) (comment: 02344_analyzer_multiple_aliases_for_expression.sql) (in query: WITH x -> x + 1 AS lambda, x -> x + 2 AS lambda SELECT lambda(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x000000001c95a3e4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7118: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91c15e in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:39.757963 [ 2930 ] {9a0ed85d-84bc-4f6e-9c8c-0709e95f0cf2} TCPHandler: Code: 179. DB::Exception: Multiple expressions x -> (x + 2) AS lambda and x -> (x + 1) AS lambda for alias lambda. In scope WITH x -> (x + 1) AS lambda, x -> (x + 2) AS lambda SELECT lambda(1). (MULTIPLE_EXPRESSIONS_FOR_ALIAS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x000000001c95a3e4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7118: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91c15e in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:39.773979 [ 2930 ] {110102df-ccf7-4395-9a7b-e427628e7a51} executeQuery: Code: 179. DB::Exception: Multiple expressions _CAST(1, 'Nullable(UInt8)') and (SELECT 1) AS lambda for alias lambda. In scope WITH x -> (x + 1) AS lambda SELECT (SELECT 1) AS lambda. (MULTIPLE_EXPRESSIONS_FOR_ALIAS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39194) (comment: 02344_analyzer_multiple_aliases_for_expression.sql) (in query: WITH x -> x + 1 AS lambda SELECT (SELECT 1) AS lambda;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x000000001c95a3e4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7104: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91be5e in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:39.774967 [ 2930 ] {110102df-ccf7-4395-9a7b-e427628e7a51} TCPHandler: Code: 179. DB::Exception: Multiple expressions _CAST(1, 'Nullable(UInt8)') and (SELECT 1) AS lambda for alias lambda. In scope WITH x -> (x + 1) AS lambda SELECT (SELECT 1) AS lambda. (MULTIPLE_EXPRESSIONS_FOR_ALIAS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x000000001c95a3e4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7104: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91be5e in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:39.782393 [ 2930 ] {cdc76c95-db95-4cfb-b97c-1c30081ec511} executeQuery: Code: 179. DB::Exception: Multiple expressions 1 AS lambda and x -> (x + 1) AS lambda for alias lambda. In scope WITH x -> (x + 1) AS lambda SELECT 1 AS lambda. (MULTIPLE_EXPRESSIONS_FOR_ALIAS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39194) (comment: 02344_analyzer_multiple_aliases_for_expression.sql) (in query: WITH x -> x + 1 AS lambda SELECT 1 AS lambda;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x000000001c95a3e4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7118: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91c15e in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:39.783029 [ 2930 ] {cdc76c95-db95-4cfb-b97c-1c30081ec511} TCPHandler: Code: 179. DB::Exception: Multiple expressions 1 AS lambda and x -> (x + 1) AS lambda for alias lambda. In scope WITH x -> (x + 1) AS lambda SELECT 1 AS lambda. (MULTIPLE_EXPRESSIONS_FOR_ALIAS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x000000001c95a3e4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7118: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91c15e in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:39.790282 [ 2930 ] {1af8ea7c-713f-4b45-b85c-0e02f682d319} executeQuery: Code: 179. DB::Exception: Multiple expressions test_6tfn0l9q.test_table.value and test_6tfn0l9q.test_table.id for alias value. In scope SELECT id AS value, value AS value FROM test_table. (MULTIPLE_EXPRESSIONS_FOR_ALIAS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39194) (comment: 02344_analyzer_multiple_aliases_for_expression.sql) (in query: SELECT id AS value, value AS value FROM test_table;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x000000001c95a3e4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7104: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91be5e in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:39.790928 [ 2930 ] {1af8ea7c-713f-4b45-b85c-0e02f682d319} TCPHandler: Code: 179. DB::Exception: Multiple expressions test_6tfn0l9q.test_table.value and test_6tfn0l9q.test_table.id for alias value. In scope SELECT id AS value, value AS value FROM test_table. (MULTIPLE_EXPRESSIONS_FOR_ALIAS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x000000001c95a3e4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7104: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91be5e in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:39.799048 [ 2930 ] {d6aac4c1-2a55-4fe6-a09f-49226e6fd755} executeQuery: Code: 179. DB::Exception: Multiple expressions test_6tfn0l9q.test_table.value and test_6tfn0l9q.test_table.id for alias value_1. In scope SELECT id AS value_1, value AS value_1 FROM test_table. (MULTIPLE_EXPRESSIONS_FOR_ALIAS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39194) (comment: 02344_analyzer_multiple_aliases_for_expression.sql) (in query: SELECT id AS value_1, value AS value_1 FROM test_table;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x000000001c95a3e4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7104: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91be5e in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:39.799699 [ 2930 ] {d6aac4c1-2a55-4fe6-a09f-49226e6fd755} TCPHandler: Code: 179. DB::Exception: Multiple expressions test_6tfn0l9q.test_table.value and test_6tfn0l9q.test_table.id for alias value_1. In scope SELECT id AS value_1, value AS value_1 FROM test_table. (MULTIPLE_EXPRESSIONS_FOR_ALIAS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x000000001c95a3e4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7104: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91be5e in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:39.808712 [ 2930 ] {e6a02a8a-f7d8-4cfa-8144-d4a9138ed4b3} executeQuery: Code: 179. DB::Exception: Multiple expressions id + 1 AS value and test_6tfn0l9q.test_table.id for alias value. In scope SELECT id AS value, id + 1 AS value FROM test_table. (MULTIPLE_EXPRESSIONS_FOR_ALIAS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39194) (comment: 02344_analyzer_multiple_aliases_for_expression.sql) (in query: SELECT id AS value, (id + 1) AS value FROM test_table;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x000000001c95a3e4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7104: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91be5e in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:39.809525 [ 2930 ] {e6a02a8a-f7d8-4cfa-8144-d4a9138ed4b3} TCPHandler: Code: 179. DB::Exception: Multiple expressions id + 1 AS value and test_6tfn0l9q.test_table.id for alias value. In scope SELECT id AS value, id + 1 AS value FROM test_table. (MULTIPLE_EXPRESSIONS_FOR_ALIAS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x000000001c95a3e4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7104: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91be5e in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:40.933784 [ 6138 ] {bc757522-3dd2-4a66-83e5-99d51fe23ee3} executeQuery: Code: 36. DB::Exception: Strict EXCEPT column transformer EXCEPT (id, value1) expects following column(s) : value1. In scope SELECT * EXCEPT STRICT (id, value1) FROM test_table. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39214) (comment: 02343_analyzer_column_transformers_strict.sql) (in query: SELECT * EXCEPT STRICT (id, value1) FROM test_table;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>, String>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity, std::__wrap_iter, char>>::type, std::type_identity::type>, char const*&&, String&&, fmt::v8::join_view, std::__wrap_iter, char>&&, String&&) @ 0x000000001c98b5a4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4268: DB::(anonymous namespace)::QueryAnalyzer::resolveMatcher(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c950ad6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5514: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fec0 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:40.934730 [ 6138 ] {bc757522-3dd2-4a66-83e5-99d51fe23ee3} TCPHandler: Code: 36. DB::Exception: Strict EXCEPT column transformer EXCEPT (id, value1) expects following column(s) : value1. In scope SELECT * EXCEPT STRICT (id, value1) FROM test_table. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>, String>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity, std::__wrap_iter, char>>::type, std::type_identity::type>, char const*&&, String&&, fmt::v8::join_view, std::__wrap_iter, char>&&, String&&) @ 0x000000001c98b5a4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4268: DB::(anonymous namespace)::QueryAnalyzer::resolveMatcher(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c950ad6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5514: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fec0 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:40.972932 [ 6138 ] {b6d0b496-8953-4419-be7b-8894c33f4853} executeQuery: Code: 36. DB::Exception: Strict REPLACE column transformer REPLACE (1 AS id, 2 AS value_1) expects following column(s) : value_1. In scope SELECT * REPLACE STRICT (1 AS id, 2 AS value_1) FROM test_table. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39214) (comment: 02343_analyzer_column_transformers_strict.sql) (in query: SELECT * REPLACE STRICT (1 AS id, 2 AS value_1) FROM test_table;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>, String>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity, std::__wrap_iter, char>>::type, std::type_identity::type>, char const*&&, String&&, fmt::v8::join_view, std::__wrap_iter, char>&&, String&&) @ 0x000000001c98b5a4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4268: DB::(anonymous namespace)::QueryAnalyzer::resolveMatcher(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c950ad6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5514: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fec0 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:40.973654 [ 6138 ] {b6d0b496-8953-4419-be7b-8894c33f4853} TCPHandler: Code: 36. DB::Exception: Strict REPLACE column transformer REPLACE (1 AS id, 2 AS value_1) expects following column(s) : value_1. In scope SELECT * REPLACE STRICT (1 AS id, 2 AS value_1) FROM test_table. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>, String>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity, std::__wrap_iter, char>>::type, std::type_identity::type>, char const*&&, String&&, fmt::v8::join_view, std::__wrap_iter, char>&&, String&&) @ 0x000000001c98b5a4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4268: DB::(anonymous namespace)::QueryAnalyzer::resolveMatcher(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c950ad6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5514: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91fec0 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e6a1 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c927487 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a9ce in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c91913f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c918e7e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90b737 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb6664c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb659b8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a4f8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5855e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:41.752595 [ 8835 ] {4a269635-3e75-492c-82e0-c8721801d802} executeQuery: Code: 206. DB::Exception: No alias for subquery or table function in JOIN (set joined_subquery_requires_alias=0 to disable restriction). While processing ' view(SELECT dummy AS d1, dummy AS d2 FROM system.one)'. (ALIAS_REQUIRED) (version 23.8.16.41.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:33486) (comment: 02341_global_join_cte.sql) (in query: WITH `rhs` AS (SELECT * FROM remote('127.{1,2}', view(SELECT `dummy` AS `d1`, `dummy` AS `d2` FROM `system`.`one`))) SELECT `d2` FROM view(SELECT `dummy` AS `d1`, `dummy` AS `d2` FROM `system`.`one`) GLOBAL ALL INNER JOIN `rhs` AS `rhs` USING (`d1`) ORDER BY `rhs`.`d2` ASC), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinedTables.cpp:254: DB::JoinedTables::resolveTables() @ 0x000000001cc20b10 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:448: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7fd2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:41.752867 [ 8836 ] {fc518ad2-3c44-428a-9812-f8665750a9e9} executeQuery: Code: 206. DB::Exception: No alias for subquery or table function in JOIN (set joined_subquery_requires_alias=0 to disable restriction). While processing ' view(SELECT dummy AS d1, dummy AS d2 FROM system.one)'. (ALIAS_REQUIRED) (version 23.8.16.41.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:36144) (comment: 02341_global_join_cte.sql) (in query: WITH `rhs` AS (SELECT * FROM remote('127.{1,2}', view(SELECT `dummy` AS `d1`, `dummy` AS `d2` FROM `system`.`one`))) SELECT `d2` FROM view(SELECT `dummy` AS `d1`, `dummy` AS `d2` FROM `system`.`one`) GLOBAL ALL INNER JOIN `rhs` AS `rhs` USING (`d1`) ORDER BY `rhs`.`d2` ASC), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinedTables.cpp:254: DB::JoinedTables::resolveTables() @ 0x000000001cc20b10 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:448: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7fd2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:41.753575 [ 8835 ] {4a269635-3e75-492c-82e0-c8721801d802} TCPHandler: Code: 206. DB::Exception: No alias for subquery or table function in JOIN (set joined_subquery_requires_alias=0 to disable restriction). While processing ' view(SELECT dummy AS d1, dummy AS d2 FROM system.one)'. (ALIAS_REQUIRED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinedTables.cpp:254: DB::JoinedTables::resolveTables() @ 0x000000001cc20b10 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:448: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7fd2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:41.754326 [ 8836 ] {fc518ad2-3c44-428a-9812-f8665750a9e9} TCPHandler: Code: 206. DB::Exception: No alias for subquery or table function in JOIN (set joined_subquery_requires_alias=0 to disable restriction). While processing ' view(SELECT dummy AS d1, dummy AS d2 FROM system.one)'. (ALIAS_REQUIRED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinedTables.cpp:254: DB::JoinedTables::resolveTables() @ 0x000000001cc20b10 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:448: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7fd2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:41.816306 [ 2930 ] {2520d6cb-0950-4048-9cda-0de541752b0c} executeQuery: Code: 206. DB::Exception: Received from 127.1:9000. DB::Exception: No alias for subquery or table function in JOIN (set joined_subquery_requires_alias=0 to disable restriction). While processing ' view(SELECT dummy AS d1, dummy AS d2 FROM system.one)'. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinedTables.cpp:254: DB::JoinedTables::resolveTables() @ 0x000000001cc20b10 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:448: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7fd2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? : While executing Remote. (ALIAS_REQUIRED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:55816) (comment: 02341_global_join_cte.sql) (in query: -- { echo } with rhs as (select * from remote('127.{1,2}', view(select dummy d1, dummy d2 from system.one))) select lhs.d2 from remote('127.{1,2}', view(select dummy d1, dummy d2 from system.one)) lhs global join rhs using (d1) order by rhs.d2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b200fea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b200f95 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1364: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x0000000013983722 in /usr/bin/clickhouse 7. /build/src/Client/Connection.cpp:1150: DB::Connection::receiveException() const @ 0x000000001e4c6199 in /usr/bin/clickhouse 8. /build/src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000001e4cc791 in /usr/bin/clickhouse 9. /build/src/Client/PacketReceiver.cpp:66: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000001e5375dc in /usr/bin/clickhouse 10. /build/src/Common/AsyncTaskExecutor.cpp:88: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x000000001b89db01 in /usr/bin/clickhouse 11. /build/src/Common/Fiber.h:70: Fiber::RoutineImpl::operator()(boost::context::fiber&&) @ 0x000000001b89da18 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval())) std::__invoke[abi:v15000]&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x000000001b89d9a8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x000000001b89d968 in /usr/bin/clickhouse 14. /build/contrib/boost/boost/context/fiber_fcontext.hpp:157: boost::context::detail::fiber_record>::run(void*) @ 0x000000001b89d89e in /usr/bin/clickhouse 15. /build/contrib/boost/boost/context/fiber_fcontext.hpp:97: void boost::context::detail::fiber_entry>>(boost::context::detail::transfer_t) @ 0x000000001b89d71d in /usr/bin/clickhouse 2024.09.24 01:14:41.819097 [ 2930 ] {2520d6cb-0950-4048-9cda-0de541752b0c} TCPHandler: Code: 206. DB::Exception: Received from 127.1:9000. DB::Exception: No alias for subquery or table function in JOIN (set joined_subquery_requires_alias=0 to disable restriction). While processing ' view(SELECT dummy AS d1, dummy AS d2 FROM system.one)'. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinedTables.cpp:254: DB::JoinedTables::resolveTables() @ 0x000000001cc20b10 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:448: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7fd2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? : While executing Remote. (ALIAS_REQUIRED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b200fea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b200f95 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1364: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x0000000013983722 in /usr/bin/clickhouse 7. /build/src/Client/Connection.cpp:1150: DB::Connection::receiveException() const @ 0x000000001e4c6199 in /usr/bin/clickhouse 8. /build/src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000001e4cc791 in /usr/bin/clickhouse 9. /build/src/Client/PacketReceiver.cpp:66: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000001e5375dc in /usr/bin/clickhouse 10. /build/src/Common/AsyncTaskExecutor.cpp:88: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x000000001b89db01 in /usr/bin/clickhouse 11. /build/src/Common/Fiber.h:70: Fiber::RoutineImpl::operator()(boost::context::fiber&&) @ 0x000000001b89da18 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval())) std::__invoke[abi:v15000]&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x000000001b89d9a8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x000000001b89d968 in /usr/bin/clickhouse 14. /build/contrib/boost/boost/context/fiber_fcontext.hpp:157: boost::context::detail::fiber_record>::run(void*) @ 0x000000001b89d89e in /usr/bin/clickhouse 15. /build/contrib/boost/boost/context/fiber_fcontext.hpp:97: void boost::context::detail::fiber_entry>>(boost::context::detail::transfer_t) @ 0x000000001b89d71d in /usr/bin/clickhouse 2024.09.24 01:14:42.223648 [ 743 ] {} void DB::StorageWindowView::threadFuncFireProc(): Code: 60. DB::Exception: Table test_86qz3vbj.data_02342 does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53612 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 9. /build/src/Storages/WindowView/StorageWindowView.cpp:1658: DB::StorageWindowView::getSourceTable() const @ 0x000000001e3d9b97 in /usr/bin/clickhouse 10. /build/src/Storages/WindowView/StorageWindowView.cpp:597: DB::StorageWindowView::getNewBlocks(unsigned int)::$_4::operator()(DB::StorageID const&) const @ 0x000000001e3dce26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::StorageWindowView::getNewBlocks(unsigned int)::$_4&, DB::StorageID const&) @ 0x000000001e3dcddd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::StorageWindowView::getNewBlocks(unsigned int)::$_4&, DB::StorageID const&) @ 0x000000001e3dcd9d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageID const&)>::operator()[abi:v15000](DB::StorageID const&) @ 0x000000001e3dcd5d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageID const&)>::__call_impl (DB::StorageID const&)>>(std::__function::__policy_storage const*, DB::StorageID const&) @ 0x000000001e3dcd25 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageID const&)>::operator()[abi:v15000](DB::StorageID const&) const @ 0x000000001bef8f9e in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageID const&)>::operator()(DB::StorageID const&) const @ 0x000000001bef4a7d in /usr/bin/clickhouse 17. /build/src/Interpreters/DatabaseCatalog.cpp:110: DB::TemporaryTableHolder::TemporaryTableHolder(std::shared_ptr, std::function (DB::StorageID const&)> const&, std::shared_ptr const&) @ 0x000000001bedcb2b in /usr/bin/clickhouse 18. /build/src/Storages/WindowView/StorageWindowView.cpp:603: DB::StorageWindowView::getNewBlocks(unsigned int) @ 0x000000001e3cf2e7 in /usr/bin/clickhouse 19. /build/src/Storages/WindowView/StorageWindowView.cpp:655: DB::StorageWindowView::fire(unsigned int) @ 0x000000001e3e1fc5 in /usr/bin/clickhouse 20. /build/src/Storages/WindowView/StorageWindowView.cpp:1035: DB::StorageWindowView::threadFuncFireProc() @ 0x000000001e3d20f8 in /usr/bin/clickhouse 21. /build/src/Storages/WindowView/StorageWindowView.cpp:1235: DB::StorageWindowView::StorageWindowView(DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool)::$_1::operator()() const @ 0x000000001e3df02f in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool)::$_1&>()()) std::__invoke[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool)::$_1&>(DB::StorageWindowView::StorageWindowView(DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool)::$_1&) @ 0x000000001e3deff5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool)::$_1&>(DB::StorageWindowView::StorageWindowView(DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool)::$_1&) @ 0x000000001e3defd5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool)::$_1, void ()>::operator()[abi:v15000]() @ 0x000000001e3defb5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool)::$_1, void ()>>(std::__function::__policy_storage const*) @ 0x000000001e3def7d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 28. /build/src/Core/BackgroundSchedulePool.cpp:104: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x000000001b3d455d in /usr/bin/clickhouse 29. /build/src/Core/BackgroundSchedulePool.cpp:302: DB::BackgroundSchedulePool::threadFunction() @ 0x000000001b3d7346 in /usr/bin/clickhouse 30. /build/src/Core/BackgroundSchedulePool.cpp:168: DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0::operator()() const @ 0x000000001b3d8238 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, StrongTypedef, char const*)::$_0&>()()) std::__invoke[abi:v15000], StrongTypedef, char const*)::$_0&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&) @ 0x000000001b3d8215 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:14:46.073539 [ 2931 ] {02421_truncate_isolation_with_mutations_test_dpzsm4ui_tx79_5330} executeQuery: Code: 232. DB::Exception: No part all_2_2_0 in committed state. (NO_SUCH_DATA_PART) (version 23.8.16.41.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:39320) (in query: alter table tt drop part 'all_2_2_0'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4984: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x000000001deab7d0 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5138: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001dead5d0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:46.074500 [ 2931 ] {02421_truncate_isolation_with_mutations_test_dpzsm4ui_tx79_5330} DynamicQueryHandler: Code: 232. DB::Exception: No part all_2_2_0 in committed state. (NO_SUCH_DATA_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4984: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x000000001deab7d0 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5138: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001dead5d0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:14:51.421042 [ 8836 ] {c479b47e-0cf0-46d9-ba63-daf7c9922617} executeQuery: Code: 36. DB::Exception: Column `path` should not be empty. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56008) (comment: 02311_system_zookeeper_insert.sql) (in query: -- test exceptions insert into system.zookeeper (name, value) values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [34]) @ 0x000000000b91eede in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:144: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x000000001abbc42a in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2ec62 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:14:51.422212 [ 8836 ] {c479b47e-0cf0-46d9-ba63-daf7c9922617} TCPHandler: Code: 36. DB::Exception: Column `path` should not be empty. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [34]) @ 0x000000000b91eede in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:144: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x000000001abbc42a in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2ec62 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:14:51.634465 [ 8836 ] {8aeffc1c-3e24-4eab-9739-b0c3ce803e76} executeQuery: Code: 36. DB::Exception: Column `name` should not be empty. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56008) (comment: 02311_system_zookeeper_insert.sql) (in query: insert into system.zookeeper (path, value) values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [34]) @ 0x000000000b91eede in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:139: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x000000001abbc3a0 in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2ec62 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:14:51.779283 [ 2936 ] {b0c956b0-12ea-4b38-be81-276f0ecfce0e} executeQuery: Code: 164. DB::Exception: default: Cannot execute query in readonly mode. (READONLY) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:37958) (comment: 02315_readonly_create_function.sh) (in query: CREATE FUNCTION test_function AS (x) -> x + 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Access/ContextAccess.cpp:520: auto bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x000000001b04d517 in /usr/bin/clickhouse 7. /build/src/Access/ContextAccess.cpp:601: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x000000001b04b67b in /usr/bin/clickhouse 8. /build/src/Access/ContextAccess.cpp:625: bool DB::ContextAccess::checkAccessImpl(DB::AccessFlags const&) const @ 0x000000001b01ec22 in /usr/bin/clickhouse 9. /build/src/Access/ContextAccess.cpp:646: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x000000001b05a2b3 in /usr/bin/clickhouse 10. /build/src/Access/ContextAccess.cpp:667: bool DB::ContextAccess::checkAccessImpl(DB::AccessRightsElement const&) const @ 0x000000001b01f0f2 in /usr/bin/clickhouse 11. /build/src/Access/ContextAccess.cpp:675: bool DB::ContextAccess::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x000000001b01f18e in /usr/bin/clickhouse 12. /build/src/Access/ContextAccess.cpp:705: DB::ContextAccess::checkAccess(DB::AccessRightsElements const&) const @ 0x000000001b01a1bd in /usr/bin/clickhouse 13. /build/src/Interpreters/Context.cpp:1200: void DB::Context::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x000000001bde58d6 in /usr/bin/clickhouse 14. /build/src/Interpreters/Context.cpp:1214: DB::Context::checkAccess(DB::AccessRightsElements const&) const @ 0x000000001bdc5a5d in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:45: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001ca7acf5 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:51.779325 [ 8836 ] {8aeffc1c-3e24-4eab-9739-b0c3ce803e76} TCPHandler: Code: 36. DB::Exception: Column `name` should not be empty. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [34]) @ 0x000000000b91eede in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:139: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x000000001abbc3a0 in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2ec62 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:14:51.781029 [ 2936 ] {b0c956b0-12ea-4b38-be81-276f0ecfce0e} TCPHandler: Code: 164. DB::Exception: default: Cannot execute query in readonly mode. (READONLY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Access/ContextAccess.cpp:520: auto bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x000000001b04d517 in /usr/bin/clickhouse 7. /build/src/Access/ContextAccess.cpp:601: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x000000001b04b67b in /usr/bin/clickhouse 8. /build/src/Access/ContextAccess.cpp:625: bool DB::ContextAccess::checkAccessImpl(DB::AccessFlags const&) const @ 0x000000001b01ec22 in /usr/bin/clickhouse 9. /build/src/Access/ContextAccess.cpp:646: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x000000001b05a2b3 in /usr/bin/clickhouse 10. /build/src/Access/ContextAccess.cpp:667: bool DB::ContextAccess::checkAccessImpl(DB::AccessRightsElement const&) const @ 0x000000001b01f0f2 in /usr/bin/clickhouse 11. /build/src/Access/ContextAccess.cpp:675: bool DB::ContextAccess::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x000000001b01f18e in /usr/bin/clickhouse 12. /build/src/Access/ContextAccess.cpp:705: DB::ContextAccess::checkAccess(DB::AccessRightsElements const&) const @ 0x000000001b01a1bd in /usr/bin/clickhouse 13. /build/src/Interpreters/Context.cpp:1200: void DB::Context::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x000000001bde58d6 in /usr/bin/clickhouse 14. /build/src/Interpreters/Context.cpp:1214: DB::Context::checkAccess(DB::AccessRightsElements const&) const @ 0x000000001bdc5a5d in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:45: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001ca7acf5 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:51.883199 [ 8836 ] {4dfdb274-6856-4229-b666-c5be47bfe9b9} executeQuery: Code: 44. DB::Exception: Cannot insert column version, because it is MATERIALIZED column. (ILLEGAL_COLUMN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56008) (comment: 02311_system_zookeeper_insert.sql) (in query: insert into system.zookeeper (name, version) values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterInsertQuery.cpp:172: DB::InterpreterInsertQuery::getSampleBlock(std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001ca7fb25 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterInsertQuery.cpp:149: DB::InterpreterInsertQuery::getSampleBlock(DB::ASTInsertQuery const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001ca7f7f2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:393: DB::InterpreterInsertQuery::execute() @ 0x000000001ca817a6 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:51.883956 [ 8836 ] {4dfdb274-6856-4229-b666-c5be47bfe9b9} TCPHandler: Code: 44. DB::Exception: Cannot insert column version, because it is MATERIALIZED column. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterInsertQuery.cpp:172: DB::InterpreterInsertQuery::getSampleBlock(std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001ca7fb25 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterInsertQuery.cpp:149: DB::InterpreterInsertQuery::getSampleBlock(DB::ASTInsertQuery const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001ca7f7f2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:393: DB::InterpreterInsertQuery::execute() @ 0x000000001ca817a6 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:51.981117 [ 8836 ] {e481e856-2ee2-4207-a5b0-ddfe637f239b} executeQuery: Code: 16. DB::Exception: No such column versionxyz in table system.zookeeper (cfd6d09b-27cb-4484-b4af-c5ef58323413). (NO_SUCH_COLUMN_IN_TABLE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56008) (comment: 02311_system_zookeeper_insert.sql) (in query: insert into system.zookeeper (name, versionxyz) values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterInsertQuery.cpp:177: DB::InterpreterInsertQuery::getSampleBlock(std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001ca7fcc6 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterInsertQuery.cpp:149: DB::InterpreterInsertQuery::getSampleBlock(DB::ASTInsertQuery const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001ca7f7f2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:393: DB::InterpreterInsertQuery::execute() @ 0x000000001ca817a6 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:51.981794 [ 8836 ] {e481e856-2ee2-4207-a5b0-ddfe637f239b} TCPHandler: Code: 16. DB::Exception: No such column versionxyz in table system.zookeeper (cfd6d09b-27cb-4484-b4af-c5ef58323413). (NO_SUCH_COLUMN_IN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterInsertQuery.cpp:177: DB::InterpreterInsertQuery::getSampleBlock(std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001ca7fcc6 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterInsertQuery.cpp:149: DB::InterpreterInsertQuery::getSampleBlock(DB::ASTInsertQuery const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001ca7f7f2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:393: DB::InterpreterInsertQuery::execute() @ 0x000000001ca817a6 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:52.170278 [ 8836 ] {a82c0232-9aea-4d78-8592-98dd3aaf8983} executeQuery: Code: 36. DB::Exception: Column `name` should not contain '/'. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56008) (comment: 02311_system_zookeeper_insert.sql) (in query: insert into system.zookeeper (name, path, value) values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [37]) @ 0x000000000c57937e in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:134: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x000000001abbc2d6 in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2ec62 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:14:52.171273 [ 8836 ] {a82c0232-9aea-4d78-8592-98dd3aaf8983} TCPHandler: Code: 36. DB::Exception: Column `name` should not contain '/'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [37]) @ 0x000000000c57937e in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:134: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x000000001abbc2d6 in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2ec62 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:14:52.187478 [ 8836 ] {d562e912-e5be-4c9c-9036-a815b8891498} executeQuery: Code: 36. DB::Exception: Column `name` should not contain '/'. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56008) (comment: 02311_system_zookeeper_insert.sql) (in query: insert into system.zookeeper (name, path, value) values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [37]) @ 0x000000000c57937e in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:134: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x000000001abbc2d6 in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2ec62 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:14:52.188469 [ 8836 ] {d562e912-e5be-4c9c-9036-a815b8891498} TCPHandler: Code: 36. DB::Exception: Column `name` should not contain '/'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [37]) @ 0x000000000c57937e in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:134: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x000000001abbc2d6 in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2ec62 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:14:52.205513 [ 8836 ] {80d58db2-e62e-4807-b927-d7e33c10202a} executeQuery: Code: 36. DB::Exception: Column `name` should not be empty. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56008) (comment: 02311_system_zookeeper_insert.sql) (in query: insert into system.zookeeper (name, path, value) values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [34]) @ 0x000000000b91eede in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:139: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x000000001abbc3a0 in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2ec62 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:14:52.206801 [ 8836 ] {80d58db2-e62e-4807-b927-d7e33c10202a} TCPHandler: Code: 36. DB::Exception: Column `name` should not be empty. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [34]) @ 0x000000000b91eede in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:139: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x000000001abbc3a0 in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2ec62 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:14:52.435189 [ 8836 ] {3b262be3-6001-431e-bc50-09e2d1d21c2b} executeQuery: Code: 36. DB::Exception: Sum of `name` length and `path` length should not exceed PATH_MAX. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56008) (comment: 02311_system_zookeeper_insert.sql) (in query: insert into system.zookeeper (name, path, value) values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [66]) @ 0x000000000d729a3e in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:149: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x000000001abbc4d8 in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2ec62 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:14:52.436524 [ 8836 ] {3b262be3-6001-431e-bc50-09e2d1d21c2b} TCPHandler: Code: 36. DB::Exception: Sum of `name` length and `path` length should not exceed PATH_MAX. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [66]) @ 0x000000000d729a3e in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:149: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x000000001abbc4d8 in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2ec62 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:14:55.798060 [ 2930 ] {848cdf8a-a402-4385-a9c0-1a6459b6ec4c} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.101119901 seconds, maximum: 1.1. (TIMEOUT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:38020) (comment: 02294_floating_point_second_in_settings.sh) (in query: SELECT count() FROM system.numbers), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b87a98c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b879dd3 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x000000001b879ce8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x000000001ccaa2b9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6d0a80 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6d115c in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d09f6 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 17. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a610e2 in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:55.803974 [ 2930 ] {848cdf8a-a402-4385-a9c0-1a6459b6ec4c} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.101119901 seconds, maximum: 1.1. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b87a98c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b879dd3 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x000000001b879ce8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x000000001ccaa2b9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6d0a80 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6d115c in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d09f6 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 17. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a610e2 in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:56.460451 [ 6138 ] {1b65ac3a-38af-47b3-84e5-ff546ff89621} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.230624003 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:60574) (comment: 02293_http_header_full_summary_without_progress.sh) (in query: SELECT 1 + sleepEachRow(0.00002) FROM numbers(100000) ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b87a98c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b879dd3 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x000000001b879ce8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x000000001ccaa2b9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6d0a80 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6d115c in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d09f6 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ce1c8 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b3ee0 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:56.463325 [ 6138 ] {1b65ac3a-38af-47b3-84e5-ff546ff89621} DynamicQueryHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.230624003 seconds, maximum: 1. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b87a98c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b879dd3 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x000000001b879ce8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x000000001ccaa2b9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6d0a80 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6d115c in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d09f6 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ce1c8 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b3ee0 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:14:56.601851 [ 6745 ] {3fc1e9fc-ca95-45c6-9eee-2cefd30c3932} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.150101364 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:60586) (comment: 02293_http_header_summary_contains_exception_code_with_progress.sh) (in query: SELECT 1 + sleepEachRow(0.00002) FROM numbers(100000) ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b87a98c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b879dd3 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x000000001b879ce8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x000000001ccaa2b9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6d0a80 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6d115c in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d09f6 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ce1c8 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b3ee0 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:56.604312 [ 6745 ] {3fc1e9fc-ca95-45c6-9eee-2cefd30c3932} DynamicQueryHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.150101364 seconds, maximum: 1. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b87a98c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b879dd3 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x000000001b879ce8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x000000001ccaa2b9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6d0a80 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6d115c in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d09f6 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ce1c8 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b3ee0 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:14:58.687000 [ 8836 ] {1bbfe053-b75f-4eda-86cd-9b409100e90a} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.101164085 seconds, maximum: 1.1. (TIMEOUT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:38080) (comment: 02294_floating_point_second_in_settings.sh) (in query: SELECT count() FROM system.numbers SETTINGS max_execution_time=1.1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b87a98c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b879dd3 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x000000001b879ce8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x000000001ccaa2b9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6d0a80 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6d115c in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d09f6 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 17. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a610e2 in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:58.693033 [ 8836 ] {1bbfe053-b75f-4eda-86cd-9b409100e90a} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.101164085 seconds, maximum: 1.1. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b87a98c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b879dd3 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x000000001b879ce8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x000000001ccaa2b9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6d0a80 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6d115c in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d09f6 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 17. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a610e2 in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:59.868182 [ 2930 ] {6d961e0e-d7b0-4355-ba1d-b1abc0b61664} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.101563517 seconds, maximum: 1.1. (TIMEOUT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:60600) (comment: 02294_floating_point_second_in_settings.sh) (in query: SELECT count() FROM system.numbers), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b87a98c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b879dd3 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x000000001b879ce8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x000000001ccaa2b9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6d0a80 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6d115c in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d09f6 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ce1c8 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b3ee0 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:14:59.873157 [ 2930 ] {6d961e0e-d7b0-4355-ba1d-b1abc0b61664} DynamicQueryHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.101563517 seconds, maximum: 1.1. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b87a98c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b879dd3 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x000000001b879ce8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x000000001ccaa2b9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6d0a80 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6d115c in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d09f6 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ce1c8 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b3ee0 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:15:00.225392 [ 8836 ] {ec9f5efa-376d-4e6c-9219-7b48583df437} executeQuery: Code: 47. DB::Exception: Missing columns: 'String' while processing query: 'String AS b', required columns: 'String' 'String': default expression and column type are incompatible. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:38134) (comment: 02287_ephemeral_format_crash.sql) (in query: CREATE TABLE test(a UInt8, b EPHEMERAL String) Engine=Memory();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1355: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001cfa2798 in /usr/bin/clickhouse 8. /build/src/Storages/ColumnsDescription.cpp:846: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000001d5a937b in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:571: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e861a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e9748 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f0864 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:15:00.226185 [ 8836 ] {ec9f5efa-376d-4e6c-9219-7b48583df437} TCPHandler: Code: 47. DB::Exception: Missing columns: 'String' while processing query: 'String AS b', required columns: 'String' 'String': default expression and column type are incompatible. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1355: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001cfa2798 in /usr/bin/clickhouse 8. /build/src/Storages/ColumnsDescription.cpp:846: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000001d5a937b in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:571: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e861a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e9748 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f0864 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:15:00.235719 [ 8836 ] {b496e6dc-c4ea-4c97-963d-3839d13950b3} executeQuery: Code: 47. DB::Exception: Missing columns: 'test' while processing query: '_CAST(test AS b_tmp_alter17236499568630584901, 'String') AS b, b_tmp_alter17236499568630584901', required columns: 'test' 'test': default expression and column type are incompatible. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:38134) (comment: 02287_ephemeral_format_crash.sql) (in query: CREATE TABLE test(a UInt8, b String EPHEMERAL test) Engine=Memory();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1355: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001cfa2798 in /usr/bin/clickhouse 8. /build/src/Storages/ColumnsDescription.cpp:846: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000001d5a937b in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:571: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e861a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e9748 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f0864 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:15:00.236378 [ 8836 ] {b496e6dc-c4ea-4c97-963d-3839d13950b3} TCPHandler: Code: 47. DB::Exception: Missing columns: 'test' while processing query: '_CAST(test AS b_tmp_alter17236499568630584901, 'String') AS b, b_tmp_alter17236499568630584901', required columns: 'test' 'test': default expression and column type are incompatible. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1355: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001cfa2798 in /usr/bin/clickhouse 8. /build/src/Storages/ColumnsDescription.cpp:846: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000001d5a937b in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:571: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e861a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e9748 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f0864 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:15:23.288869 [ 8850 ] {4b6eaea7-0c91-4323-9e23-9d45ef7c7260} executeQuery: Code: 675. DB::ParsingException: Cannot parse IPv4 : Cannot parse IPv4 from String: while executing 'FUNCTION toIPv4(ip : 0) -> toIPv4(ip) IPv4 : 2'. (CANNOT_PARSE_IPV4) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:35948) (comment: 02244_ip_address_invalid_insert.sql) (in query: INSERT INTO test_table_ipv4_materialized(ip) VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException>>(int, FormatStringHelperImpl>>::type>, std::basic_string_view>&&) @ 0x000000000b5e2413 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.h:862: void DB::readIPv4TextImpl(DB::IPv4&, DB::ReadBuffer&) @ 0x000000000b5e20a2 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:869: DB::readIPv4Text(DB::IPv4&, DB::ReadBuffer&) @ 0x000000000b5e1f7d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1093: void DB::parseImpl(DB::DataTypeIPv4::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b602291 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b602186 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b5fd318 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b5e5939 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b5e4895 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b5e39fe in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:39: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x000000001ebca0f7 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 2024.09.24 01:15:23.290084 [ 8850 ] {4b6eaea7-0c91-4323-9e23-9d45ef7c7260} TCPHandler: Code: 675. DB::ParsingException: Cannot parse IPv4 : Cannot parse IPv4 from String: while executing 'FUNCTION toIPv4(ip : 0) -> toIPv4(ip) IPv4 : 2'. (CANNOT_PARSE_IPV4), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException>>(int, FormatStringHelperImpl>>::type>, std::basic_string_view>&&) @ 0x000000000b5e2413 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.h:862: void DB::readIPv4TextImpl(DB::IPv4&, DB::ReadBuffer&) @ 0x000000000b5e20a2 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:869: DB::readIPv4Text(DB::IPv4&, DB::ReadBuffer&) @ 0x000000000b5e1f7d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1093: void DB::parseImpl(DB::DataTypeIPv4::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b602291 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b602186 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b5fd318 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b5e5939 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b5e4895 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b5e39fe in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:39: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x000000001ebca0f7 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 2024.09.24 01:15:23.313058 [ 8850 ] {c62ae4f6-5a4f-4ca0-a7ff-aa8a48f2a6be} executeQuery: Code: 675. DB::ParsingException: Cannot parse IPv4 : Cannot parse IPv4 from String: while executing 'FUNCTION toIPv4(ip : 0) -> toIPv4(ip) IPv4 : 2'. (CANNOT_PARSE_IPV4) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:35948) (comment: 02244_ip_address_invalid_insert.sql) (in query: INSERT INTO test_table_ipv4_materialized(ip) VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException>>(int, FormatStringHelperImpl>>::type>, std::basic_string_view>&&) @ 0x000000000b5e2413 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.h:862: void DB::readIPv4TextImpl(DB::IPv4&, DB::ReadBuffer&) @ 0x000000000b5e20a2 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:869: DB::readIPv4Text(DB::IPv4&, DB::ReadBuffer&) @ 0x000000000b5e1f7d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1093: void DB::parseImpl(DB::DataTypeIPv4::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b602291 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b602186 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b5fd318 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b5e5939 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b5e4895 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b5e39fe in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:39: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x000000001ebca0f7 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 2024.09.24 01:15:23.314153 [ 8850 ] {c62ae4f6-5a4f-4ca0-a7ff-aa8a48f2a6be} TCPHandler: Code: 675. DB::ParsingException: Cannot parse IPv4 : Cannot parse IPv4 from String: while executing 'FUNCTION toIPv4(ip : 0) -> toIPv4(ip) IPv4 : 2'. (CANNOT_PARSE_IPV4), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException>>(int, FormatStringHelperImpl>>::type>, std::basic_string_view>&&) @ 0x000000000b5e2413 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.h:862: void DB::readIPv4TextImpl(DB::IPv4&, DB::ReadBuffer&) @ 0x000000000b5e20a2 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:869: DB::readIPv4Text(DB::IPv4&, DB::ReadBuffer&) @ 0x000000000b5e1f7d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1093: void DB::parseImpl(DB::DataTypeIPv4::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b602291 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b602186 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b5fd318 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b5e5939 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b5e4895 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b5e39fe in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:39: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x000000001ebca0f7 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 2024.09.24 01:15:23.757333 [ 8850 ] {cb6f067a-bf6d-4e85-a325-020dbf25c886} executeQuery: Code: 676. DB::ParsingException: Cannot parse IPv6 : Cannot parse IPv6 from String: while executing 'FUNCTION toIPv6(ip : 0) -> toIPv6(ip) IPv6 : 2'. (CANNOT_PARSE_IPV6) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:35948) (comment: 02244_ip_address_invalid_insert.sql) (in query: INSERT INTO test_table_ipv6_materialized(ip) VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException>>(int, FormatStringHelperImpl>>::type>, std::basic_string_view>&&) @ 0x000000000b5e2413 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.h:884: void DB::readIPv6TextImpl(DB::IPv6&, DB::ReadBuffer&) @ 0x000000000b60c3fb in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:891: DB::readIPv6Text(DB::IPv6&, DB::ReadBuffer&) @ 0x000000000b60c2dd in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1101: void DB::parseImpl(DB::DataTypeIPv6::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b62beb1 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b62bda6 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b6272b8 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b6102d9 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b60f235 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b60e39e in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:39: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x000000001ebca0f7 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 2024.09.24 01:15:23.758617 [ 8850 ] {cb6f067a-bf6d-4e85-a325-020dbf25c886} TCPHandler: Code: 676. DB::ParsingException: Cannot parse IPv6 : Cannot parse IPv6 from String: while executing 'FUNCTION toIPv6(ip : 0) -> toIPv6(ip) IPv6 : 2'. (CANNOT_PARSE_IPV6), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException>>(int, FormatStringHelperImpl>>::type>, std::basic_string_view>&&) @ 0x000000000b5e2413 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.h:884: void DB::readIPv6TextImpl(DB::IPv6&, DB::ReadBuffer&) @ 0x000000000b60c3fb in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:891: DB::readIPv6Text(DB::IPv6&, DB::ReadBuffer&) @ 0x000000000b60c2dd in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1101: void DB::parseImpl(DB::DataTypeIPv6::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b62beb1 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b62bda6 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b6272b8 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b6102d9 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b60f235 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b60e39e in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:39: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x000000001ebca0f7 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 2024.09.24 01:15:23.778860 [ 8850 ] {8e4f003d-c962-4738-b325-04665093b71f} executeQuery: Code: 676. DB::ParsingException: Cannot parse IPv6 : Cannot parse IPv6 from String: while executing 'FUNCTION toIPv6(ip : 0) -> toIPv6(ip) IPv6 : 2'. (CANNOT_PARSE_IPV6) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:35948) (comment: 02244_ip_address_invalid_insert.sql) (in query: INSERT INTO test_table_ipv6_materialized(ip) VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException>>(int, FormatStringHelperImpl>>::type>, std::basic_string_view>&&) @ 0x000000000b5e2413 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.h:884: void DB::readIPv6TextImpl(DB::IPv6&, DB::ReadBuffer&) @ 0x000000000b60c3fb in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:891: DB::readIPv6Text(DB::IPv6&, DB::ReadBuffer&) @ 0x000000000b60c2dd in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1101: void DB::parseImpl(DB::DataTypeIPv6::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b62beb1 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b62bda6 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b6272b8 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b6102d9 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b60f235 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b60e39e in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:39: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x000000001ebca0f7 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 2024.09.24 01:15:23.779906 [ 8850 ] {8e4f003d-c962-4738-b325-04665093b71f} TCPHandler: Code: 676. DB::ParsingException: Cannot parse IPv6 : Cannot parse IPv6 from String: while executing 'FUNCTION toIPv6(ip : 0) -> toIPv6(ip) IPv6 : 2'. (CANNOT_PARSE_IPV6), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException>>(int, FormatStringHelperImpl>>::type>, std::basic_string_view>&&) @ 0x000000000b5e2413 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.h:884: void DB::readIPv6TextImpl(DB::IPv6&, DB::ReadBuffer&) @ 0x000000000b60c3fb in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:891: DB::readIPv6Text(DB::IPv6&, DB::ReadBuffer&) @ 0x000000000b60c2dd in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1101: void DB::parseImpl(DB::DataTypeIPv6::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b62beb1 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b62bda6 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b6272b8 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b6102d9 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b60f235 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b60e39e in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:39: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x000000001ebca0f7 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 2024.09.24 01:15:24.409318 [ 8835 ] {ed51ccf9-69b0-44b6-833e-33846849fa27} executeQuery: Code: 497. DB::Exception: without_on_cluster_02250_ON_CLUSTER_grant_test_lvymtidl: Not enough privileges. To execute this query, it's necessary to have the grant CLUSTER ON *.*. (ACCESS_DENIED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:35982) (comment: 02250_ON_CLUSTER_grant.sh) (in query: CREATE DATABASE IF NOT EXISTS db_without_on_cluster_02250_ON_CLUSTER_grant_test_lvymtidl ON CLUSTER test_shard_localhost), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Access/ContextAccess.cpp:520: auto bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x000000001b04c8de in /usr/bin/clickhouse 7. /build/src/Access/ContextAccess.cpp:560: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x000000001b04b393 in /usr/bin/clickhouse 8. /build/src/Access/ContextAccess.cpp:625: bool DB::ContextAccess::checkAccessImpl(DB::AccessFlags const&) const @ 0x000000001b01ec22 in /usr/bin/clickhouse 9. /build/src/Access/ContextAccess.cpp:698: DB::ContextAccess::checkAccess(DB::AccessFlags const&) const @ 0x000000001b019f5d in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1200: void DB::Context::checkAccessImpl(DB::AccessFlags const&) const @ 0x000000001bde5116 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1203: DB::Context::checkAccess(DB::AccessFlags const&) const @ 0x000000001bdc553d in /usr/bin/clickhouse 12. /build/src/Interpreters/executeDDLQueryOnCluster.cpp:111: DB::executeDDLQueryOnCluster(std::shared_ptr const&, std::shared_ptr, DB::DDLQueryOnClusterParams const&) @ 0x000000001d095dc1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterCreateQuery.cpp:1706: DB::InterpreterCreateQuery::executeQueryOnCluster(DB::ASTCreateQuery&) @ 0x000000001c7f2139 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1719: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f92a5 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 24. ? @ 0x00007f1d281b3ac3 in ? 25. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:15:24.410886 [ 8835 ] {ed51ccf9-69b0-44b6-833e-33846849fa27} TCPHandler: Code: 497. DB::Exception: without_on_cluster_02250_ON_CLUSTER_grant_test_lvymtidl: Not enough privileges. To execute this query, it's necessary to have the grant CLUSTER ON *.*. (ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Access/ContextAccess.cpp:520: auto bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x000000001b04c8de in /usr/bin/clickhouse 7. /build/src/Access/ContextAccess.cpp:560: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x000000001b04b393 in /usr/bin/clickhouse 8. /build/src/Access/ContextAccess.cpp:625: bool DB::ContextAccess::checkAccessImpl(DB::AccessFlags const&) const @ 0x000000001b01ec22 in /usr/bin/clickhouse 9. /build/src/Access/ContextAccess.cpp:698: DB::ContextAccess::checkAccess(DB::AccessFlags const&) const @ 0x000000001b019f5d in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1200: void DB::Context::checkAccessImpl(DB::AccessFlags const&) const @ 0x000000001bde5116 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1203: DB::Context::checkAccess(DB::AccessFlags const&) const @ 0x000000001bdc553d in /usr/bin/clickhouse 12. /build/src/Interpreters/executeDDLQueryOnCluster.cpp:111: DB::executeDDLQueryOnCluster(std::shared_ptr const&, std::shared_ptr, DB::DDLQueryOnClusterParams const&) @ 0x000000001d095dc1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterCreateQuery.cpp:1706: DB::InterpreterCreateQuery::executeQueryOnCluster(DB::ASTCreateQuery&) @ 0x000000001c7f2139 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1719: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f92a5 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 24. ? @ 0x00007f1d281b3ac3 in ? 25. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:15:26.471360 [ 8851 ] {c447bda1-180d-428e-80ad-bf3f5b9ce68f} executeQuery: Code: 36. DB::Exception: Cannot load time zone not a timezone: While processing makeDateTime(1984, 1, 1, 0, 0, 0, 'not a timezone'). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36014) (comment: 02244_make_datetime.sql) (in query: select makeDateTime(1984, 1, 1, 0, 0, 0, 'not a timezone');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Common/DateLUTImpl.cpp:77: DateLUTImpl::DateLUTImpl(String const&) @ 0x00000000138c5654 in /usr/bin/clickhouse 7. /build/src/Common/DateLUT.cpp:157: DateLUT::getImplementation(String const&) const @ 0x00000000138bff0a in /usr/bin/clickhouse 8. /build/src/Common/DateLUT.h:62: TimezoneMixin::TimezoneMixin(String const&) @ 0x000000001b8af349 in /usr/bin/clickhouse 9. /build/src/DataTypes/DataTypeDateTime.cpp:11: DB::DataTypeDateTime::DataTypeDateTime(String const&) @ 0x000000001b8aec2e in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeDateTime* std::construct_at[abi:v15000](DB::DataTypeDateTime*, String&) @ 0x000000000d8f40c6 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::DataTypeDateTime*, String&) @ 0x000000000d8f4041 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&) @ 0x000000000d8f3fc7 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, void>(std::allocator const&, String&) @ 0x000000000d8f3ef7 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&) @ 0x000000000d8f3e26 in /usr/bin/clickhouse 15. /build/src/Functions/makeDate.cpp:281: DB::(anonymous namespace)::FunctionMakeDateTime::getReturnTypeImpl(std::vector> const&) const @ 0x0000000010318c14 in /usr/bin/clickhouse 16. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 2024.09.24 01:15:26.472594 [ 8851 ] {c447bda1-180d-428e-80ad-bf3f5b9ce68f} TCPHandler: Code: 36. DB::Exception: Cannot load time zone not a timezone: While processing makeDateTime(1984, 1, 1, 0, 0, 0, 'not a timezone'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Common/DateLUTImpl.cpp:77: DateLUTImpl::DateLUTImpl(String const&) @ 0x00000000138c5654 in /usr/bin/clickhouse 7. /build/src/Common/DateLUT.cpp:157: DateLUT::getImplementation(String const&) const @ 0x00000000138bff0a in /usr/bin/clickhouse 8. /build/src/Common/DateLUT.h:62: TimezoneMixin::TimezoneMixin(String const&) @ 0x000000001b8af349 in /usr/bin/clickhouse 9. /build/src/DataTypes/DataTypeDateTime.cpp:11: DB::DataTypeDateTime::DataTypeDateTime(String const&) @ 0x000000001b8aec2e in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeDateTime* std::construct_at[abi:v15000](DB::DataTypeDateTime*, String&) @ 0x000000000d8f40c6 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::DataTypeDateTime*, String&) @ 0x000000000d8f4041 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&) @ 0x000000000d8f3fc7 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, void>(std::allocator const&, String&) @ 0x000000000d8f3ef7 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&) @ 0x000000000d8f3e26 in /usr/bin/clickhouse 15. /build/src/Functions/makeDate.cpp:281: DB::(anonymous namespace)::FunctionMakeDateTime::getReturnTypeImpl(std::vector> const&) const @ 0x0000000010318c14 in /usr/bin/clickhouse 16. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 2024.09.24 01:15:28.300541 [ 8853 ] {5fabaf65-7e6f-4693-b2c2-768898ea3387} executeQuery: Code: 46. DB::Exception: Unknown table function test_02428_mv1: or incorrect parameterized view. (UNKNOWN_FUNCTION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36106) (comment: 02428_parameterized_view.sh) (in query: SELECT * FROM test_02428_mv1(test)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFactory.cpp:46: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15a18 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:15:28.302530 [ 8853 ] {5fabaf65-7e6f-4693-b2c2-768898ea3387} TCPHandler: Code: 46. DB::Exception: Unknown table function test_02428_mv1: or incorrect parameterized view. (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFactory.cpp:46: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15a18 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:15:38.486768 [ 6138 ] {03f777a6-9204-478a-91e6-09473c83b1ab} executeQuery: Code: 6. DB::Exception: Cannot parse string 'inter' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while converting source column `'inter'` to destination column inter. (CANNOT_PARSE_TEXT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:43146) (comment: 02233_interpolate_1.sql) (in query: # Test INTERPOLATE with incompatible const - should produce error SELECT n, source, inter FROM ( SELECT toFloat32(number % 10) AS n, 'original' AS source, number as inter FROM numbers(10) WHERE number % 3 = 1 ) ORDER BY n WITH FILL FROM 0 TO 11.51 STEP 0.5 INTERPOLATE (inter AS 'inter');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b217fb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b2f09b7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b2eb678 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b2d9d99 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2d90c8 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2d82de in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b238e10 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238da6 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238d40 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238ce0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b238c8b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 2024.09.24 01:15:38.488028 [ 6138 ] {03f777a6-9204-478a-91e6-09473c83b1ab} TCPHandler: Code: 6. DB::Exception: Cannot parse string 'inter' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while converting source column `'inter'` to destination column inter. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b217fb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b2f09b7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b2eb678 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b2d9d99 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2d90c8 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2d82de in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b238e10 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238da6 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238d40 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238ce0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b238c8b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 2024.09.24 01:15:38.666656 [ 6138 ] {17312069-2ec3-4027-b00f-c7bf2fa29997} executeQuery: Code: 44. DB::Exception: Illegal column UInt64 of argument of function concat: while executing 'FUNCTION concat(inter :: 0, 'inter' :: 1) -> concat(inter, 'inter') String : 3'. (ILLEGAL_COLUMN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:43146) (comment: 02233_interpolate_1.sql) (in query: # Test INTERPOLATE with incompatible expression - should produce error SELECT n, source, inter FROM ( SELECT toFloat32(number % 10) AS n, 'original' AS source, number as inter FROM numbers(10) WHERE number % 3 = 1 ) ORDER BY n WITH FILL FROM 0 TO 11.51 STEP 0.5 INTERPOLATE (inter AS inter||'inter');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/concat.cpp:148: DB::(anonymous namespace)::ConcatImpl::executeFormatImpl(std::vector> const&, unsigned long) const @ 0x000000000d9146dd in /usr/bin/clickhouse 7. /build/src/Functions/concat.cpp:110: DB::(anonymous namespace)::ConcatImpl::executeBinary(std::vector> const&, unsigned long) const @ 0x000000000d914251 in /usr/bin/clickhouse 8. /build/src/Functions/concat.cpp:81: DB::(anonymous namespace)::ConcatImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d913a5f in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:780: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x000000001bf8506e in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/FillingTransform.cpp:344: DB::FillingTransform::interpolate(std::vector::mutable_ptr, std::allocator::mutable_ptr>> const&, DB::Block&) @ 0x000000001ee37eca in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/FillingTransform.cpp:590: DB::FillingTransform::transformRange(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector::mutable_ptr, std::allocator::mutable_ptr>> const&, std::vector> const&, std::vector> const&, std::vector> const&, std::vector> const&, std::pair, bool) @ 0x000000001ee39564 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/FillingTransform.cpp:729: DB::FillingTransform::transform(DB::Chunk&) @ 0x000000001ee3a60a in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 20. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 2024.09.24 01:15:38.668736 [ 6138 ] {17312069-2ec3-4027-b00f-c7bf2fa29997} TCPHandler: Code: 44. DB::Exception: Illegal column UInt64 of argument of function concat: while executing 'FUNCTION concat(inter :: 0, 'inter' :: 1) -> concat(inter, 'inter') String : 3'. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/concat.cpp:148: DB::(anonymous namespace)::ConcatImpl::executeFormatImpl(std::vector> const&, unsigned long) const @ 0x000000000d9146dd in /usr/bin/clickhouse 7. /build/src/Functions/concat.cpp:110: DB::(anonymous namespace)::ConcatImpl::executeBinary(std::vector> const&, unsigned long) const @ 0x000000000d914251 in /usr/bin/clickhouse 8. /build/src/Functions/concat.cpp:81: DB::(anonymous namespace)::ConcatImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d913a5f in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:780: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x000000001bf8506e in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/FillingTransform.cpp:344: DB::FillingTransform::interpolate(std::vector::mutable_ptr, std::allocator::mutable_ptr>> const&, DB::Block&) @ 0x000000001ee37eca in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/FillingTransform.cpp:590: DB::FillingTransform::transformRange(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector::mutable_ptr, std::allocator::mutable_ptr>> const&, std::vector> const&, std::vector> const&, std::vector> const&, std::vector> const&, std::pair, bool) @ 0x000000001ee39564 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/FillingTransform.cpp:729: DB::FillingTransform::transform(DB::Chunk&) @ 0x000000001ee3a60a in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 20. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 2024.09.24 01:15:38.874054 [ 6138 ] {bae15738-a735-4329-8400-c4603dabe1df} executeQuery: Code: 475. DB::Exception: Column 'n' is participating in ORDER BY ... WITH FILL expression and can't be INTERPOLATE output. (INVALID_WITH_FILL_EXPRESSION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:43146) (comment: 02233_interpolate_1.sql) (in query: # Test INTERPOLATE with column from WITH FILL expression - should produce error SELECT n, source, inter FROM ( SELECT toFloat32(number % 10) AS n, 'original' AS source, number as inter FROM numbers(10) WHERE number % 3 = 1 ) ORDER BY n WITH FILL FROM 0 TO 11.51 STEP 0.5 INTERPOLATE (n AS n);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/FillingTransform.cpp:210: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, DB::SortDescription const&, std::shared_ptr, bool) @ 0x000000001ee33d8b in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::FillingTransform* std::construct_at[abi:v15000], bool const&, DB::FillingTransform*>(DB::FillingTransform*, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001ee33358 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], bool const&, void, void>(std::allocator&, DB::FillingTransform*, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001ee330c1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], bool const&>(std::allocator, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001ee32dad in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr, bool const&, void>(std::allocator const&, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001ee32c00 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], bool const&, void>(DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001ee31fe6 in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/FillingStep.cpp:53: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&)::$_0::operator()(DB::Block const&, DB::Pipe::StreamType) const @ 0x000000001ee31d51 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&)::$_0&, DB::Block const&, DB::Pipe::StreamType&&) @ 0x000000001ee31ca7 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&)::$_0&, DB::Block const&, DB::Pipe::StreamType&&) @ 0x000000001ee31c65 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::Block const&, DB::Pipe::StreamType)>::operator()[abi:v15000](DB::Block const&, DB::Pipe::StreamType&&) @ 0x000000001ee31c25 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x000000001ee31bcc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::Block const&, DB::Pipe::StreamType)>::operator()[abi:v15000](DB::Block const&, DB::Pipe::StreamType&&) const @ 0x000000001b83dc28 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::Block const&, DB::Pipe::StreamType)>::operator()(DB::Block const&, DB::Pipe::StreamType) const @ 0x000000001b83dba4 in /usr/bin/clickhouse 19. /build/src/QueryPipeline/Pipe.cpp:618: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_0::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x000000001b82bfce in /usr/bin/clickhouse 20. /build/src/QueryPipeline/Pipe.cpp:658: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x000000001b82beb6 in /usr/bin/clickhouse 21. /build/src/QueryPipeline/QueryPipelineBuilder.cpp:134: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x000000001b85a7ee in /usr/bin/clickhouse 22. /build/src/Processors/QueryPlan/FillingStep.cpp:48: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee316a2 in /usr/bin/clickhouse 23. /build/src/Processors/QueryPlan/ITransformingStep.cpp:41: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee5203c in /usr/bin/clickhouse 24. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee780df in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd8cb in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 2024.09.24 01:15:38.875433 [ 6138 ] {bae15738-a735-4329-8400-c4603dabe1df} TCPHandler: Code: 475. DB::Exception: Column 'n' is participating in ORDER BY ... WITH FILL expression and can't be INTERPOLATE output. (INVALID_WITH_FILL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/FillingTransform.cpp:210: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, DB::SortDescription const&, std::shared_ptr, bool) @ 0x000000001ee33d8b in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::FillingTransform* std::construct_at[abi:v15000], bool const&, DB::FillingTransform*>(DB::FillingTransform*, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001ee33358 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], bool const&, void, void>(std::allocator&, DB::FillingTransform*, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001ee330c1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], bool const&>(std::allocator, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001ee32dad in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr, bool const&, void>(std::allocator const&, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001ee32c00 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], bool const&, void>(DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001ee31fe6 in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/FillingStep.cpp:53: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&)::$_0::operator()(DB::Block const&, DB::Pipe::StreamType) const @ 0x000000001ee31d51 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&)::$_0&, DB::Block const&, DB::Pipe::StreamType&&) @ 0x000000001ee31ca7 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&)::$_0&, DB::Block const&, DB::Pipe::StreamType&&) @ 0x000000001ee31c65 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::Block const&, DB::Pipe::StreamType)>::operator()[abi:v15000](DB::Block const&, DB::Pipe::StreamType&&) @ 0x000000001ee31c25 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x000000001ee31bcc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::Block const&, DB::Pipe::StreamType)>::operator()[abi:v15000](DB::Block const&, DB::Pipe::StreamType&&) const @ 0x000000001b83dc28 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::Block const&, DB::Pipe::StreamType)>::operator()(DB::Block const&, DB::Pipe::StreamType) const @ 0x000000001b83dba4 in /usr/bin/clickhouse 19. /build/src/QueryPipeline/Pipe.cpp:618: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_0::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x000000001b82bfce in /usr/bin/clickhouse 20. /build/src/QueryPipeline/Pipe.cpp:658: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x000000001b82beb6 in /usr/bin/clickhouse 21. /build/src/QueryPipeline/QueryPipelineBuilder.cpp:134: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x000000001b85a7ee in /usr/bin/clickhouse 22. /build/src/Processors/QueryPlan/FillingStep.cpp:48: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee316a2 in /usr/bin/clickhouse 23. /build/src/Processors/QueryPlan/ITransformingStep.cpp:41: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee5203c in /usr/bin/clickhouse 24. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee780df in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd8cb in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 2024.09.24 01:15:39.012078 [ 6138 ] {62befb70-6d12-4bc6-9484-63f925d76237} executeQuery: Code: 32. DB::Exception: Attempt to read after eof: Cannot parse UInt64 from String, because value is too short: while converting source column source to destination column inter: while executing 'FUNCTION _CAST(source :: 0, UInt64 :: 1) -> _CAST(source, UInt64) UInt64 : 2'. (ATTEMPT_TO_READ_AFTER_EOF) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:43146) (comment: 02233_interpolate_1.sql) (in query: # Test INTERPOLATE with inconsistent column - should produce error SELECT n, source, inter FROM ( SELECT toFloat32(number % 10) AS n, 'original' AS source, number as inter FROM numbers(10) WHERE number % 3 = 1 ) ORDER BY n WITH FILL FROM 0 TO 11.51 STEP 0.5 INTERPOLATE (inter AS source);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [26]) @ 0x000000000b5e1e5e in /usr/bin/clickhouse 6. /build/src/IO/VarInt.cpp:13: DB::throwReadAfterEOF() @ 0x000000001399af91 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:325: void DB::readIntTextImpl(unsigned long&, DB::ReadBuffer&) @ 0x000000000b2f0c04 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:466: void DB::readIntText<(DB::ReadIntTextCheckOverflow)0, unsigned long>(unsigned long&, DB::ReadBuffer&) @ 0x000000000b2f0b5d in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:1160: void DB::readText(unsigned long&, DB::ReadBuffer&) @ 0x000000000b2f0b1d in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1052: void DB::parseImpl>(DB::DataTypeNumber::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b2f0a68 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b2f0966 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b2eb678 in /usr/bin/clickhouse 13. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b2d9d99 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2d90c8 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2d82de in /usr/bin/clickhouse 16. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 21. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b238e10 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238da6 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238d40 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238ce0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b238c8b in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 28. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 2024.09.24 01:15:39.014227 [ 6138 ] {62befb70-6d12-4bc6-9484-63f925d76237} TCPHandler: Code: 32. DB::Exception: Attempt to read after eof: Cannot parse UInt64 from String, because value is too short: while converting source column source to destination column inter: while executing 'FUNCTION _CAST(source :: 0, UInt64 :: 1) -> _CAST(source, UInt64) UInt64 : 2'. (ATTEMPT_TO_READ_AFTER_EOF), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [26]) @ 0x000000000b5e1e5e in /usr/bin/clickhouse 6. /build/src/IO/VarInt.cpp:13: DB::throwReadAfterEOF() @ 0x000000001399af91 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:325: void DB::readIntTextImpl(unsigned long&, DB::ReadBuffer&) @ 0x000000000b2f0c04 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:466: void DB::readIntText<(DB::ReadIntTextCheckOverflow)0, unsigned long>(unsigned long&, DB::ReadBuffer&) @ 0x000000000b2f0b5d in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:1160: void DB::readText(unsigned long&, DB::ReadBuffer&) @ 0x000000000b2f0b1d in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1052: void DB::parseImpl>(DB::DataTypeNumber::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b2f0a68 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b2f0966 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b2eb678 in /usr/bin/clickhouse 13. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b2d9d99 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2d90c8 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2d82de in /usr/bin/clickhouse 16. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 21. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b238e10 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238da6 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238d40 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238ce0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b238c8b in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 28. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 2024.09.24 01:15:42.479719 [ 2702 ] {681276e0-3732-49a4-8091-9c55ac339f4b} ReadWriteBufferFromHTTP: HTTP request (positioned) to `http://[2001:3984:3989::242:ac11:2]:53115/` with range [30, 40) failed at try 1/10: Expected 206 Partial Content, got 200 when reading http://[2001:3984:3989::242:ac11:2]:53115/ range [30, 40) 2024.09.24 01:15:42.480020 [ 2385 ] {681276e0-3732-49a4-8091-9c55ac339f4b} ReadWriteBufferFromHTTP: HTTP request (positioned) to `http://[2001:3984:3989::242:ac11:2]:53115/` with range [20, 30) failed at try 1/10: Received error from remote server /. HTTP status code: 500 Internal Server Error, body: use", "id 2024.09.24 01:15:44.435135 [ 6138 ] {b56f107c-c15d-4a95-934b-5c4d4d81103e} executeQuery: Code: 581. DB::Exception: Maximum distributed depth exceeded. (TOO_LARGE_DISTRIBUTED_DEPTH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56470) (comment: 02224_parallel_distributed_insert_select_cluster.sql) (in query: insert into function cluster('test_cluster_two_shards', currentDatabase(), dst_02224, key) select * from cluster('test_cluster_two_shards', currentDatabase(), src_02224, key) settings parallel_distributed_insert_select=1, max_distributed_depth=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [35]) @ 0x000000000b204c1e in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1026: DB::StorageDistributed::distributedWrite(DB::ASTInsertQuery const&, std::shared_ptr) @ 0x000000001d65d8c1 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterInsertQuery.cpp:402: DB::InterpreterInsertQuery::execute() @ 0x000000001ca81a22 in /usr/bin/clickhouse 8. /build/src/Storages/StorageDistributed.cpp:931: DB::StorageDistributed::distributedWriteBetweenDistributedTables(DB::StorageDistributed const&, DB::ASTInsertQuery const&, std::shared_ptr) const @ 0x000000001d65c3c4 in /usr/bin/clickhouse 9. /build/src/Storages/StorageDistributed.cpp:1052: DB::StorageDistributed::distributedWrite(DB::ASTInsertQuery const&, std::shared_ptr) @ 0x000000001d65dbf2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:402: DB::InterpreterInsertQuery::execute() @ 0x000000001ca81a22 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:15:44.436419 [ 6138 ] {b56f107c-c15d-4a95-934b-5c4d4d81103e} TCPHandler: Code: 581. DB::Exception: Maximum distributed depth exceeded. (TOO_LARGE_DISTRIBUTED_DEPTH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [35]) @ 0x000000000b204c1e in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1026: DB::StorageDistributed::distributedWrite(DB::ASTInsertQuery const&, std::shared_ptr) @ 0x000000001d65d8c1 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterInsertQuery.cpp:402: DB::InterpreterInsertQuery::execute() @ 0x000000001ca81a22 in /usr/bin/clickhouse 8. /build/src/Storages/StorageDistributed.cpp:931: DB::StorageDistributed::distributedWriteBetweenDistributedTables(DB::StorageDistributed const&, DB::ASTInsertQuery const&, std::shared_ptr) const @ 0x000000001d65c3c4 in /usr/bin/clickhouse 9. /build/src/Storages/StorageDistributed.cpp:1052: DB::StorageDistributed::distributedWrite(DB::ASTInsertQuery const&, std::shared_ptr) @ 0x000000001d65dbf2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:402: DB::InterpreterInsertQuery::execute() @ 0x000000001ca81a22 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:15:44.952294 [ 6138 ] {f42124cd-2327-4640-bff6-8d349ca72008} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56506) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:15:44.953097 [ 6138 ] {f42124cd-2327-4640-bff6-8d349ca72008} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:15:45.606267 [ 1123 ] {74abc01d-6773-4966-810b-6b56887cf5b6} executeQuery: Code: 117. DB::Exception: Incorrect H3 index: 9223372036854775807, error: 5: while executing 'FUNCTION h3CellAreaM2(arrayJoin([9223372036854775807, 65535, NULL]) :: 4) -> h3CellAreaM2(arrayJoin([9223372036854775807, 65535, NULL])) Nullable(Float64) : 0'. (INCORRECT_DATA) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56514) (comment: 02223_h3_test_const_columns.sql) (in query: SELECT NULL, toFloat64('-1'), -2147483648, h3CellAreaM2(arrayJoin([9223372036854775807, 65535, NULL]));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned int&) @ 0x000000000eecc80c in /usr/bin/clickhouse 6. /build/src/Functions/h3CellAreaM2.cpp:82: DB::(anonymous namespace)::FunctionH3CellAreaM2::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000eecc088 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:199: DB::IExecutableFunction::defaultImplementationForNulls(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abedb9c in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:241: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed66a in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 17. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 2024.09.24 01:15:45.607554 [ 1123 ] {74abc01d-6773-4966-810b-6b56887cf5b6} TCPHandler: Code: 117. DB::Exception: Incorrect H3 index: 9223372036854775807, error: 5: while executing 'FUNCTION h3CellAreaM2(arrayJoin([9223372036854775807, 65535, NULL]) :: 4) -> h3CellAreaM2(arrayJoin([9223372036854775807, 65535, NULL])) Nullable(Float64) : 0'. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned int&) @ 0x000000000eecc80c in /usr/bin/clickhouse 6. /build/src/Functions/h3CellAreaM2.cpp:82: DB::(anonymous namespace)::FunctionH3CellAreaM2::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000eecc088 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:199: DB::IExecutableFunction::defaultImplementationForNulls(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abedb9c in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:241: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed66a in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 17. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 2024.09.24 01:15:45.794515 [ 1123 ] {bd2d6040-e01d-4242-aafb-a22fc90a2ea1} executeQuery: Code: 117. DB::Exception: Incorrect H3 index: 9223372036854775807, error: 5: while executing 'FUNCTION h3CellAreaRads2(arrayJoin([9223372036854775807, 65535, NULL]) :: 4) -> h3CellAreaRads2(arrayJoin([9223372036854775807, 65535, NULL])) Nullable(Float64) : 0'. (INCORRECT_DATA) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56514) (comment: 02223_h3_test_const_columns.sql) (in query: SELECT NULL, toFloat64('-1'), -2147483648, h3CellAreaRads2(arrayJoin([9223372036854775807, 65535, NULL]));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned int&) @ 0x000000000eecc80c in /usr/bin/clickhouse 6. /build/src/Functions/h3CellAreaRads2.cpp:81: DB::(anonymous namespace)::FunctionH3CellAreaRads2::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000eecdba8 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:199: DB::IExecutableFunction::defaultImplementationForNulls(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abedb9c in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:241: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed66a in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 17. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 2024.09.24 01:15:45.795961 [ 1123 ] {bd2d6040-e01d-4242-aafb-a22fc90a2ea1} TCPHandler: Code: 117. DB::Exception: Incorrect H3 index: 9223372036854775807, error: 5: while executing 'FUNCTION h3CellAreaRads2(arrayJoin([9223372036854775807, 65535, NULL]) :: 4) -> h3CellAreaRads2(arrayJoin([9223372036854775807, 65535, NULL])) Nullable(Float64) : 0'. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned int&) @ 0x000000000eecc80c in /usr/bin/clickhouse 6. /build/src/Functions/h3CellAreaRads2.cpp:81: DB::(anonymous namespace)::FunctionH3CellAreaRads2::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000eecdba8 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:199: DB::IExecutableFunction::defaultImplementationForNulls(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abedb9c in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:241: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed66a in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 17. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 2024.09.24 01:15:46.341031 [ 1123 ] {9a5c4165-69ca-468f-8ede-7c7a531a32b2} executeQuery: Code: 117. DB::Exception: Incorrect arguments h3Index: 579205133326352383, k: 1, error: 1: while executing 'FUNCTION h3HexRing(arrayJoin([579205133326352383]) :: 2, arrayJoin(array(toUInt16(1), toUInt16(2), toUInt16(3))) :: 0) -> h3HexRing(arrayJoin([579205133326352383]), arrayJoin(array(toUInt16(1), toUInt16(2), toUInt16(3)))) Array(UInt64) : 1'. (INCORRECT_DATA) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56514) (comment: 02223_h3_test_const_columns.sql) (in query: SELECT h3HexRing(arrayJoin([579205133326352383]), arrayJoin([toUInt16(1),toUInt16(2),toUInt16(3)]));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long const&, int const&, unsigned int&) @ 0x000000000eef03a8 in /usr/bin/clickhouse 6. /build/src/Functions/h3HexRing.cpp:134: DB::(anonymous namespace)::FunctionH3HexRing::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000eeef7ee in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 11. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 14. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 2024.09.24 01:15:46.342476 [ 1123 ] {9a5c4165-69ca-468f-8ede-7c7a531a32b2} TCPHandler: Code: 117. DB::Exception: Incorrect arguments h3Index: 579205133326352383, k: 1, error: 1: while executing 'FUNCTION h3HexRing(arrayJoin([579205133326352383]) :: 2, arrayJoin(array(toUInt16(1), toUInt16(2), toUInt16(3))) :: 0) -> h3HexRing(arrayJoin([579205133326352383]), arrayJoin(array(toUInt16(1), toUInt16(2), toUInt16(3)))) Array(UInt64) : 1'. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long const&, int const&, unsigned int&) @ 0x000000000eef03a8 in /usr/bin/clickhouse 6. /build/src/Functions/h3HexRing.cpp:134: DB::(anonymous namespace)::FunctionH3HexRing::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000eeef7ee in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 11. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 14. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 2024.09.24 01:15:56.117369 [ 8836 ] {97db56de-5e90-47cd-87ca-9aab66b9feb9} executeQuery: Code: 36. DB::Exception: Engine Distributed doesn't support TTL clause. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:55958) (comment: 02184_storage_add_support_ttl.sql) (in query: ALTER TABLE distributed_02184 MODIFY COLUMN name String TTL dt + INTERVAL 1 MONTH;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1073: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58dabc in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:15:56.118191 [ 8836 ] {97db56de-5e90-47cd-87ca-9aab66b9feb9} TCPHandler: Code: 36. DB::Exception: Engine Distributed doesn't support TTL clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1073: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58dabc in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:15:56.153205 [ 8836 ] {63fba2c9-1558-42e1-b6b8-252cf237ade9} executeQuery: Code: 36. DB::Exception: Engine Buffer doesn't support TTL clause. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:55958) (comment: 02184_storage_add_support_ttl.sql) (in query: ALTER TABLE buffer_02184 MODIFY COLUMN name String TTL dt + INTERVAL 1 MONTH;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1073: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58dabc in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:15:56.153859 [ 8836 ] {63fba2c9-1558-42e1-b6b8-252cf237ade9} TCPHandler: Code: 36. DB::Exception: Engine Buffer doesn't support TTL clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1073: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58dabc in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:15:56.184489 [ 8836 ] {4de22a0c-1f63-475a-88b3-7ec2425c52f5} executeQuery: Code: 36. DB::Exception: Engine Merge doesn't support TTL clause. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:55958) (comment: 02184_storage_add_support_ttl.sql) (in query: ALTER TABLE merge_02184 MODIFY COLUMN name String TTL dt + INTERVAL 1 MONTH;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1073: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58dabc in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:15:56.185177 [ 8836 ] {4de22a0c-1f63-475a-88b3-7ec2425c52f5} TCPHandler: Code: 36. DB::Exception: Engine Merge doesn't support TTL clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1073: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58dabc in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:15:56.214064 [ 8836 ] {9221740a-6039-4ba4-a183-604c91828778} executeQuery: Code: 36. DB::Exception: Engine Null doesn't support TTL clause. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:55958) (comment: 02184_storage_add_support_ttl.sql) (in query: ALTER TABLE null_02184 MODIFY COLUMN dummy Int TTL now() + INTERVAL 1 MONTH;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1073: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58dabc in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:15:56.214726 [ 8836 ] {9221740a-6039-4ba4-a183-604c91828778} TCPHandler: Code: 36. DB::Exception: Engine Null doesn't support TTL clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1073: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58dabc in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:15:56.245639 [ 8836 ] {4cf761c5-99a9-42fc-b176-c60702005f18} executeQuery: Code: 36. DB::Exception: Engine File doesn't support TTL clause. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:55958) (comment: 02184_storage_add_support_ttl.sql) (in query: ALTER TABLE file_02184 MODIFY COLUMN name String TTL dt + INTERVAL 1 MONTH;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1073: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58dabc in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:15:56.246314 [ 8836 ] {4cf761c5-99a9-42fc-b176-c60702005f18} TCPHandler: Code: 36. DB::Exception: Engine File doesn't support TTL clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1073: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58dabc in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:15:56.276800 [ 8836 ] {c3302427-171d-424c-9d3e-230245f9e4d0} executeQuery: Code: 36. DB::Exception: Engine Memory doesn't support TTL clause. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:55958) (comment: 02184_storage_add_support_ttl.sql) (in query: ALTER TABLE memory_02184 MODIFY COLUMN name String TTL dt + INTERVAL 1 MONTH;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1073: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58dabc in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:15:56.277361 [ 8836 ] {c3302427-171d-424c-9d3e-230245f9e4d0} TCPHandler: Code: 36. DB::Exception: Engine Memory doesn't support TTL clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1073: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58dabc in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:15:56.309756 [ 8836 ] {8e675bcb-50e1-463a-9228-2a7266b391a0} executeQuery: Code: 36. DB::Exception: Engine Log doesn't support TTL clause. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:55958) (comment: 02184_storage_add_support_ttl.sql) (in query: ALTER TABLE log_02184 MODIFY COLUMN name String TTL dt + INTERVAL 1 MONTH;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1073: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58dabc in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:15:56.310435 [ 8836 ] {8e675bcb-50e1-463a-9228-2a7266b391a0} TCPHandler: Code: 36. DB::Exception: Engine Log doesn't support TTL clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1073: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58dabc in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:15:56.341137 [ 8836 ] {c12a87cf-2d99-453c-9236-a2cd0fb7e62b} executeQuery: Code: 36. DB::Exception: Engine TinyLog doesn't support TTL clause. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:55958) (comment: 02184_storage_add_support_ttl.sql) (in query: ALTER TABLE ting_log_02184 MODIFY COLUMN name String TTL dt + INTERVAL 1 MONTH;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1073: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58dabc in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:15:56.341700 [ 8836 ] {c12a87cf-2d99-453c-9236-a2cd0fb7e62b} TCPHandler: Code: 36. DB::Exception: Engine TinyLog doesn't support TTL clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1073: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58dabc in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:15:56.370014 [ 8836 ] {e94875cd-28b5-45d6-bed9-4992461ebde7} executeQuery: Code: 36. DB::Exception: Engine StripeLog doesn't support TTL clause. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:55958) (comment: 02184_storage_add_support_ttl.sql) (in query: ALTER TABLE stripe_log_02184 MODIFY COLUMN name String TTL dt + INTERVAL 1 MONTH;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1073: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58dabc in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:15:56.370861 [ 8836 ] {e94875cd-28b5-45d6-bed9-4992461ebde7} TCPHandler: Code: 36. DB::Exception: Engine StripeLog doesn't support TTL clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1073: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58dabc in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:15:57.728594 [ 1125 ] {feb9bcfa-e178-402e-a91b-b7d5a370db01} executeQuery: Code: 1. DB::Exception: Lambda must have arguments and body. (UNSUPPORTED_METHOD) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56018) (comment: 02181_sql_user_defined_functions_invalid_lambda.sql) (in query: CREATE FUNCTION 02181_invalid_lambda AS lambda(((x * 2) AS x_doubled) + x_doubled);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000ceaf4de in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:55: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x000000001ef96325 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:114: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x000000001ef96160 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000001ef96a82 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:51: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001ca7adca in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:15:57.729647 [ 1125 ] {feb9bcfa-e178-402e-a91b-b7d5a370db01} TCPHandler: Code: 1. DB::Exception: Lambda must have arguments and body. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000ceaf4de in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:55: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x000000001ef96325 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:114: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x000000001ef96160 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000001ef96a82 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:51: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001ca7adca in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:15:57.737445 [ 1125 ] {f331ace0-7f87-411c-aef6-4e59c38a9260} executeQuery: Code: 1. DB::Exception: Lambda must have arguments and body. (UNSUPPORTED_METHOD) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56018) (comment: 02181_sql_user_defined_functions_invalid_lambda.sql) (in query: CREATE FUNCTION 02181_invalid_lambda AS lambda(x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000ceaf4de in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:55: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x000000001ef96325 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:114: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x000000001ef96160 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000001ef96a82 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:51: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001ca7adca in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:15:57.738224 [ 1125 ] {f331ace0-7f87-411c-aef6-4e59c38a9260} TCPHandler: Code: 1. DB::Exception: Lambda must have arguments and body. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000ceaf4de in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:55: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x000000001ef96325 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:114: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x000000001ef96160 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000001ef96a82 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:51: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001ca7adca in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:15:57.744645 [ 1125 ] {6d63e340-bb13-4666-b276-7d25aaa9e9e5} executeQuery: Code: 1. DB::Exception: Lambda must have arguments and body. (UNSUPPORTED_METHOD) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56018) (comment: 02181_sql_user_defined_functions_invalid_lambda.sql) (in query: CREATE FUNCTION 02181_invalid_lambda AS lambda();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000ceaf4de in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:55: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x000000001ef96325 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:114: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x000000001ef96160 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000001ef96a82 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:51: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001ca7adca in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:15:57.745406 [ 1125 ] {6d63e340-bb13-4666-b276-7d25aaa9e9e5} TCPHandler: Code: 1. DB::Exception: Lambda must have arguments and body. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000ceaf4de in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:55: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x000000001ef96325 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:114: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x000000001ef96160 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000001ef96a82 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:51: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001ca7adca in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:15:57.752674 [ 1125 ] {46e71cb2-324f-4546-bc2b-950f3be7712e} executeQuery: Code: 1. DB::Exception: Lambda must have arguments and body. (UNSUPPORTED_METHOD) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56018) (comment: 02181_sql_user_defined_functions_invalid_lambda.sql) (in query: CREATE FUNCTION 02181_invalid_lambda AS lambda(tuple(x)) --{serverError 1} ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000ceaf4de in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:55: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x000000001ef96325 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:114: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x000000001ef96160 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000001ef96a82 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:51: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001ca7adca in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:15:57.753370 [ 1125 ] {46e71cb2-324f-4546-bc2b-950f3be7712e} TCPHandler: Code: 1. DB::Exception: Lambda must have arguments and body. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000ceaf4de in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:55: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x000000001ef96325 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:114: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x000000001ef96160 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000001ef96a82 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:51: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001ca7adca in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:15:58.612357 [ 5572 ] {32821aa3-aead-4fd3-ad0c-2cefef60e217} executeQuery: Code: 520. DB::Exception: Cannot drop/detach dictionary test_f4b1bb3l.02181_test_dictionary as table, use DROP DICTIONARY or DETACH DICTIONARY query instead. (CANNOT_DETACH_DICTIONARY_AS_TABLE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56044) (comment: 02181_dictionary_attach_detach.sql) (in query: DETACH TABLE 02181_test_dictionary;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDictionary.cpp:151: DB::StorageDictionary::checkTableCanBeDropped(std::shared_ptr) const @ 0x000000001d64bbca in /usr/bin/clickhouse 7. /build/src/Storages/StorageDictionary.cpp:165: DB::StorageDictionary::checkTableCanBeDetached() const @ 0x000000001d64bd39 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterDropQuery.cpp:176: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001c8b6039 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001c8b4db4 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x000000001c8b462e in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:15:58.613271 [ 5572 ] {32821aa3-aead-4fd3-ad0c-2cefef60e217} TCPHandler: Code: 520. DB::Exception: Cannot drop/detach dictionary test_f4b1bb3l.02181_test_dictionary as table, use DROP DICTIONARY or DETACH DICTIONARY query instead. (CANNOT_DETACH_DICTIONARY_AS_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDictionary.cpp:151: DB::StorageDictionary::checkTableCanBeDropped(std::shared_ptr) const @ 0x000000001d64bbca in /usr/bin/clickhouse 7. /build/src/Storages/StorageDictionary.cpp:165: DB::StorageDictionary::checkTableCanBeDetached() const @ 0x000000001d64bd39 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterDropQuery.cpp:176: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001c8b6039 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001c8b4db4 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x000000001c8b462e in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:15:58.708484 [ 5572 ] {94a8e33e-b292-4584-bdfb-485592d2750d} executeQuery: Code: 80. DB::Exception: Cannot ATTACH TABLE test_f4b1bb3l.`02181_test_dictionary`, it is a Dictionary. (INCORRECT_QUERY) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56044) (comment: 02181_dictionary_attach_detach.sql) (in query: ATTACH TABLE 02181_test_dictionary;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1118: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7ee9bd in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:15:58.709192 [ 5572 ] {94a8e33e-b292-4584-bdfb-485592d2750d} TCPHandler: Code: 80. DB::Exception: Cannot ATTACH TABLE test_f4b1bb3l.`02181_test_dictionary`, it is a Dictionary. (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1118: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7ee9bd in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:16:00.105469 [ 6745 ] {d3729fbe-c89a-41a3-9670-e6348fcf4018} executeQuery: Code: 62. DB::Exception: Syntax error: failed at position 11 ('#'): #. Unrecognized token: '#'. (SYNTAX_ERROR) (version 23.8.16.41.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:34540) (comment: 02192_comment_error.sh) (in query: select 42 #), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b200fea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b200f95 in /usr/bin/clickhouse 6. /build/src/Parsers/parseQuery.cpp:363: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long) @ 0x000000001f47e707 in /usr/bin/clickhouse 7. /build/src/Parsers/parseQuery.cpp:375: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long) @ 0x000000001f47e7e6 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:714: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0ad368 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 11. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:16:00.106421 [ 6745 ] {d3729fbe-c89a-41a3-9670-e6348fcf4018} DynamicQueryHandler: Code: 62. DB::Exception: Syntax error: failed at position 11 ('#'): #. Unrecognized token: '#'. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b200fea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b200f95 in /usr/bin/clickhouse 6. /build/src/Parsers/parseQuery.cpp:363: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long) @ 0x000000001f47e707 in /usr/bin/clickhouse 7. /build/src/Parsers/parseQuery.cpp:375: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long) @ 0x000000001f47e7e6 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:714: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0ad368 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 11. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:16:01.932380 [ 8835 ] {a3f361ee-d91a-46d1-91ec-0318d92e0251} executeQuery: Code: 46. DB::Exception: Unknown function sumIF: While processing sumIF(1, 0). (UNKNOWN_FUNCTION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:57470) (comment: 02177_sum_if_not_found.sql) (in query: SELECT sumIF(1, 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&) @ 0x0000000013a010ac in /usr/bin/clickhouse 6. /build/src/Functions/FunctionFactory.cpp:68: DB::FunctionFactory::getImpl(String const&, std::shared_ptr) const @ 0x000000001abf4f6c in /usr/bin/clickhouse 7. /build/src/Functions/FunctionFactory.cpp:87: DB::FunctionFactory::get(String const&, std::shared_ptr) const @ 0x000000001abf566a in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:1070: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe9364 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:16:01.933188 [ 8835 ] {a3f361ee-d91a-46d1-91ec-0318d92e0251} TCPHandler: Code: 46. DB::Exception: Unknown function sumIF: While processing sumIF(1, 0). (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&) @ 0x0000000013a010ac in /usr/bin/clickhouse 6. /build/src/Functions/FunctionFactory.cpp:68: DB::FunctionFactory::getImpl(String const&, std::shared_ptr) const @ 0x000000001abf4f6c in /usr/bin/clickhouse 7. /build/src/Functions/FunctionFactory.cpp:87: DB::FunctionFactory::get(String const&, std::shared_ptr) const @ 0x000000001abf566a in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:1070: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe9364 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:16:02.113167 [ 8835 ] {a59512a4-df94-4233-b5d5-de98b408a97b} executeQuery: Code: 46. DB::Exception: Unknown function sumIF: While processing t, sumIF(n, 0). (UNKNOWN_FUNCTION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:57470) (comment: 02177_sum_if_not_found.sql) (in query: CREATE TABLE agg ENGINE = AggregatingMergeTree ORDER BY tuple() SETTINGS index_granularity = 24600, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 0.09117648005485535, merge_max_block_size = 7161, prefer_fetch_merged_part_size_threshold = 8112717314, vertical_merge_algorithm_min_rows_to_activate = 456210, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 549229652, index_granularity_bytes = 23603081, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 57340, primary_key_compress_block_size = 85756 AS SELECT t, sumIF(n, 0) FROM data GROUP BY t), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&) @ 0x0000000013a010ac in /usr/bin/clickhouse 6. /build/src/Functions/FunctionFactory.cpp:68: DB::FunctionFactory::getImpl(String const&, std::shared_ptr) const @ 0x000000001abf4f6c in /usr/bin/clickhouse 7. /build/src/Functions/FunctionFactory.cpp:87: DB::FunctionFactory::get(String const&, std::shared_ptr) const @ 0x000000001abf566a in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:1070: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe9364 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:777: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7ea8b0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f0864 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 2024.09.24 01:16:02.114530 [ 8835 ] {a59512a4-df94-4233-b5d5-de98b408a97b} TCPHandler: Code: 46. DB::Exception: Unknown function sumIF: While processing t, sumIF(n, 0). (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&) @ 0x0000000013a010ac in /usr/bin/clickhouse 6. /build/src/Functions/FunctionFactory.cpp:68: DB::FunctionFactory::getImpl(String const&, std::shared_ptr) const @ 0x000000001abf4f6c in /usr/bin/clickhouse 7. /build/src/Functions/FunctionFactory.cpp:87: DB::FunctionFactory::get(String const&, std::shared_ptr) const @ 0x000000001abf566a in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:1070: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe9364 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:777: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7ea8b0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f0864 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 2024.09.24 01:16:03.777588 [ 8850 ] {06e6efaf-7cda-4818-b291-f575108dd6e5} executeQuery: Code: 43. DB::Exception: The sixth argument Nullable(Nothing) of function proportionsZTest should be a constant string: While processing NULL, proportionsZTest(257, 1048575, 1048575, 257, -inf, NULL), proportionsZTest(1024, 1025, 2, 2, 'unpooled'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:57520) (comment: 02158_proportions_ztest.sql) (in query: SELECT NULL, proportionsZTest(257, 1048575, 1048575, 257, -inf, NULL), proportionsZTest(1024, 1025, 2, 2, 'unpooled');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/ztest.cpp:81: DB::FunctionTwoSampleProportionsZTest::getReturnTypeImpl(std::vector> const&) const @ 0x00000000128329dd in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:16:03.779054 [ 8850 ] {06e6efaf-7cda-4818-b291-f575108dd6e5} TCPHandler: Code: 43. DB::Exception: The sixth argument Nullable(Nothing) of function proportionsZTest should be a constant string: While processing NULL, proportionsZTest(257, 1048575, 1048575, 257, -inf, NULL), proportionsZTest(1024, 1025, 2, 2, 'unpooled'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/ztest.cpp:81: DB::FunctionTwoSampleProportionsZTest::getReturnTypeImpl(std::vector> const&) const @ 0x00000000128329dd in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:16:06.909716 [ 8835 ] {8b951e5c-0cbb-490c-baa8-75d30f8b0086} executeQuery: Code: 397. DB::Exception: StorageMaterializedView cannot be created from table functions (numbers(10)). (QUERY_IS_NOT_SUPPORTED_IN_MATERIALIZED_VIEW) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:57596) (comment: 02146_mv_non_phys.sql) (in query: CREATE MATERIALIZED VIEW mv_02146 ENGINE = MergeTree ORDER BY number SETTINGS index_granularity = 23022, min_bytes_for_wide_part = 28923386, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 19603, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 22034221, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 10141, primary_key_compress_block_size = 20862 AS SELECT * FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/SelectQueryDescription.cpp:63: DB::(anonymous namespace)::extractDependentTableFromSelectQuery(DB::ASTSelectQuery&, std::shared_ptr, bool) @ 0x000000001d625fac in /usr/bin/clickhouse 7. /build/src/Storages/SelectQueryDescription.cpp:127: DB::SelectQueryDescription::getSelectQueryFromASTForMatView(std::shared_ptr const&, std::shared_ptr) @ 0x000000001d62561c in /usr/bin/clickhouse 8. /build/src/Storages/StorageMaterializedView.cpp:85: DB::StorageMaterializedView::StorageMaterializedView(DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool, String const&) @ 0x000000001d729772 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMaterializedView* std::construct_at[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, DB::StorageMaterializedView*>(DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72fb1a in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void, void>(std::allocator&, DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72f88d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72f559 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72f3ae in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72f314 in /usr/bin/clickhouse 14. /build/src/Storages/StorageMaterializedView.cpp:491: DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d72e74d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001d72e6dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001d72e67d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001d72e63d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001d72e605 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 21. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 2024.09.24 01:16:06.911140 [ 8835 ] {8b951e5c-0cbb-490c-baa8-75d30f8b0086} TCPHandler: Code: 397. DB::Exception: StorageMaterializedView cannot be created from table functions (numbers(10)). (QUERY_IS_NOT_SUPPORTED_IN_MATERIALIZED_VIEW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/SelectQueryDescription.cpp:63: DB::(anonymous namespace)::extractDependentTableFromSelectQuery(DB::ASTSelectQuery&, std::shared_ptr, bool) @ 0x000000001d625fac in /usr/bin/clickhouse 7. /build/src/Storages/SelectQueryDescription.cpp:127: DB::SelectQueryDescription::getSelectQueryFromASTForMatView(std::shared_ptr const&, std::shared_ptr) @ 0x000000001d62561c in /usr/bin/clickhouse 8. /build/src/Storages/StorageMaterializedView.cpp:85: DB::StorageMaterializedView::StorageMaterializedView(DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool, String const&) @ 0x000000001d729772 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMaterializedView* std::construct_at[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, DB::StorageMaterializedView*>(DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72fb1a in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void, void>(std::allocator&, DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72f88d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72f559 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72f3ae in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72f314 in /usr/bin/clickhouse 14. /build/src/Storages/StorageMaterializedView.cpp:491: DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d72e74d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001d72e6dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001d72e67d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001d72e63d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001d72e605 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 21. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 2024.09.24 01:16:14.264672 [ 8850 ] {98ef3a87-969d-4bb4-a0f8-df5dccdc0186} DynamicQueryHandler: Code: 33. DB::Exception: Unexpected EOF, got 8519680 of 78889100 bytes. (CANNOT_READ_ALL_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x000000000c4b28cc in /usr/bin/clickhouse 6. /build/src/IO/LimitReadBuffer.cpp:40: DB::LimitReadBuffer::nextImpl() @ 0x0000000013aefe91 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2189bc in /usr/bin/clickhouse 8. /build/src/IO/PeekableReadBuffer.cpp:94: DB::PeekableReadBuffer::peekNext() @ 0x0000000013999316 in /usr/bin/clickhouse 9. /build/src/IO/PeekableReadBuffer.cpp:171: DB::PeekableReadBuffer::nextImpl() @ 0x0000000013999c16 in /usr/bin/clickhouse 10. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2189bc in /usr/bin/clickhouse 11. /build/src/IO/ReadBuffer.h:105: DB::HTMLForm::MultipartReadBuffer::readLine(bool) @ 0x000000001e662722 in /usr/bin/clickhouse 12. /build/src/Server/HTTP/HTMLForm.cpp:329: DB::HTMLForm::MultipartReadBuffer::nextImpl() @ 0x000000001e662c55 in /usr/bin/clickhouse 13. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2189bc in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:105: DB::readHeaders(Poco::Net::MessageHeader&, DB::ReadBuffer&, unsigned long, unsigned long, unsigned long) @ 0x000000001e66c3c1 in /usr/bin/clickhouse 15. /build/src/Server/HTTP/HTMLForm.cpp:201: DB::HTMLForm::readMultipart(DB::ReadBuffer&, DB::HTMLForm::PartHandler&) @ 0x000000001e66150d in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTMLForm.cpp:104: DB::HTMLForm::load(Poco::Net::HTTPRequest const&, DB::ReadBuffer&, DB::HTMLForm::PartHandler&) @ 0x000000001e660571 in /usr/bin/clickhouse 17. /build/src/Server/HTTPHandler.cpp:1134: DB::DynamicQueryHandler::getQuery(DB::HTTPServerRequest&, DB::HTMLForm&, std::shared_ptr) @ 0x000000001e5c60ad in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:781: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c0948 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:16:14.356299 [ 8850 ] {98ef3a87-969d-4bb4-a0f8-df5dccdc0186} DynamicQueryHandler: Cannot send exception to client: Code: 33. DB::Exception: Unexpected EOF, got 9568256 of 78889100 bytes. (CANNOT_READ_ALL_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x000000000c4b28cc in /usr/bin/clickhouse 6. /build/src/IO/LimitReadBuffer.cpp:40: DB::LimitReadBuffer::nextImpl() @ 0x0000000013aefe91 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2189bc in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:105: DB::HTTPHandler::trySendExceptionToClient(String const&, int, DB::HTTPServerRequest&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&) @ 0x000000001e5c215b in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:1088: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c4b75 in /usr/bin/clickhouse 10. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 16. ? @ 0x00007f1d281b3ac3 in ? 17. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:16:14.571600 [ 8850 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(String const&, int) @ 0x00000000249623a7 in /usr/bin/clickhouse 4. /build/base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x00000000249664e7 in /usr/bin/clickhouse 5. /build/base/poco/Net/src/SocketImpl.cpp:1008: Poco::Net::SocketImpl::error(int, String const&) @ 0x000000002477d04d in /usr/bin/clickhouse 6. /build/base/poco/Net/src/SocketImpl.cpp:927: Poco::Net::SocketImpl::error(int) @ 0x000000002477d6e4 in /usr/bin/clickhouse 7. /build/base/poco/Net/src/SocketImpl.cpp:0: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x000000002477e2d2 in /usr/bin/clickhouse 8. /build/base/poco/Net/src/StreamSocketImpl.cpp:63: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x0000000024785f7e in /usr/bin/clickhouse 9. /build/base/poco/Net/src/StreamSocket.cpp:114: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x0000000024781dd2 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/HTTPSession.cpp:144: Poco::Net::HTTPSession::write(char const*, long) @ 0x000000002475c84e in /usr/bin/clickhouse 11. /build/base/poco/Net/src/HTTPChunkedStream.cpp:57: Poco::Net::HTTPChunkedStreamBuf::close() @ 0x00000000247463cd in /usr/bin/clickhouse 12. /build/base/poco/Net/src/HTTPChunkedStream.cpp:166: Poco::Net::HTTPChunkedIOS::~HTTPChunkedIOS() @ 0x0000000024746d9a in /usr/bin/clickhouse 13. /build/base/poco/Net/src/HTTPChunkedStream.cpp:208: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x0000000024747481 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/HTTPChunkedStream.cpp:207: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x00000000247474c0 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:64: void std::__destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x000000001e66aa4d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:89: void std::destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x000000001e66a9f5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:321: void std::allocator_traits>::destroy[abi:v15000](std::allocator&, Poco::Net::HTTPChunkedOutputStream*) @ 0x000000001e66a9d9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:309: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x000000001e66a84e in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:175: std::__shared_count::__release_shared[abi:v15000]() @ 0x000000000b193a54 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:215: std::__shared_weak_count::__release_shared[abi:v15000]() @ 0x000000000b1939f9 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:703: std::shared_ptr>>::~shared_ptr[abi:v15000]() @ 0x000000001e5cd5ac in /usr/bin/clickhouse 22. /build/src/Server/HTTP/HTTPServerResponse.h:16: DB::HTTPServerResponse::~HTTPServerResponse() @ 0x000000001e664d3b in /usr/bin/clickhouse 23. /build/src/Server/HTTP/HTTPServerConnection.cpp:88: DB::HTTPServerConnection::run() @ 0x000000001e664878 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:16:14.571798 [ 8835 ] {5e2ece83-bf21-47ea-ad91-699ba817b549} DynamicQueryHandler: Code: 33. DB::Exception: Unexpected EOF, got 10092544 of 78889100 bytes. (CANNOT_READ_ALL_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x000000000c4b28cc in /usr/bin/clickhouse 6. /build/src/IO/LimitReadBuffer.cpp:40: DB::LimitReadBuffer::nextImpl() @ 0x0000000013aefe91 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2189bc in /usr/bin/clickhouse 8. /build/src/IO/PeekableReadBuffer.cpp:94: DB::PeekableReadBuffer::peekNext() @ 0x0000000013999316 in /usr/bin/clickhouse 9. /build/src/IO/PeekableReadBuffer.cpp:171: DB::PeekableReadBuffer::nextImpl() @ 0x0000000013999c16 in /usr/bin/clickhouse 10. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2189bc in /usr/bin/clickhouse 11. /build/src/IO/ReadBuffer.h:105: DB::HTMLForm::MultipartReadBuffer::readLine(bool) @ 0x000000001e662722 in /usr/bin/clickhouse 12. /build/src/Server/HTTP/HTMLForm.cpp:329: DB::HTMLForm::MultipartReadBuffer::nextImpl() @ 0x000000001e662c55 in /usr/bin/clickhouse 13. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2189bc in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:105: DB::readHeaders(Poco::Net::MessageHeader&, DB::ReadBuffer&, unsigned long, unsigned long, unsigned long) @ 0x000000001e66c3c1 in /usr/bin/clickhouse 15. /build/src/Server/HTTP/HTMLForm.cpp:201: DB::HTMLForm::readMultipart(DB::ReadBuffer&, DB::HTMLForm::PartHandler&) @ 0x000000001e66150d in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTMLForm.cpp:104: DB::HTMLForm::load(Poco::Net::HTTPRequest const&, DB::ReadBuffer&, DB::HTMLForm::PartHandler&) @ 0x000000001e660571 in /usr/bin/clickhouse 17. /build/src/Server/HTTPHandler.cpp:1134: DB::DynamicQueryHandler::getQuery(DB::HTTPServerRequest&, DB::HTMLForm&, std::shared_ptr) @ 0x000000001e5c60ad in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:781: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c0948 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:16:14.572777 [ 8835 ] {5e2ece83-bf21-47ea-ad91-699ba817b549} DynamicQueryHandler: Cannot send exception to client: Code: 33. DB::Exception: Unexpected EOF, got 11010048 of 78889100 bytes. (CANNOT_READ_ALL_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x000000000c4b28cc in /usr/bin/clickhouse 6. /build/src/IO/LimitReadBuffer.cpp:40: DB::LimitReadBuffer::nextImpl() @ 0x0000000013aefe91 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2189bc in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:105: DB::HTTPHandler::trySendExceptionToClient(String const&, int, DB::HTTPServerRequest&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&) @ 0x000000001e5c215b in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:1088: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c4b75 in /usr/bin/clickhouse 10. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 16. ? @ 0x00007f1d281b3ac3 in ? 17. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:16:14.575188 [ 8835 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(String const&, int) @ 0x00000000249623a7 in /usr/bin/clickhouse 4. /build/base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x00000000249664e7 in /usr/bin/clickhouse 5. /build/base/poco/Net/src/SocketImpl.cpp:1008: Poco::Net::SocketImpl::error(int, String const&) @ 0x000000002477d04d in /usr/bin/clickhouse 6. /build/base/poco/Net/src/SocketImpl.cpp:927: Poco::Net::SocketImpl::error(int) @ 0x000000002477d6e4 in /usr/bin/clickhouse 7. /build/base/poco/Net/src/SocketImpl.cpp:0: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x000000002477e2d2 in /usr/bin/clickhouse 8. /build/base/poco/Net/src/StreamSocketImpl.cpp:63: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x0000000024785f7e in /usr/bin/clickhouse 9. /build/base/poco/Net/src/StreamSocket.cpp:114: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x0000000024781dd2 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/HTTPSession.cpp:144: Poco::Net::HTTPSession::write(char const*, long) @ 0x000000002475c84e in /usr/bin/clickhouse 11. /build/base/poco/Net/src/HTTPChunkedStream.cpp:57: Poco::Net::HTTPChunkedStreamBuf::close() @ 0x00000000247463cd in /usr/bin/clickhouse 12. /build/base/poco/Net/src/HTTPChunkedStream.cpp:166: Poco::Net::HTTPChunkedIOS::~HTTPChunkedIOS() @ 0x0000000024746d9a in /usr/bin/clickhouse 13. /build/base/poco/Net/src/HTTPChunkedStream.cpp:208: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x0000000024747481 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/HTTPChunkedStream.cpp:207: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x00000000247474c0 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:64: void std::__destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x000000001e66aa4d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:89: void std::destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x000000001e66a9f5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:321: void std::allocator_traits>::destroy[abi:v15000](std::allocator&, Poco::Net::HTTPChunkedOutputStream*) @ 0x000000001e66a9d9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:309: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x000000001e66a84e in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:175: std::__shared_count::__release_shared[abi:v15000]() @ 0x000000000b193a54 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:215: std::__shared_weak_count::__release_shared[abi:v15000]() @ 0x000000000b1939f9 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:703: std::shared_ptr>>::~shared_ptr[abi:v15000]() @ 0x000000001e5cd5ac in /usr/bin/clickhouse 22. /build/src/Server/HTTP/HTTPServerResponse.h:16: DB::HTTPServerResponse::~HTTPServerResponse() @ 0x000000001e664d3b in /usr/bin/clickhouse 23. /build/src/Server/HTTP/HTTPServerConnection.cpp:88: DB::HTTPServerConnection::run() @ 0x000000001e664878 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:16:15.336693 [ 8850 ] {c5103dde-c60b-48bb-b8d7-79814296730e} executeQuery: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56202) (comment: 02125_fix_storage_filelog.sql) (in query: CREATE TABLE log (A String) ENGINE= FileLog('/tmp/aaa.csv', 'CSV');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x000000001da9a636 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab99e4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab9715 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab93a3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab91b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab6f7b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:806: DB::registerStorageFileLog(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001daa830f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa7a5d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa79fd in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001daa79bd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001daa7985 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:16:15.337634 [ 8850 ] {c5103dde-c60b-48bb-b8d7-79814296730e} TCPHandler: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x000000001da9a636 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab99e4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab9715 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab93a3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab91b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab6f7b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:806: DB::registerStorageFileLog(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001daa830f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa7a5d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa79fd in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001daa79bd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001daa7985 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:16:15.345322 [ 8850 ] {4867de1d-fa5e-4031-9bfa-7e976a0f1d22} executeQuery: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56202) (comment: 02125_fix_storage_filelog.sql) (in query: CREATE TABLE log (A String) ENGINE= FileLog('/tmp/aaa.csv', 'CSV');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x000000001da9a636 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab99e4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab9715 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab93a3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab91b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab6f7b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:806: DB::registerStorageFileLog(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001daa830f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa7a5d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa79fd in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001daa79bd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001daa7985 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:16:15.346128 [ 8850 ] {4867de1d-fa5e-4031-9bfa-7e976a0f1d22} TCPHandler: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x000000001da9a636 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab99e4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab9715 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab93a3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab91b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab6f7b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:806: DB::registerStorageFileLog(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001daa830f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa7a5d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa79fd in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001daa79bd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001daa7985 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:16:15.352285 [ 8850 ] {d12fe191-1554-4aa1-8581-b9eefadb61bd} executeQuery: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56202) (comment: 02125_fix_storage_filelog.sql) (in query: CREATE TABLE log (A String) ENGINE= FileLog('/tmp/aaa.csv', 'CSV');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x000000001da9a636 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab99e4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab9715 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab93a3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab91b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab6f7b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:806: DB::registerStorageFileLog(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001daa830f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa7a5d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa79fd in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001daa79bd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001daa7985 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:16:15.353075 [ 8850 ] {d12fe191-1554-4aa1-8581-b9eefadb61bd} TCPHandler: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x000000001da9a636 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab99e4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab9715 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab93a3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab91b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab6f7b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:806: DB::registerStorageFileLog(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001daa830f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa7a5d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa79fd in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001daa79bd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001daa7985 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:16:16.077664 [ 8852 ] {3fab01b5-53d3-4e91-913c-2ff34b8f9b9f} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56210) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:16:16.078366 [ 8852 ] {3fab01b5-53d3-4e91-913c-2ff34b8f9b9f} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:16:19.641587 [ 8850 ] {b44d7352-1aaf-491e-8c98-85659cbbfbd8} executeQuery: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56238) (comment: 02126_fix_filelog.sh) (in query: create table file_log(k UInt8, v UInt8) engine=FileLog('/tmp/aaa.csv', 'CSV');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x000000001da9a636 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab99e4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab9715 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab93a3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab91b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab6f7b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:806: DB::registerStorageFileLog(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001daa830f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa7a5d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa79fd in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001daa79bd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001daa7985 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:16:19.643609 [ 8850 ] {b44d7352-1aaf-491e-8c98-85659cbbfbd8} TCPHandler: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x000000001da9a636 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab99e4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab9715 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab93a3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab91b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab6f7b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:806: DB::registerStorageFileLog(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001daa830f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa7a5d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa79fd in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001daa79bd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001daa7985 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:16:21.807757 [ 12003 ] {838a6061-de6f-465d-af0e-3a520db48c44} executeQuery: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:51908) (comment: 02126_fix_filelog.sh) (in query: create table file_log(k UInt8, v UInt8) engine=FileLog('/tmp/aaa.csv', 'CSV');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x000000001da9a636 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab99e4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab9715 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab93a3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab91b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab6f7b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:806: DB::registerStorageFileLog(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001daa830f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa7a5d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa79fd in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001daa79bd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001daa7985 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:16:21.810063 [ 12003 ] {838a6061-de6f-465d-af0e-3a520db48c44} TCPHandler: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x000000001da9a636 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab99e4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab9715 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab93a3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab91b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab6f7b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:806: DB::registerStorageFileLog(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001daa830f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa7a5d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa79fd in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001daa79bd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001daa7985 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:16:24.014366 [ 12042 ] {f140070d-b4f9-40f5-87b3-9cb40e41a0d8} executeQuery: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:51936) (comment: 02126_fix_filelog.sh) (in query: create table file_log(k UInt8, v UInt8) engine=FileLog('/tmp/aaa.csv', 'CSV');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x000000001da9a636 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab99e4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab9715 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab93a3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab91b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab6f7b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:806: DB::registerStorageFileLog(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001daa830f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa7a5d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa79fd in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001daa79bd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001daa7985 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:16:24.016696 [ 12042 ] {f140070d-b4f9-40f5-87b3-9cb40e41a0d8} TCPHandler: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x000000001da9a636 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab99e4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab9715 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab93a3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab91b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab6f7b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:806: DB::registerStorageFileLog(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001daa830f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa7a5d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa79fd in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001daa79bd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001daa7985 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:16:49.869359 [ 5572 ] {ea781149-33ee-4221-a668-0f6e3cd94e4e} executeQuery: Code: 43. DB::Exception: First argument for function tupleElement must be tuple or array of tuple. Actual UInt64: While processing number.1. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:47536) (comment: 02116_tuple_element.sql) (in query: SELECT tupleElement(number, 1) FROM numbers(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/tupleElement.cpp:63: DB::(anonymous namespace)::FunctionTupleElement::getReturnTypeImpl(std::vector> const&) const @ 0x00000000127a7f80 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:16:49.870446 [ 5572 ] {ea781149-33ee-4221-a668-0f6e3cd94e4e} TCPHandler: Code: 43. DB::Exception: First argument for function tupleElement must be tuple or array of tuple. Actual UInt64: While processing number.1. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/tupleElement.cpp:63: DB::(anonymous namespace)::FunctionTupleElement::getReturnTypeImpl(std::vector> const&) const @ 0x00000000127a7f80 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:16:50.015231 [ 5572 ] {daf03c00-e4ab-4c0c-8566-e7194a05c08b} executeQuery: Code: 42. DB::Exception: Number of arguments for function tupleElement doesn't match: passed 1, should be 2 or 3: While processing tupleElement(t1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:47536) (comment: 02116_tuple_element.sql) (in query: SELECT tupleElement(t1) FROM t_tuple_element;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long const&) @ 0x000000000be74b2c in /usr/bin/clickhouse 6. /build/src/Functions/tupleElement.cpp:49: DB::(anonymous namespace)::FunctionTupleElement::getReturnTypeImpl(std::vector> const&) const @ 0x00000000127a7db1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:16:50.016403 [ 5572 ] {daf03c00-e4ab-4c0c-8566-e7194a05c08b} TCPHandler: Code: 42. DB::Exception: Number of arguments for function tupleElement doesn't match: passed 1, should be 2 or 3: While processing tupleElement(t1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long const&) @ 0x000000000be74b2c in /usr/bin/clickhouse 6. /build/src/Functions/tupleElement.cpp:49: DB::(anonymous namespace)::FunctionTupleElement::getReturnTypeImpl(std::vector> const&) const @ 0x00000000127a7db1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:16:50.026018 [ 5572 ] {7da7e3fe-204b-45fb-a697-b1ec27acc010} executeQuery: Code: 47. DB::Exception: Missing columns: 't1.b' while processing query: 'SELECT `t1.b` FROM t_tuple_element', required columns: 't1.b'. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:47536) (comment: 02116_tuple_element.sql) (in query: SELECT tupleElement(t1, 'b') FROM t_tuple_element;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:16:50.026760 [ 5572 ] {7da7e3fe-204b-45fb-a697-b1ec27acc010} TCPHandler: Code: 47. DB::Exception: Missing columns: 't1.b' while processing query: 'SELECT `t1.b` FROM t_tuple_element', required columns: 't1.b'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:16:50.186934 [ 5572 ] {c2edc4f3-4fe2-43ac-bdd0-904cf5875645} executeQuery: Code: 127. DB::Exception: Index of tuple element (0) if out range ([1, 2]): While processing t1.0. (ILLEGAL_INDEX) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:47536) (comment: 02116_tuple_element.sql) (in query: SELECT tupleElement(t1, 0) FROM t_tuple_element;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x000000000b66908c in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeTuple.cpp:234: DB::DataTypeTuple::getNameByPosition(unsigned long) const @ 0x000000001b9a0911 in /usr/bin/clickhouse 7. /build/src/Interpreters/RewriteFunctionToSubcolumnVisitor.cpp:115: DB::RewriteFunctionToSubcolumnData::visit(DB::ASTFunction&, std::shared_ptr&) const @ 0x000000001cfde0b0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:122: DB::OneTypeMatcher const&, std::shared_ptr const&), std::shared_ptr>::visit(std::shared_ptr&, DB::RewriteFunctionToSubcolumnData&) @ 0x000000001cfbd7c1 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::doVisit(std::shared_ptr&) @ 0x000000001cfbd5c0 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbd841 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbd54a in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001cfbd8e6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbd84e in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbd54a in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001cfbd8e6 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbd84e in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbd54a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x000000001cfbd425 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeOptimizer.cpp:669: DB::(anonymous namespace)::optimizeFunctionsToSubcolumns(std::shared_ptr&, std::shared_ptr const&) @ 0x000000001cfb8944 in /usr/bin/clickhouse 20. /build/src/Interpreters/TreeOptimizer.cpp:737: DB::TreeOptimizer::apply(std::shared_ptr&, DB::TreeRewriterResult&, std::vector> const&, std::shared_ptr) @ 0x000000001cfb8170 in /usr/bin/clickhouse 21. /build/src/Interpreters/TreeRewriter.cpp:1242: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d81a in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 2024.09.24 01:16:50.188329 [ 5572 ] {c2edc4f3-4fe2-43ac-bdd0-904cf5875645} TCPHandler: Code: 127. DB::Exception: Index of tuple element (0) if out range ([1, 2]): While processing t1.0. (ILLEGAL_INDEX), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x000000000b66908c in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeTuple.cpp:234: DB::DataTypeTuple::getNameByPosition(unsigned long) const @ 0x000000001b9a0911 in /usr/bin/clickhouse 7. /build/src/Interpreters/RewriteFunctionToSubcolumnVisitor.cpp:115: DB::RewriteFunctionToSubcolumnData::visit(DB::ASTFunction&, std::shared_ptr&) const @ 0x000000001cfde0b0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:122: DB::OneTypeMatcher const&, std::shared_ptr const&), std::shared_ptr>::visit(std::shared_ptr&, DB::RewriteFunctionToSubcolumnData&) @ 0x000000001cfbd7c1 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::doVisit(std::shared_ptr&) @ 0x000000001cfbd5c0 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbd841 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbd54a in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001cfbd8e6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbd84e in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbd54a in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001cfbd8e6 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbd84e in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbd54a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x000000001cfbd425 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeOptimizer.cpp:669: DB::(anonymous namespace)::optimizeFunctionsToSubcolumns(std::shared_ptr&, std::shared_ptr const&) @ 0x000000001cfb8944 in /usr/bin/clickhouse 20. /build/src/Interpreters/TreeOptimizer.cpp:737: DB::TreeOptimizer::apply(std::shared_ptr&, DB::TreeRewriterResult&, std::vector> const&, std::shared_ptr) @ 0x000000001cfb8170 in /usr/bin/clickhouse 21. /build/src/Interpreters/TreeRewriter.cpp:1242: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d81a in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 2024.09.24 01:16:50.198585 [ 5572 ] {c482a03f-5de5-4b6d-b263-dbfa9b3efefc} executeQuery: Code: 127. DB::Exception: Index of tuple element (3) if out range ([1, 2]): While processing t1.3. (ILLEGAL_INDEX) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:47536) (comment: 02116_tuple_element.sql) (in query: SELECT tupleElement(t1, 3) FROM t_tuple_element;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x000000000b66908c in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeTuple.cpp:234: DB::DataTypeTuple::getNameByPosition(unsigned long) const @ 0x000000001b9a0911 in /usr/bin/clickhouse 7. /build/src/Interpreters/RewriteFunctionToSubcolumnVisitor.cpp:115: DB::RewriteFunctionToSubcolumnData::visit(DB::ASTFunction&, std::shared_ptr&) const @ 0x000000001cfde0b0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:122: DB::OneTypeMatcher const&, std::shared_ptr const&), std::shared_ptr>::visit(std::shared_ptr&, DB::RewriteFunctionToSubcolumnData&) @ 0x000000001cfbd7c1 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::doVisit(std::shared_ptr&) @ 0x000000001cfbd5c0 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbd841 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbd54a in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001cfbd8e6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbd84e in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbd54a in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001cfbd8e6 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbd84e in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbd54a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x000000001cfbd425 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeOptimizer.cpp:669: DB::(anonymous namespace)::optimizeFunctionsToSubcolumns(std::shared_ptr&, std::shared_ptr const&) @ 0x000000001cfb8944 in /usr/bin/clickhouse 20. /build/src/Interpreters/TreeOptimizer.cpp:737: DB::TreeOptimizer::apply(std::shared_ptr&, DB::TreeRewriterResult&, std::vector> const&, std::shared_ptr) @ 0x000000001cfb8170 in /usr/bin/clickhouse 21. /build/src/Interpreters/TreeRewriter.cpp:1242: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d81a in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 2024.09.24 01:16:50.199491 [ 5572 ] {c482a03f-5de5-4b6d-b263-dbfa9b3efefc} TCPHandler: Code: 127. DB::Exception: Index of tuple element (3) if out range ([1, 2]): While processing t1.3. (ILLEGAL_INDEX), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x000000000b66908c in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeTuple.cpp:234: DB::DataTypeTuple::getNameByPosition(unsigned long) const @ 0x000000001b9a0911 in /usr/bin/clickhouse 7. /build/src/Interpreters/RewriteFunctionToSubcolumnVisitor.cpp:115: DB::RewriteFunctionToSubcolumnData::visit(DB::ASTFunction&, std::shared_ptr&) const @ 0x000000001cfde0b0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:122: DB::OneTypeMatcher const&, std::shared_ptr const&), std::shared_ptr>::visit(std::shared_ptr&, DB::RewriteFunctionToSubcolumnData&) @ 0x000000001cfbd7c1 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::doVisit(std::shared_ptr&) @ 0x000000001cfbd5c0 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbd841 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbd54a in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001cfbd8e6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbd84e in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbd54a in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001cfbd8e6 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbd84e in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbd54a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x000000001cfbd425 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeOptimizer.cpp:669: DB::(anonymous namespace)::optimizeFunctionsToSubcolumns(std::shared_ptr&, std::shared_ptr const&) @ 0x000000001cfb8944 in /usr/bin/clickhouse 20. /build/src/Interpreters/TreeOptimizer.cpp:737: DB::TreeOptimizer::apply(std::shared_ptr&, DB::TreeRewriterResult&, std::vector> const&, std::shared_ptr) @ 0x000000001cfb8170 in /usr/bin/clickhouse 21. /build/src/Interpreters/TreeRewriter.cpp:1242: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d81a in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 2024.09.24 01:16:50.361976 [ 5572 ] {10e6f40d-31e2-46fa-8bf8-a5ab4bdc0b68} executeQuery: Code: 43. DB::Exception: Second argument to tupleElement must be a constant UInt or String: While processing tupleElement(t1, materialize('a')). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:47536) (comment: 02116_tuple_element.sql) (in query: SELECT tupleElement(t1, materialize('a')) FROM t_tuple_element;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/tupleElement.cpp:161: DB::(anonymous namespace)::FunctionTupleElement::getElementIndex(COW::immutable_ptr const&, DB::DataTypeTuple const&, unsigned long) const @ 0x00000000127a8664 in /usr/bin/clickhouse 7. /build/src/Functions/tupleElement.cpp:68: DB::(anonymous namespace)::FunctionTupleElement::getReturnTypeImpl(std::vector> const&) const @ 0x00000000127a803e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:16:50.363065 [ 5572 ] {10e6f40d-31e2-46fa-8bf8-a5ab4bdc0b68} TCPHandler: Code: 43. DB::Exception: Second argument to tupleElement must be a constant UInt or String: While processing tupleElement(t1, materialize('a')). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/tupleElement.cpp:161: DB::(anonymous namespace)::FunctionTupleElement::getElementIndex(COW::immutable_ptr const&, DB::DataTypeTuple const&, unsigned long) const @ 0x00000000127a8664 in /usr/bin/clickhouse 7. /build/src/Functions/tupleElement.cpp:68: DB::(anonymous namespace)::FunctionTupleElement::getReturnTypeImpl(std::vector> const&) const @ 0x00000000127a803e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:16:50.430005 [ 5572 ] {e6048367-c0fb-400a-bd0f-6b9bb1656fb7} executeQuery: Code: 42. DB::Exception: Number of arguments for function tupleElement doesn't match: passed 1, should be 2 or 3: While processing tupleElement(t2). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:47536) (comment: 02116_tuple_element.sql) (in query: SELECT tupleElement(t2) FROM t_tuple_element;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long const&) @ 0x000000000be74b2c in /usr/bin/clickhouse 6. /build/src/Functions/tupleElement.cpp:49: DB::(anonymous namespace)::FunctionTupleElement::getReturnTypeImpl(std::vector> const&) const @ 0x00000000127a7db1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:16:50.430845 [ 5572 ] {e6048367-c0fb-400a-bd0f-6b9bb1656fb7} TCPHandler: Code: 42. DB::Exception: Number of arguments for function tupleElement doesn't match: passed 1, should be 2 or 3: While processing tupleElement(t2). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long const&) @ 0x000000000be74b2c in /usr/bin/clickhouse 6. /build/src/Functions/tupleElement.cpp:49: DB::(anonymous namespace)::FunctionTupleElement::getReturnTypeImpl(std::vector> const&) const @ 0x00000000127a7db1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:16:50.439012 [ 5572 ] {aaf04599-7ea0-4598-b235-9b4a11600213} executeQuery: Code: 47. DB::Exception: Missing columns: 't2.a' while processing query: 'SELECT `t2.a` FROM t_tuple_element', required columns: 't2.a'. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:47536) (comment: 02116_tuple_element.sql) (in query: SELECT tupleElement(t2, 'a') FROM t_tuple_element;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:16:50.439787 [ 5572 ] {aaf04599-7ea0-4598-b235-9b4a11600213} TCPHandler: Code: 47. DB::Exception: Missing columns: 't2.a' while processing query: 'SELECT `t2.a` FROM t_tuple_element', required columns: 't2.a'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:16:50.447088 [ 5572 ] {0daaf649-02f1-4d33-a60e-47e1e78b9e11} executeQuery: Code: 127. DB::Exception: Index of tuple element (0) if out range ([1, 2]): While processing t2.0. (ILLEGAL_INDEX) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:47536) (comment: 02116_tuple_element.sql) (in query: SELECT tupleElement(t2, 0) FROM t_tuple_element;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x000000000b66908c in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeTuple.cpp:234: DB::DataTypeTuple::getNameByPosition(unsigned long) const @ 0x000000001b9a0911 in /usr/bin/clickhouse 7. /build/src/Interpreters/RewriteFunctionToSubcolumnVisitor.cpp:115: DB::RewriteFunctionToSubcolumnData::visit(DB::ASTFunction&, std::shared_ptr&) const @ 0x000000001cfde0b0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:122: DB::OneTypeMatcher const&, std::shared_ptr const&), std::shared_ptr>::visit(std::shared_ptr&, DB::RewriteFunctionToSubcolumnData&) @ 0x000000001cfbd7c1 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::doVisit(std::shared_ptr&) @ 0x000000001cfbd5c0 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbd841 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbd54a in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001cfbd8e6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbd84e in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbd54a in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001cfbd8e6 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbd84e in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbd54a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x000000001cfbd425 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeOptimizer.cpp:669: DB::(anonymous namespace)::optimizeFunctionsToSubcolumns(std::shared_ptr&, std::shared_ptr const&) @ 0x000000001cfb8944 in /usr/bin/clickhouse 20. /build/src/Interpreters/TreeOptimizer.cpp:737: DB::TreeOptimizer::apply(std::shared_ptr&, DB::TreeRewriterResult&, std::vector> const&, std::shared_ptr) @ 0x000000001cfb8170 in /usr/bin/clickhouse 21. /build/src/Interpreters/TreeRewriter.cpp:1242: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d81a in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 2024.09.24 01:16:50.447986 [ 5572 ] {0daaf649-02f1-4d33-a60e-47e1e78b9e11} TCPHandler: Code: 127. DB::Exception: Index of tuple element (0) if out range ([1, 2]): While processing t2.0. (ILLEGAL_INDEX), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x000000000b66908c in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeTuple.cpp:234: DB::DataTypeTuple::getNameByPosition(unsigned long) const @ 0x000000001b9a0911 in /usr/bin/clickhouse 7. /build/src/Interpreters/RewriteFunctionToSubcolumnVisitor.cpp:115: DB::RewriteFunctionToSubcolumnData::visit(DB::ASTFunction&, std::shared_ptr&) const @ 0x000000001cfde0b0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:122: DB::OneTypeMatcher const&, std::shared_ptr const&), std::shared_ptr>::visit(std::shared_ptr&, DB::RewriteFunctionToSubcolumnData&) @ 0x000000001cfbd7c1 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::doVisit(std::shared_ptr&) @ 0x000000001cfbd5c0 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbd841 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbd54a in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001cfbd8e6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbd84e in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbd54a in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001cfbd8e6 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbd84e in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbd54a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x000000001cfbd425 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeOptimizer.cpp:669: DB::(anonymous namespace)::optimizeFunctionsToSubcolumns(std::shared_ptr&, std::shared_ptr const&) @ 0x000000001cfb8944 in /usr/bin/clickhouse 20. /build/src/Interpreters/TreeOptimizer.cpp:737: DB::TreeOptimizer::apply(std::shared_ptr&, DB::TreeRewriterResult&, std::vector> const&, std::shared_ptr) @ 0x000000001cfb8170 in /usr/bin/clickhouse 21. /build/src/Interpreters/TreeRewriter.cpp:1242: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d81a in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 2024.09.24 01:16:50.455876 [ 5572 ] {a11dc671-c3d8-4a82-90b9-395d2532a906} executeQuery: Code: 127. DB::Exception: Index of tuple element (3) if out range ([1, 2]): While processing t2.3. (ILLEGAL_INDEX) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:47536) (comment: 02116_tuple_element.sql) (in query: SELECT tupleElement(t2, 3) FROM t_tuple_element;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x000000000b66908c in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeTuple.cpp:234: DB::DataTypeTuple::getNameByPosition(unsigned long) const @ 0x000000001b9a0911 in /usr/bin/clickhouse 7. /build/src/Interpreters/RewriteFunctionToSubcolumnVisitor.cpp:115: DB::RewriteFunctionToSubcolumnData::visit(DB::ASTFunction&, std::shared_ptr&) const @ 0x000000001cfde0b0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:122: DB::OneTypeMatcher const&, std::shared_ptr const&), std::shared_ptr>::visit(std::shared_ptr&, DB::RewriteFunctionToSubcolumnData&) @ 0x000000001cfbd7c1 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::doVisit(std::shared_ptr&) @ 0x000000001cfbd5c0 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbd841 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbd54a in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001cfbd8e6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbd84e in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbd54a in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001cfbd8e6 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbd84e in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbd54a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x000000001cfbd425 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeOptimizer.cpp:669: DB::(anonymous namespace)::optimizeFunctionsToSubcolumns(std::shared_ptr&, std::shared_ptr const&) @ 0x000000001cfb8944 in /usr/bin/clickhouse 20. /build/src/Interpreters/TreeOptimizer.cpp:737: DB::TreeOptimizer::apply(std::shared_ptr&, DB::TreeRewriterResult&, std::vector> const&, std::shared_ptr) @ 0x000000001cfb8170 in /usr/bin/clickhouse 21. /build/src/Interpreters/TreeRewriter.cpp:1242: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d81a in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 2024.09.24 01:16:50.456838 [ 5572 ] {a11dc671-c3d8-4a82-90b9-395d2532a906} TCPHandler: Code: 127. DB::Exception: Index of tuple element (3) if out range ([1, 2]): While processing t2.3. (ILLEGAL_INDEX), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x000000000b66908c in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeTuple.cpp:234: DB::DataTypeTuple::getNameByPosition(unsigned long) const @ 0x000000001b9a0911 in /usr/bin/clickhouse 7. /build/src/Interpreters/RewriteFunctionToSubcolumnVisitor.cpp:115: DB::RewriteFunctionToSubcolumnData::visit(DB::ASTFunction&, std::shared_ptr&) const @ 0x000000001cfde0b0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:122: DB::OneTypeMatcher const&, std::shared_ptr const&), std::shared_ptr>::visit(std::shared_ptr&, DB::RewriteFunctionToSubcolumnData&) @ 0x000000001cfbd7c1 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::doVisit(std::shared_ptr&) @ 0x000000001cfbd5c0 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbd841 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbd54a in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001cfbd8e6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbd84e in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbd54a in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001cfbd8e6 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbd84e in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbd54a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x000000001cfbd425 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeOptimizer.cpp:669: DB::(anonymous namespace)::optimizeFunctionsToSubcolumns(std::shared_ptr&, std::shared_ptr const&) @ 0x000000001cfb8944 in /usr/bin/clickhouse 20. /build/src/Interpreters/TreeOptimizer.cpp:737: DB::TreeOptimizer::apply(std::shared_ptr&, DB::TreeRewriterResult&, std::vector> const&, std::shared_ptr) @ 0x000000001cfb8170 in /usr/bin/clickhouse 21. /build/src/Interpreters/TreeRewriter.cpp:1242: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d81a in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 2024.09.24 01:16:50.465753 [ 5572 ] {7dd3fe8c-7bbc-4abe-9e09-1eab1c9bbec5} executeQuery: Code: 43. DB::Exception: Second argument to tupleElement must be a constant UInt or String: While processing tupleElement(t2, materialize(1)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:47536) (comment: 02116_tuple_element.sql) (in query: SELECT tupleElement(t2, materialize(1)) FROM t_tuple_element;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/tupleElement.cpp:161: DB::(anonymous namespace)::FunctionTupleElement::getElementIndex(COW::immutable_ptr const&, DB::DataTypeTuple const&, unsigned long) const @ 0x00000000127a8664 in /usr/bin/clickhouse 7. /build/src/Functions/tupleElement.cpp:68: DB::(anonymous namespace)::FunctionTupleElement::getReturnTypeImpl(std::vector> const&) const @ 0x00000000127a803e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:16:50.466678 [ 5572 ] {7dd3fe8c-7bbc-4abe-9e09-1eab1c9bbec5} TCPHandler: Code: 43. DB::Exception: Second argument to tupleElement must be a constant UInt or String: While processing tupleElement(t2, materialize(1)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/tupleElement.cpp:161: DB::(anonymous namespace)::FunctionTupleElement::getElementIndex(COW::immutable_ptr const&, DB::DataTypeTuple const&, unsigned long) const @ 0x00000000127a8664 in /usr/bin/clickhouse 7. /build/src/Functions/tupleElement.cpp:68: DB::(anonymous namespace)::FunctionTupleElement::getReturnTypeImpl(std::vector> const&) const @ 0x00000000127a803e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:16:50.883180 [ 8851 ] {e1663ba3-d7e0-423b-ace4-86eef53c2e21} executeQuery: Code: 43. DB::Exception: Illegal type String of argument for aggregate function sumCount. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:47486) (comment: 02119_sumcount.sql) (in query: -- Other types SELECT toTypeName(sumCount(v)), sumCount(v) FROM (SELECT 'a'::String AS v);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f7bec in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSumCount.cpp:34: DB::(anonymous namespace)::createAggregateFunctionSumCount(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000015e57f54 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:16:50.884259 [ 8851 ] {e1663ba3-d7e0-423b-ace4-86eef53c2e21} TCPHandler: Code: 43. DB::Exception: Illegal type String of argument for aggregate function sumCount. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f7bec in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSumCount.cpp:34: DB::(anonymous namespace)::createAggregateFunctionSumCount(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000015e57f54 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:16:50.898723 [ 8851 ] {2eb83ec6-af9e-4e89-a4b3-677a5824fa2e} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for aggregate function sumCount. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:47486) (comment: 02119_sumcount.sql) (in query: SELECT toTypeName(sumCount(v)), sumCount(v) FROM (SELECT now()::DateTime AS v);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f7bec in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSumCount.cpp:34: DB::(anonymous namespace)::createAggregateFunctionSumCount(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000015e57f54 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:16:50.899669 [ 8851 ] {2eb83ec6-af9e-4e89-a4b3-677a5824fa2e} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for aggregate function sumCount. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f7bec in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSumCount.cpp:34: DB::(anonymous namespace)::createAggregateFunctionSumCount(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000015e57f54 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:16:55.140444 [ 5572 ] {26e6f84f-8440-4f4f-b7ad-25fb140e2bda} executeQuery: Code: 60. DB::Exception: Table default.id does not exist: While processing 1 IN (id). (UNKNOWN_TABLE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58126) (comment: 02111_global_context_temporary_tables.sql) (in query: -- { echo } SELECT * FROM remote('127.1', system.one, 1 IN id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53612 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 9. /build/src/Interpreters/interpretSubquery.cpp:99: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, std::vector> const&, DB::SelectQueryOptions const&) @ 0x000000001d0d5c44 in /usr/bin/clickhouse 10. /build/src/Interpreters/interpretSubquery.cpp:28: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, unsigned long, std::vector> const&) @ 0x000000001d0d52b6 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1431: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x000000001bfedac0 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe81a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:1696: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x000000001bfb8f58 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1729: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x000000001bfb92c3 in /usr/bin/clickhouse 21. /build/src/Storages/StorageDistributed.cpp:219: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x000000001d6545f3 in /usr/bin/clickhouse 22. /build/src/Storages/StorageDistributed.cpp:354: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x000000001d6530aa in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageDistributed* std::construct_at[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, DB::StorageDistributed*>(DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a95578e in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void, void>(std::allocator&, DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a955571 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a955448 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, String const&, String const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a95527a in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a94fdb6 in /usr/bin/clickhouse 28. /build/src/TableFunctions/TableFunctionRemote.cpp:322: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a94cbf0 in /usr/bin/clickhouse 29. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 30. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 31. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 2024.09.24 01:16:55.141713 [ 5572 ] {26e6f84f-8440-4f4f-b7ad-25fb140e2bda} TCPHandler: Code: 60. DB::Exception: Table default.id does not exist: While processing 1 IN (id). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53612 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 9. /build/src/Interpreters/interpretSubquery.cpp:99: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, std::vector> const&, DB::SelectQueryOptions const&) @ 0x000000001d0d5c44 in /usr/bin/clickhouse 10. /build/src/Interpreters/interpretSubquery.cpp:28: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, unsigned long, std::vector> const&) @ 0x000000001d0d52b6 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1431: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x000000001bfedac0 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe81a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:1696: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x000000001bfb8f58 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1729: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x000000001bfb92c3 in /usr/bin/clickhouse 21. /build/src/Storages/StorageDistributed.cpp:219: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x000000001d6545f3 in /usr/bin/clickhouse 22. /build/src/Storages/StorageDistributed.cpp:354: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x000000001d6530aa in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageDistributed* std::construct_at[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, DB::StorageDistributed*>(DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a95578e in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void, void>(std::allocator&, DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a955571 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a955448 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, String const&, String const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a95527a in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a94fdb6 in /usr/bin/clickhouse 28. /build/src/TableFunctions/TableFunctionRemote.cpp:322: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a94cbf0 in /usr/bin/clickhouse 29. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 30. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 31. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 2024.09.24 01:16:55.153661 [ 5572 ] {f22deb3b-bf81-42d3-840d-80388914c775} executeQuery: Code: 60. DB::Exception: Table default.dummy does not exist: While processing 1 IN (dummy). (UNKNOWN_TABLE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58126) (comment: 02111_global_context_temporary_tables.sql) (in query: SELECT * FROM remote('127.1', system.one, 1 IN dummy);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53612 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 9. /build/src/Interpreters/interpretSubquery.cpp:99: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, std::vector> const&, DB::SelectQueryOptions const&) @ 0x000000001d0d5c44 in /usr/bin/clickhouse 10. /build/src/Interpreters/interpretSubquery.cpp:28: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, unsigned long, std::vector> const&) @ 0x000000001d0d52b6 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1431: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x000000001bfedac0 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe81a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:1696: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x000000001bfb8f58 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1729: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x000000001bfb92c3 in /usr/bin/clickhouse 21. /build/src/Storages/StorageDistributed.cpp:219: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x000000001d6545f3 in /usr/bin/clickhouse 22. /build/src/Storages/StorageDistributed.cpp:354: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x000000001d6530aa in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageDistributed* std::construct_at[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, DB::StorageDistributed*>(DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a95578e in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void, void>(std::allocator&, DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a955571 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a955448 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, String const&, String const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a95527a in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a94fdb6 in /usr/bin/clickhouse 28. /build/src/TableFunctions/TableFunctionRemote.cpp:322: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a94cbf0 in /usr/bin/clickhouse 29. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 30. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 31. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 2024.09.24 01:16:55.154774 [ 5572 ] {f22deb3b-bf81-42d3-840d-80388914c775} TCPHandler: Code: 60. DB::Exception: Table default.dummy does not exist: While processing 1 IN (dummy). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53612 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 9. /build/src/Interpreters/interpretSubquery.cpp:99: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, std::vector> const&, DB::SelectQueryOptions const&) @ 0x000000001d0d5c44 in /usr/bin/clickhouse 10. /build/src/Interpreters/interpretSubquery.cpp:28: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, unsigned long, std::vector> const&) @ 0x000000001d0d52b6 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1431: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x000000001bfedac0 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe81a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:1696: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x000000001bfb8f58 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1729: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x000000001bfb92c3 in /usr/bin/clickhouse 21. /build/src/Storages/StorageDistributed.cpp:219: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x000000001d6545f3 in /usr/bin/clickhouse 22. /build/src/Storages/StorageDistributed.cpp:354: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x000000001d6530aa in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageDistributed* std::construct_at[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, DB::StorageDistributed*>(DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a95578e in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void, void>(std::allocator&, DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a955571 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a955448 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, String const&, String const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a95527a in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a94fdb6 in /usr/bin/clickhouse 28. /build/src/TableFunctions/TableFunctionRemote.cpp:322: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a94cbf0 in /usr/bin/clickhouse 29. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 30. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 31. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 2024.09.24 01:16:55.317593 [ 5572 ] {d9f6a097-d86b-4a43-b6b2-1b83e981e5a6} executeQuery: Code: 60. DB::Exception: Table default.id does not exist: While processing 1 IN (id). (UNKNOWN_TABLE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58126) (comment: 02111_global_context_temporary_tables.sql) (in query: SELECT * FROM remote('127.1', view(SELECT * FROM system.one), 1 IN id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53612 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 9. /build/src/Interpreters/interpretSubquery.cpp:99: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, std::vector> const&, DB::SelectQueryOptions const&) @ 0x000000001d0d5c44 in /usr/bin/clickhouse 10. /build/src/Interpreters/interpretSubquery.cpp:28: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, unsigned long, std::vector> const&) @ 0x000000001d0d52b6 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1431: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x000000001bfedac0 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe81a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:1696: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x000000001bfb8f58 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1729: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x000000001bfb92c3 in /usr/bin/clickhouse 21. /build/src/Storages/StorageDistributed.cpp:219: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x000000001d6545f3 in /usr/bin/clickhouse 22. /build/src/Storages/StorageDistributed.cpp:354: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x000000001d6530aa in /usr/bin/clickhouse 23. /build/src/Storages/StorageDistributed.cpp:396: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, std::shared_ptr, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr) @ 0x000000001d6553bd in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageDistributed* std::construct_at[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, DB::StorageDistributed*>(DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a954e90 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void, void>(std::allocator&, DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a954b22 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a954774 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, std::shared_ptr const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a95453f in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a94fba8 in /usr/bin/clickhouse 29. /build/src/TableFunctions/TableFunctionRemote.cpp:309: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a94c9d1 in /usr/bin/clickhouse 30. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 31. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 2024.09.24 01:16:55.318737 [ 5572 ] {d9f6a097-d86b-4a43-b6b2-1b83e981e5a6} TCPHandler: Code: 60. DB::Exception: Table default.id does not exist: While processing 1 IN (id). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53612 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 9. /build/src/Interpreters/interpretSubquery.cpp:99: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, std::vector> const&, DB::SelectQueryOptions const&) @ 0x000000001d0d5c44 in /usr/bin/clickhouse 10. /build/src/Interpreters/interpretSubquery.cpp:28: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, unsigned long, std::vector> const&) @ 0x000000001d0d52b6 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1431: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x000000001bfedac0 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe81a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:1696: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x000000001bfb8f58 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1729: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x000000001bfb92c3 in /usr/bin/clickhouse 21. /build/src/Storages/StorageDistributed.cpp:219: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x000000001d6545f3 in /usr/bin/clickhouse 22. /build/src/Storages/StorageDistributed.cpp:354: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x000000001d6530aa in /usr/bin/clickhouse 23. /build/src/Storages/StorageDistributed.cpp:396: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, std::shared_ptr, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr) @ 0x000000001d6553bd in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageDistributed* std::construct_at[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, DB::StorageDistributed*>(DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a954e90 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void, void>(std::allocator&, DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a954b22 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a954774 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, std::shared_ptr const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a95453f in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a94fba8 in /usr/bin/clickhouse 29. /build/src/TableFunctions/TableFunctionRemote.cpp:309: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a94c9d1 in /usr/bin/clickhouse 30. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 31. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 2024.09.24 01:16:55.330638 [ 5572 ] {77dbb86d-6310-4258-983b-f0c5d3e83b87} executeQuery: Code: 60. DB::Exception: Table default.id does not exist: While processing 1 IN (id). (UNKNOWN_TABLE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58126) (comment: 02111_global_context_temporary_tables.sql) (in query: SELECT * FROM remote('127.1', view(SELECT number AS id FROM numbers(2)), 1 IN id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53612 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 9. /build/src/Interpreters/interpretSubquery.cpp:99: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, std::vector> const&, DB::SelectQueryOptions const&) @ 0x000000001d0d5c44 in /usr/bin/clickhouse 10. /build/src/Interpreters/interpretSubquery.cpp:28: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, unsigned long, std::vector> const&) @ 0x000000001d0d52b6 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1431: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x000000001bfedac0 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe81a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:1696: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x000000001bfb8f58 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1729: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x000000001bfb92c3 in /usr/bin/clickhouse 21. /build/src/Storages/StorageDistributed.cpp:219: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x000000001d6545f3 in /usr/bin/clickhouse 22. /build/src/Storages/StorageDistributed.cpp:354: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x000000001d6530aa in /usr/bin/clickhouse 23. /build/src/Storages/StorageDistributed.cpp:396: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, std::shared_ptr, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr) @ 0x000000001d6553bd in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageDistributed* std::construct_at[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, DB::StorageDistributed*>(DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a954e90 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void, void>(std::allocator&, DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a954b22 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a954774 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, std::shared_ptr const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a95453f in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a94fba8 in /usr/bin/clickhouse 29. /build/src/TableFunctions/TableFunctionRemote.cpp:309: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a94c9d1 in /usr/bin/clickhouse 30. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 31. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 2024.09.24 01:16:55.331563 [ 5572 ] {77dbb86d-6310-4258-983b-f0c5d3e83b87} TCPHandler: Code: 60. DB::Exception: Table default.id does not exist: While processing 1 IN (id). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53612 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 9. /build/src/Interpreters/interpretSubquery.cpp:99: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, std::vector> const&, DB::SelectQueryOptions const&) @ 0x000000001d0d5c44 in /usr/bin/clickhouse 10. /build/src/Interpreters/interpretSubquery.cpp:28: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, unsigned long, std::vector> const&) @ 0x000000001d0d52b6 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1431: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x000000001bfedac0 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe81a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:1696: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x000000001bfb8f58 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1729: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x000000001bfb92c3 in /usr/bin/clickhouse 21. /build/src/Storages/StorageDistributed.cpp:219: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x000000001d6545f3 in /usr/bin/clickhouse 22. /build/src/Storages/StorageDistributed.cpp:354: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x000000001d6530aa in /usr/bin/clickhouse 23. /build/src/Storages/StorageDistributed.cpp:396: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, std::shared_ptr, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr) @ 0x000000001d6553bd in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageDistributed* std::construct_at[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, DB::StorageDistributed*>(DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a954e90 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void, void>(std::allocator&, DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a954b22 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a954774 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, std::shared_ptr const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a95453f in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a94fba8 in /usr/bin/clickhouse 29. /build/src/TableFunctions/TableFunctionRemote.cpp:309: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a94c9d1 in /usr/bin/clickhouse 30. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 31. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 2024.09.24 01:17:00.225939 [ 6138 ] {f02f6a6f-9ef1-435c-a202-03278a16f2bf} executeQuery: Code: 36. DB::Exception: Table doesn't have SAMPLE BY, cannot remove. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58184) (comment: 02097_remove_sample_by.sql) (in query: ALTER TABLE t_remove_sample_by REMOVE SAMPLE BY;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [44]) @ 0x000000000b258afe in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1343: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d591779 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:00.226961 [ 6138 ] {f02f6a6f-9ef1-435c-a202-03278a16f2bf} TCPHandler: Code: 36. DB::Exception: Table doesn't have SAMPLE BY, cannot remove. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [44]) @ 0x000000000b258afe in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1343: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d591779 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:00.370218 [ 6138 ] {97c74f5a-70b2-4f0e-b2bb-bcb1ff7d1fc0} executeQuery: Code: 141. DB::Exception: Illegal SAMPLE: table doesn't support sampling. (SAMPLING_NOT_SUPPORTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58184) (comment: 02097_remove_sample_by.sql) (in query: SELECT * FROM t_remove_sample_by SAMPLE 1 / 10;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [47]) @ 0x000000000b5b6a9e in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:687: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf271 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:00.371371 [ 6138 ] {97c74f5a-70b2-4f0e-b2bb-bcb1ff7d1fc0} TCPHandler: Code: 141. DB::Exception: Illegal SAMPLE: table doesn't support sampling. (SAMPLING_NOT_SUPPORTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [47]) @ 0x000000000b5b6a9e in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:687: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf271 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:00.598132 [ 6138 ] {087db2b5-151a-457a-9625-32f471fb4ee7} executeQuery: Code: 36. DB::Exception: Table doesn't have SAMPLE BY, cannot remove. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58184) (comment: 02097_remove_sample_by.sql) (in query: ALTER TABLE t_remove_sample_by REMOVE SAMPLE BY;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [44]) @ 0x000000000b258afe in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1343: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d591779 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:00.598829 [ 6138 ] {087db2b5-151a-457a-9625-32f471fb4ee7} TCPHandler: Code: 36. DB::Exception: Table doesn't have SAMPLE BY, cannot remove. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [44]) @ 0x000000000b258afe in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1343: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d591779 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:00.870804 [ 6138 ] {b9f73ac2-0b16-41c7-946c-b7ee012db8b2} executeQuery: Code: 59. DB::Exception: Invalid sampling column type in storage parameters: String. Must be one unsigned integer type. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58184) (comment: 02097_remove_sample_by.sql) (in query: SELECT * FROM t_remove_sample_by SAMPLE 1 / 10;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:645: DB::MergeTreeDataSelectExecutor::getSampling(DB::SelectQueryInfo const&, DB::NamesAndTypesList, std::vector, std::allocator>> const&, DB::KeyCondition&, DB::MergeTreeData const&, std::shared_ptr const&, std::shared_ptr, bool, Poco::Logger*) @ 0x000000001dfada50 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1478: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001eea109b in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9e841 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001ee9e558 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001eea382c in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1790: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea489b in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee51b4c in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee780df in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd8cb in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 24. ? @ 0x00007f1d281b3ac3 in ? 25. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:00.872158 [ 6138 ] {b9f73ac2-0b16-41c7-946c-b7ee012db8b2} TCPHandler: Code: 59. DB::Exception: Invalid sampling column type in storage parameters: String. Must be one unsigned integer type. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:645: DB::MergeTreeDataSelectExecutor::getSampling(DB::SelectQueryInfo const&, DB::NamesAndTypesList, std::vector, std::allocator>> const&, DB::KeyCondition&, DB::MergeTreeData const&, std::shared_ptr const&, std::shared_ptr, bool, Poco::Logger*) @ 0x000000001dfada50 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1478: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001eea109b in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9e841 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001ee9e558 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001eea382c in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1790: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea489b in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee51b4c in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee780df in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd8cb in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 24. ? @ 0x00007f1d281b3ac3 in ? 25. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:01.620684 [ 6138 ] {8e9989b1-f2c1-4517-8c70-f29661484fdc} executeQuery: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:57834) (comment: 02052_last_granula_adjust_LOGICAL_ERROR.gen.sql) (in query: select * apply max from data_02052_1_wide0 settings max_read_buffer_size=0, max_threads=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x000000001bdf2053 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4632: DB::Context::getReadSettings() const @ 0x000000001bde14c0 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:114: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x000000001ee9700d in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:259: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000001ee961ae in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000001dfbd578 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1304: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001dfaab4b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:168: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001dfa73ac in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:252: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001e36189f in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:01.621890 [ 6138 ] {8e9989b1-f2c1-4517-8c70-f29661484fdc} TCPHandler: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x000000001bdf2053 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4632: DB::Context::getReadSettings() const @ 0x000000001bde14c0 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:114: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x000000001ee9700d in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:259: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000001ee961ae in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000001dfbd578 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1304: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001dfaab4b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:168: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001dfa73ac in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:252: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001e36189f in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:01.729837 [ 6138 ] {721126e4-4b0a-4959-b869-5c8528480354} executeQuery: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:57834) (comment: 02052_last_granula_adjust_LOGICAL_ERROR.gen.sql) (in query: select * apply max from data_02052_1_wide100000000 settings max_read_buffer_size=0, max_threads=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x000000001bdf2053 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4632: DB::Context::getReadSettings() const @ 0x000000001bde14c0 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:114: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x000000001ee9700d in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:259: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000001ee961ae in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000001dfbd578 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1304: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001dfaab4b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:168: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001dfa73ac in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:252: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001e36189f in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:01.730742 [ 6138 ] {721126e4-4b0a-4959-b869-5c8528480354} TCPHandler: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x000000001bdf2053 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4632: DB::Context::getReadSettings() const @ 0x000000001bde14c0 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:114: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x000000001ee9700d in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:259: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000001ee961ae in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000001dfbd578 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1304: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001dfaab4b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:168: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001dfa73ac in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:252: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001e36189f in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:01.839794 [ 6138 ] {6bcc460c-8223-465e-97e2-7acd60ff3201} executeQuery: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:57834) (comment: 02052_last_granula_adjust_LOGICAL_ERROR.gen.sql) (in query: select * apply max from data_02052_10_wide0 settings max_read_buffer_size=0, max_threads=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x000000001bdf2053 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4632: DB::Context::getReadSettings() const @ 0x000000001bde14c0 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:114: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x000000001ee9700d in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:259: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000001ee961ae in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000001dfbd578 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1304: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001dfaab4b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:168: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001dfa73ac in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:252: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001e36189f in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:01.840672 [ 6138 ] {6bcc460c-8223-465e-97e2-7acd60ff3201} TCPHandler: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x000000001bdf2053 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4632: DB::Context::getReadSettings() const @ 0x000000001bde14c0 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:114: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x000000001ee9700d in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:259: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000001ee961ae in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000001dfbd578 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1304: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001dfaab4b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:168: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001dfa73ac in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:252: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001e36189f in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:01.952466 [ 6138 ] {aaa2d33f-5b0e-40e6-bdb8-3e8ce9b621c8} executeQuery: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:57834) (comment: 02052_last_granula_adjust_LOGICAL_ERROR.gen.sql) (in query: select * apply max from data_02052_10_wide100000000 settings max_read_buffer_size=0, max_threads=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x000000001bdf2053 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4632: DB::Context::getReadSettings() const @ 0x000000001bde14c0 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:114: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x000000001ee9700d in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:259: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000001ee961ae in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000001dfbd578 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1304: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001dfaab4b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:168: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001dfa73ac in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:252: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001e36189f in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:01.953552 [ 6138 ] {aaa2d33f-5b0e-40e6-bdb8-3e8ce9b621c8} TCPHandler: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x000000001bdf2053 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4632: DB::Context::getReadSettings() const @ 0x000000001bde14c0 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:114: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x000000001ee9700d in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:259: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000001ee961ae in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000001dfbd578 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1304: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001dfaab4b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:168: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001dfa73ac in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:252: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001e36189f in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:02.074778 [ 6138 ] {ea2eb490-b58d-4d7e-9abd-840ffddf4f64} executeQuery: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:57834) (comment: 02052_last_granula_adjust_LOGICAL_ERROR.gen.sql) (in query: select * apply max from data_02052_100_wide0 settings max_read_buffer_size=0, max_threads=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x000000001bdf2053 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4632: DB::Context::getReadSettings() const @ 0x000000001bde14c0 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:114: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x000000001ee9700d in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:259: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000001ee961ae in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000001dfbd578 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1304: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001dfaab4b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:168: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001dfa73ac in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:252: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001e36189f in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:02.075864 [ 6138 ] {ea2eb490-b58d-4d7e-9abd-840ffddf4f64} TCPHandler: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x000000001bdf2053 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4632: DB::Context::getReadSettings() const @ 0x000000001bde14c0 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:114: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x000000001ee9700d in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:259: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000001ee961ae in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000001dfbd578 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1304: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001dfaab4b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:168: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001dfa73ac in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:252: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001e36189f in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:02.176959 [ 6138 ] {fd1a62f7-b443-4da0-ac45-273655781c09} executeQuery: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:57834) (comment: 02052_last_granula_adjust_LOGICAL_ERROR.gen.sql) (in query: select * apply max from data_02052_100_wide100000000 settings max_read_buffer_size=0, max_threads=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x000000001bdf2053 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4632: DB::Context::getReadSettings() const @ 0x000000001bde14c0 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:114: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x000000001ee9700d in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:259: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000001ee961ae in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000001dfbd578 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1304: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001dfaab4b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:168: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001dfa73ac in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:252: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001e36189f in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:02.177752 [ 6138 ] {fd1a62f7-b443-4da0-ac45-273655781c09} TCPHandler: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x000000001bdf2053 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4632: DB::Context::getReadSettings() const @ 0x000000001bde14c0 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:114: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x000000001ee9700d in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:259: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000001ee961ae in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000001dfbd578 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1304: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001dfaab4b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:168: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001dfa73ac in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:252: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001e36189f in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:02.294513 [ 6138 ] {4b3cf0c0-2300-4f1d-9757-23102b8d19c2} executeQuery: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:57834) (comment: 02052_last_granula_adjust_LOGICAL_ERROR.gen.sql) (in query: select * apply max from data_02052_10000_wide0 settings max_read_buffer_size=0, max_threads=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x000000001bdf2053 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4632: DB::Context::getReadSettings() const @ 0x000000001bde14c0 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:114: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x000000001ee9700d in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:259: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000001ee961ae in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000001dfbd578 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1304: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001dfaab4b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:168: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001dfa73ac in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:252: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001e36189f in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:02.295550 [ 6138 ] {4b3cf0c0-2300-4f1d-9757-23102b8d19c2} TCPHandler: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x000000001bdf2053 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4632: DB::Context::getReadSettings() const @ 0x000000001bde14c0 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:114: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x000000001ee9700d in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:259: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000001ee961ae in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000001dfbd578 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1304: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001dfaab4b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:168: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001dfa73ac in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:252: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001e36189f in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:02.402518 [ 6138 ] {95b39e68-59e9-4ef8-b0c5-11182bf24696} executeQuery: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:57834) (comment: 02052_last_granula_adjust_LOGICAL_ERROR.gen.sql) (in query: select * apply max from data_02052_10000_wide100000000 settings max_read_buffer_size=0, max_threads=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x000000001bdf2053 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4632: DB::Context::getReadSettings() const @ 0x000000001bde14c0 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:114: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x000000001ee9700d in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:259: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000001ee961ae in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000001dfbd578 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1304: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001dfaab4b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:168: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001dfa73ac in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:252: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001e36189f in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:02.403372 [ 6138 ] {95b39e68-59e9-4ef8-b0c5-11182bf24696} TCPHandler: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x000000001bdf2053 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4632: DB::Context::getReadSettings() const @ 0x000000001bde14c0 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:114: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x000000001ee9700d in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:259: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000001ee961ae in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000001dfbd578 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1304: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001dfaab4b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:168: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001dfa73ac in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:252: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001e36189f in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:10.152507 [ 2936 ] {} HTTPServerRequest: Got an HTTP request with no content length and no chunked/multipart encoding, it may be impossible to distinguish graceful EOF from abnormal connection loss 2024.09.24 01:17:10.420590 [ 12007 ] {84d78699-b8b2-4e38-b8ac-07d67fac0db2} executeQuery: Code: 184. DB::Exception: Nested identical combinator 'If' is not supported. (ILLEGAL_AGGREGATION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58048) (comment: 02025_nested_func_for_if_combinator.sql) (in query: SELECT uniqCombinedIfMergeIf(n, last > 50) FILTER(WHERE last>50) FROM (SELECT uniqCombinedIfState(number, number % 2) AS n, max(number) AS last FROM numbers(10));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:191: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0366b in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 11. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:10.421769 [ 12007 ] {84d78699-b8b2-4e38-b8ac-07d67fac0db2} TCPHandler: Code: 184. DB::Exception: Nested identical combinator 'If' is not supported. (ILLEGAL_AGGREGATION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:191: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0366b in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 11. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:10.762293 [ 12007 ] {e982b8fd-968c-42dd-9d20-473c4d44a859} executeQuery: Code: 184. DB::Exception: Nested identical combinator 'If' is not supported. (ILLEGAL_AGGREGATION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58048) (comment: 02025_nested_func_for_if_combinator.sql) (in query: SELECT uniqCombinedIfMergeIfIf(n, last > 5) FROM (SELECT uniqCombinedIfState(number, number % 2) AS n, max(number) AS last FROM numbers(10));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:191: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0366b in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 11. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:10.763670 [ 12007 ] {e982b8fd-968c-42dd-9d20-473c4d44a859} TCPHandler: Code: 184. DB::Exception: Nested identical combinator 'If' is not supported. (ILLEGAL_AGGREGATION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:191: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0366b in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 11. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:10.790265 [ 12007 ] {56219b8c-92a8-4b1e-9e03-517d55eb76e0} executeQuery: Code: 184. DB::Exception: Nested identical combinator 'If' is not supported. (ILLEGAL_AGGREGATION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58048) (comment: 02025_nested_func_for_if_combinator.sql) (in query: SELECT uniqCombinedIfMergeIfIf(n, last > 5, 1) FROM (SELECT uniqCombinedIfState(number, number % 2) AS n, max(number) AS last FROM numbers(10));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:191: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0366b in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 11. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:10.791431 [ 12007 ] {56219b8c-92a8-4b1e-9e03-517d55eb76e0} TCPHandler: Code: 184. DB::Exception: Nested identical combinator 'If' is not supported. (ILLEGAL_AGGREGATION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:191: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0366b in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 11. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:14.449119 [ 8850 ] {985035ce-3a64-4054-9bc1-df5d26ff161f} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:46546) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:14.449825 [ 8850 ] {985035ce-3a64-4054-9bc1-df5d26ff161f} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:24.779481 [ 12043 ] {2f220f01-519f-4d2b-af6c-0407e2d76765} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53862) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:24.780160 [ 12043 ] {2f220f01-519f-4d2b-af6c-0407e2d76765} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:34.104736 [ 12003 ] {007e7633-af48-43df-b19d-6ab66f5a28bd} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:43662) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:34.105592 [ 12003 ] {007e7633-af48-43df-b19d-6ab66f5a28bd} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:35.934174 [ 12003 ] {f0f215fd-f561-42fb-8ed0-ff87b90bd9a1} executeQuery: Code: 33. DB::Exception: Last saved offsset for File a.txt is bigger than file size (311 > 0). (CANNOT_READ_ALL_DATA) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:43696) (comment: 02025_storage_filelog_virtual_col.sh) (in query: select * from file_log order by k settings stream_like_engine_allow_direct_select=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception&>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity&>::type>, String const&, unsigned long&, std::fpos<__mbstate_t>&) @ 0x000000001daac888 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:429: DB::StorageFileLog::openFilesAndSetPos() @ 0x000000001daa19ce in /usr/bin/clickhouse 7. /build/src/Storages/FileLog/StorageFileLog.cpp:335: DB::StorageFileLog::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001da9e102 in /usr/bin/clickhouse 8. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:35.935880 [ 12003 ] {f0f215fd-f561-42fb-8ed0-ff87b90bd9a1} TCPHandler: Code: 33. DB::Exception: Last saved offsset for File a.txt is bigger than file size (311 > 0). (CANNOT_READ_ALL_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception&>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity&>::type>, String const&, unsigned long&, std::fpos<__mbstate_t>&) @ 0x000000001daac888 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:429: DB::StorageFileLog::openFilesAndSetPos() @ 0x000000001daa19ce in /usr/bin/clickhouse 7. /build/src/Storages/FileLog/StorageFileLog.cpp:335: DB::StorageFileLog::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001da9e102 in /usr/bin/clickhouse 8. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:51.779508 [ 1125 ] {595fba8f-42b4-4079-90b6-7853dd4de728} executeQuery: Code: 386. DB::Exception: There is no supertype for types Array(UInt8), Int8 because some of them are Array and some of them are not: While processing SELECT count() FROM bftest WHERE hasAll(y, [[123], -42]). (NO_COMMON_TYPE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53634) (comment: 02013_bloom_filter_hasAll.sql) (in query: SELECT count() FROM bftest WHERE hasAll(y, [[123], -42]) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x00000000119578ec in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001ba067e6 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:267: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x000000001ba09759 in /usr/bin/clickhouse 8. /build/src/DataTypes/FieldToDataType.cpp:142: DB::FieldToDataType<(DB::LeastSupertypeOnError)0>::operator()(DB::Array const&) const @ 0x000000001b9c7ed0 in /usr/bin/clickhouse 9. /build/src/Core/Field.h:640: auto DB::Field::dispatch, DB::Field const&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field const&) @ 0x000000001bc3c1e8 in /usr/bin/clickhouse 10. /build/src/Common/FieldVisitors.h:24: auto DB::applyVisitor, DB::Field const&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field const&) @ 0x000000001bc3be5d in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1297: DB::ActionsMatcher::visit(DB::ASTLiteral const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb8ab in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:700: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6663 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:705: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6706 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1735: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x000000001bfb93ed in /usr/bin/clickhouse 22. /build/src/Storages/MergeTree/KeyCondition.cpp:724: DB::KeyCondition::getBlockWithConstants(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001ddcabf8 in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/MergeTreeWhereOptimizer.cpp:83: DB::MergeTreeWhereOptimizer::optimize(DB::SelectQueryInfo&, std::shared_ptr const&) const @ 0x000000001e1d75ed in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:663: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaeb4f in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 2024.09.24 01:17:51.780580 [ 1125 ] {595fba8f-42b4-4079-90b6-7853dd4de728} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Array(UInt8), Int8 because some of them are Array and some of them are not: While processing SELECT count() FROM bftest WHERE hasAll(y, [[123], -42]). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x00000000119578ec in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001ba067e6 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:267: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x000000001ba09759 in /usr/bin/clickhouse 8. /build/src/DataTypes/FieldToDataType.cpp:142: DB::FieldToDataType<(DB::LeastSupertypeOnError)0>::operator()(DB::Array const&) const @ 0x000000001b9c7ed0 in /usr/bin/clickhouse 9. /build/src/Core/Field.h:640: auto DB::Field::dispatch, DB::Field const&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field const&) @ 0x000000001bc3c1e8 in /usr/bin/clickhouse 10. /build/src/Common/FieldVisitors.h:24: auto DB::applyVisitor, DB::Field const&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field const&) @ 0x000000001bc3be5d in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1297: DB::ActionsMatcher::visit(DB::ASTLiteral const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb8ab in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:700: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6663 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:705: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6706 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1735: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x000000001bfb93ed in /usr/bin/clickhouse 22. /build/src/Storages/MergeTree/KeyCondition.cpp:724: DB::KeyCondition::getBlockWithConstants(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001ddcabf8 in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/MergeTreeWhereOptimizer.cpp:83: DB::MergeTreeWhereOptimizer::optimize(DB::SelectQueryInfo&, std::shared_ptr const&) const @ 0x000000001e1d75ed in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:663: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaeb4f in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 2024.09.24 01:17:52.213505 [ 1125 ] {f313b027-90c3-4469-aa70-8f7f8a514c25} executeQuery: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53634) (comment: 02013_bloom_filter_hasAll.sql) (in query: -- can't use bloom_filter with `hasAll` on non-constant arguments (just like `has`) SELECT count() FROM bftest WHERE hasAll(x, materialize([1,2,3])) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:929: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001dfb202b in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1498: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001eea13c4 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9e841 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001ee9e558 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001eea382c in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1790: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea489b in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee51b4c in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee780df in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd8cb in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 24. ? @ 0x00007f1d281b3ac3 in ? 25. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:52.214567 [ 1125 ] {f313b027-90c3-4469-aa70-8f7f8a514c25} TCPHandler: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:929: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001dfb202b in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1498: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001eea13c4 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9e841 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001ee9e558 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001eea382c in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1790: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea489b in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee51b4c in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee780df in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd8cb in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 24. ? @ 0x00007f1d281b3ac3 in ? 25. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:52.242942 [ 1125 ] {a866f91a-8e00-4a66-ae37-19069c9f1810} executeQuery: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53634) (comment: 02013_bloom_filter_hasAll.sql) (in query: -- NULLs are not Ok SELECT count() FROM bftest WHERE hasAll(x, [NULL,-42]) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:929: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001dfb202b in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1498: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001eea13c4 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9e841 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001ee9e558 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001eea382c in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1790: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea489b in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee51b4c in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee780df in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd8cb in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 24. ? @ 0x00007f1d281b3ac3 in ? 25. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:52.244036 [ 1125 ] {a866f91a-8e00-4a66-ae37-19069c9f1810} TCPHandler: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:929: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001dfb202b in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1498: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001eea13c4 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9e841 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001ee9e558 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001eea382c in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1790: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea489b in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee51b4c in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee780df in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd8cb in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 24. ? @ 0x00007f1d281b3ac3 in ? 25. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:52.271659 [ 1125 ] {1313e252-13b6-4ed0-9ac5-ca74e2e8138e} executeQuery: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53634) (comment: 02013_bloom_filter_hasAll.sql) (in query: SELECT count() FROM bftest WHERE hasAll(x, [0,NULL]) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:929: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001dfb202b in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1498: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001eea13c4 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9e841 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001ee9e558 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001eea382c in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1790: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea489b in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee51b4c in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee780df in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd8cb in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 24. ? @ 0x00007f1d281b3ac3 in ? 25. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:52.272643 [ 1125 ] {1313e252-13b6-4ed0-9ac5-ca74e2e8138e} TCPHandler: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:929: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001dfb202b in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1498: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001eea13c4 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9e841 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001ee9e558 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001eea382c in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1790: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea489b in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee51b4c in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee780df in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd8cb in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 24. ? @ 0x00007f1d281b3ac3 in ? 25. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:52.285519 [ 1125 ] {0cdfe3b5-0bc3-46d7-bf13-9e9ed2fe4539} executeQuery: Code: 386. DB::Exception: There is no supertype for types Array(UInt8), Int8 because some of them are Array and some of them are not: While processing SELECT count() FROM bftest WHERE hasAll(x, [[123], -42]). (NO_COMMON_TYPE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53634) (comment: 02013_bloom_filter_hasAll.sql) (in query: -- non-compatible types SELECT count() FROM bftest WHERE hasAll(x, [[123], -42]) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x00000000119578ec in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001ba067e6 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:267: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x000000001ba09759 in /usr/bin/clickhouse 8. /build/src/DataTypes/FieldToDataType.cpp:142: DB::FieldToDataType<(DB::LeastSupertypeOnError)0>::operator()(DB::Array const&) const @ 0x000000001b9c7ed0 in /usr/bin/clickhouse 9. /build/src/Core/Field.h:640: auto DB::Field::dispatch, DB::Field const&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field const&) @ 0x000000001bc3c1e8 in /usr/bin/clickhouse 10. /build/src/Common/FieldVisitors.h:24: auto DB::applyVisitor, DB::Field const&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field const&) @ 0x000000001bc3be5d in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1297: DB::ActionsMatcher::visit(DB::ASTLiteral const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb8ab in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:700: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6663 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:705: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6706 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1735: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x000000001bfb93ed in /usr/bin/clickhouse 22. /build/src/Storages/MergeTree/KeyCondition.cpp:724: DB::KeyCondition::getBlockWithConstants(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001ddcabf8 in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/MergeTreeWhereOptimizer.cpp:83: DB::MergeTreeWhereOptimizer::optimize(DB::SelectQueryInfo&, std::shared_ptr const&) const @ 0x000000001e1d75ed in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:663: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaeb4f in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 2024.09.24 01:17:52.286887 [ 1125 ] {0cdfe3b5-0bc3-46d7-bf13-9e9ed2fe4539} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Array(UInt8), Int8 because some of them are Array and some of them are not: While processing SELECT count() FROM bftest WHERE hasAll(x, [[123], -42]). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x00000000119578ec in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001ba067e6 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:267: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x000000001ba09759 in /usr/bin/clickhouse 8. /build/src/DataTypes/FieldToDataType.cpp:142: DB::FieldToDataType<(DB::LeastSupertypeOnError)0>::operator()(DB::Array const&) const @ 0x000000001b9c7ed0 in /usr/bin/clickhouse 9. /build/src/Core/Field.h:640: auto DB::Field::dispatch, DB::Field const&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field const&) @ 0x000000001bc3c1e8 in /usr/bin/clickhouse 10. /build/src/Common/FieldVisitors.h:24: auto DB::applyVisitor, DB::Field const&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field const&) @ 0x000000001bc3be5d in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1297: DB::ActionsMatcher::visit(DB::ASTLiteral const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb8ab in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:700: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6663 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:705: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6706 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1735: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x000000001bfb93ed in /usr/bin/clickhouse 22. /build/src/Storages/MergeTree/KeyCondition.cpp:724: DB::KeyCondition::getBlockWithConstants(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001ddcabf8 in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/MergeTreeWhereOptimizer.cpp:83: DB::MergeTreeWhereOptimizer::optimize(DB::SelectQueryInfo&, std::shared_ptr const&) const @ 0x000000001e1d75ed in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:663: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaeb4f in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 2024.09.24 01:17:52.318934 [ 1125 ] {2788810b-92d9-4a9d-a6af-3b3da0388078} executeQuery: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53634) (comment: 02013_bloom_filter_hasAll.sql) (in query: SELECT count() FROM bftest WHERE hasAll(x, [toDecimal32(123, 3), 2]) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:929: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001dfb202b in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1498: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001eea13c4 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9e841 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001ee9e558 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001eea382c in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1790: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea489b in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee51b4c in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee780df in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd8cb in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 24. ? @ 0x00007f1d281b3ac3 in ? 25. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:52.319673 [ 1125 ] {2788810b-92d9-4a9d-a6af-3b3da0388078} TCPHandler: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:929: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001dfb202b in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1498: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001eea13c4 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9e841 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001ee9e558 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001eea382c in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1790: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea489b in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee51b4c in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee780df in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd8cb in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 24. ? @ 0x00007f1d281b3ac3 in ? 25. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:54.859945 [ 12043 ] {c337c1d5-951f-4e5e-a146-a048f6e4123f} executeQuery: Code: 33. DB::Exception: Last saved offsset for File a.txt is bigger than file size (311 > 0). (CANNOT_READ_ALL_DATA) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53756) (comment: 02023_storage_filelog.sh) (in query: select * from file_log order by k settings stream_like_engine_allow_direct_select=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception&>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity&>::type>, String const&, unsigned long&, std::fpos<__mbstate_t>&) @ 0x000000001daac888 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:429: DB::StorageFileLog::openFilesAndSetPos() @ 0x000000001daa19ce in /usr/bin/clickhouse 7. /build/src/Storages/FileLog/StorageFileLog.cpp:335: DB::StorageFileLog::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001da9e102 in /usr/bin/clickhouse 8. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:54.861906 [ 12043 ] {c337c1d5-951f-4e5e-a146-a048f6e4123f} TCPHandler: Code: 33. DB::Exception: Last saved offsset for File a.txt is bigger than file size (311 > 0). (CANNOT_READ_ALL_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception&>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity&>::type>, String const&, unsigned long&, std::fpos<__mbstate_t>&) @ 0x000000001daac888 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:429: DB::StorageFileLog::openFilesAndSetPos() @ 0x000000001daa19ce in /usr/bin/clickhouse 7. /build/src/Storages/FileLog/StorageFileLog.cpp:335: DB::StorageFileLog::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001da9e102 in /usr/bin/clickhouse 8. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:56.726478 [ 8850 ] {6dc4bcee-a848-4d14-8123-d43d41806d3a} executeQuery: Code: 44. DB::Exception: Columns UInt32 and DateTime64 cannot be compared. (ILLEGAL_COLUMN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53806) (comment: 02010_array_index_bad_cast.sql) (in query: -- This query throws exception about uncomparable data types (but at least it does not introduce bad cast in code). SELECT has(materialize(CAST(['2021-07-14'] AS Array(LowCardinality(Nullable(DateTime))))), materialize('2021-07-14'::DateTime64(7)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayIndex.h:124: void DB::Impl::Main::process<3ul, DB::IColumn, DB::IColumn>(DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul> const*, DB::PODArray, 63ul, 64ul> const*) @ 0x00000000128fb014 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayIndex.h:188: void DB::Impl::Main::vector(DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul> const*, DB::PODArray, 63ul, 64ul> const*) @ 0x0000000012895106 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayIndex.h:857: DB::FunctionArrayIndex::dispatchConvertedLowCardinalityColumns(DB::FunctionArrayIndex::ExecutionData&) @ 0x000000001338484a in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayIndex.h:813: DB::FunctionArrayIndex::executeLowCardinality(std::vector> const&) @ 0x0000000013382d7c in /usr/bin/clickhouse 10. /build/src/Functions/array/arrayIndex.h:585: DB::FunctionArrayIndex::executeOnNonNullable(std::vector> const&, std::shared_ptr const&) const @ 0x0000000013381f9e in /usr/bin/clickhouse 11. /build/src/Functions/array/arrayIndex.h:516: DB::FunctionArrayIndex::executeArrayImpl(std::vector> const&, std::shared_ptr const&) const @ 0x0000000013381a41 in /usr/bin/clickhouse 12. /build/src/Functions/array/arrayIndex.h:0: DB::FunctionArrayIndex::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000013381360 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:17:56.727414 [ 8850 ] {6dc4bcee-a848-4d14-8123-d43d41806d3a} TCPHandler: Code: 44. DB::Exception: Columns UInt32 and DateTime64 cannot be compared. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayIndex.h:124: void DB::Impl::Main::process<3ul, DB::IColumn, DB::IColumn>(DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul> const*, DB::PODArray, 63ul, 64ul> const*) @ 0x00000000128fb014 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayIndex.h:188: void DB::Impl::Main::vector(DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul> const*, DB::PODArray, 63ul, 64ul> const*) @ 0x0000000012895106 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayIndex.h:857: DB::FunctionArrayIndex::dispatchConvertedLowCardinalityColumns(DB::FunctionArrayIndex::ExecutionData&) @ 0x000000001338484a in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayIndex.h:813: DB::FunctionArrayIndex::executeLowCardinality(std::vector> const&) @ 0x0000000013382d7c in /usr/bin/clickhouse 10. /build/src/Functions/array/arrayIndex.h:585: DB::FunctionArrayIndex::executeOnNonNullable(std::vector> const&, std::shared_ptr const&) const @ 0x0000000013381f9e in /usr/bin/clickhouse 11. /build/src/Functions/array/arrayIndex.h:516: DB::FunctionArrayIndex::executeArrayImpl(std::vector> const&, std::shared_ptr const&) const @ 0x0000000013381a41 in /usr/bin/clickhouse 12. /build/src/Functions/array/arrayIndex.h:0: DB::FunctionArrayIndex::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000013381360 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:17:58.673696 [ 8850 ] {641f54a7-aeba-4fdc-ae98-1ed9794888bb} executeQuery: Code: 36. DB::Exception: Element of set in IN, VALUES, or LIMIT, or aggregate function parameter, or a table function argument is not a constant expression (result column not found): arrayJoin([0, 1]). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53832) (comment: 02009_array_join_partition.sql) (in query: ALTER TABLE table_2009_part ATTACH PARTITION tuple(arrayJoin([0, 1]));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Interpreters/evaluateConstantExpression.cpp:93: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08b874 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5575: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000001de93b1d in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4948: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&) const @ 0x000000001deab184 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:184: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6113 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:58.674712 [ 8850 ] {641f54a7-aeba-4fdc-ae98-1ed9794888bb} TCPHandler: Code: 36. DB::Exception: Element of set in IN, VALUES, or LIMIT, or aggregate function parameter, or a table function argument is not a constant expression (result column not found): arrayJoin([0, 1]). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Interpreters/evaluateConstantExpression.cpp:93: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08b874 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5575: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000001de93b1d in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4948: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&) const @ 0x000000001deab184 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:184: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6113 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:58.690210 [ 8850 ] {f40432fd-2002-42e4-a358-7cf300d42544} executeQuery: Code: 36. DB::Exception: Element of set in IN, VALUES, or LIMIT, or aggregate function parameter, or a table function argument is not a constant expression (result column not found): toYYYYMM(toDate(array(arrayJoin(array(arrayJoin(array(arrayJoin(array(arrayJoin(array(3, materialize(NULL), arrayJoin(array(1025, materialize(NULL), materialize(NULL))), NULL)))))), materialize(NULL)))), NULL)). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53832) (comment: 02009_array_join_partition.sql) (in query: ALTER TABLE table_2009_part ATTACH PARTITION tuple(toYYYYMM(toDate([arrayJoin([arrayJoin([arrayJoin([arrayJoin([3, materialize(NULL), arrayJoin([1025, materialize(NULL), materialize(NULL)]), NULL])])]), materialize(NULL)])], NULL)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Interpreters/evaluateConstantExpression.cpp:93: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08b874 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5575: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000001de93b1d in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4948: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&) const @ 0x000000001deab184 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:184: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6113 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:58.691058 [ 8850 ] {f40432fd-2002-42e4-a358-7cf300d42544} TCPHandler: Code: 36. DB::Exception: Element of set in IN, VALUES, or LIMIT, or aggregate function parameter, or a table function argument is not a constant expression (result column not found): toYYYYMM(toDate(array(arrayJoin(array(arrayJoin(array(arrayJoin(array(arrayJoin(array(3, materialize(NULL), arrayJoin(array(1025, materialize(NULL), materialize(NULL))), NULL)))))), materialize(NULL)))), NULL)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Interpreters/evaluateConstantExpression.cpp:93: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08b874 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5575: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000001de93b1d in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4948: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&) const @ 0x000000001deab184 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:184: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6113 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:58.918123 [ 12043 ] {a1d813f6-cd46-430a-bb3b-9d35f6ece035} executeQuery: Code: 36. DB::Exception: Cannot materialize column `x` because it doesn't have default expression. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53822) (comment: 02008_materialize_column.sql) (in query: ALTER TABLE tmp MATERIALIZE COLUMN x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:698: DB::MutationsInterpreter::prepare(bool) @ 0x000000001cc69c78 in /usr/bin/clickhouse 7. /build/src/Interpreters/MutationsInterpreter.cpp:365: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr, DB::MutationCommands, std::vector>, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc67441 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:320: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr, DB::MutationCommands, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc66c40 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d5ef2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:17:58.919359 [ 12043 ] {a1d813f6-cd46-430a-bb3b-9d35f6ece035} TCPHandler: Code: 36. DB::Exception: Cannot materialize column `x` because it doesn't have default expression. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:698: DB::MutationsInterpreter::prepare(bool) @ 0x000000001cc69c78 in /usr/bin/clickhouse 7. /build/src/Interpreters/MutationsInterpreter.cpp:365: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr, DB::MutationCommands, std::vector>, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc67441 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:320: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr, DB::MutationCommands, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc66c40 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d5ef2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:01.278498 [ 8850 ] {79d335d6-cfcc-4b8a-9723-2cbf6eead335} executeQuery: Code: 675. DB::Exception: Invalid IPv4 value: While processing CAST('hello', 'IPv4') AS v, toTypeName(v). (CANNOT_PARSE_IPV4) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53884) (comment: 02007_ipv4_and_ipv6_to_and_from_string.sql) (in query: SELECT CAST('hello' as IPv4) as v, toTypeName(v);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [19]) @ 0x000000000b21d75e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsCodingIP.h:279: COW::immutable_ptr DB::convertToIPv4<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector>(COW::immutable_ptr, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000b21ce73 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:4104: bool DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7a60f7 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(auto&&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7a5e66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(bool DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7a5e00 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7a5da0 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7a5d48 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 2024.09.24 01:18:01.279633 [ 8850 ] {79d335d6-cfcc-4b8a-9723-2cbf6eead335} TCPHandler: Code: 675. DB::Exception: Invalid IPv4 value: While processing CAST('hello', 'IPv4') AS v, toTypeName(v). (CANNOT_PARSE_IPV4), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [19]) @ 0x000000000b21d75e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsCodingIP.h:279: COW::immutable_ptr DB::convertToIPv4<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector>(COW::immutable_ptr, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000b21ce73 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:4104: bool DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7a60f7 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(auto&&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7a5e66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(bool DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7a5e00 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7a5da0 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7a5d48 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 2024.09.24 01:18:01.483405 [ 8850 ] {f20ee512-3d1e-44ac-80da-34a40320b10b} executeQuery: Code: 676. DB::Exception: Invalid IPv6 value: While processing CAST('hello', 'IPv6') AS v, toTypeName(v). (CANNOT_PARSE_IPV6) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53884) (comment: 02007_ipv4_and_ipv6_to_and_from_string.sql) (in query: SELECT CAST('hello' as IPv6) as v, toTypeName(v);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [19]) @ 0x000000000b21d75e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsCodingIP.h:198: COW::immutable_ptr DB::detail::convertToIPv6<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector, DB::ColumnString>(DB::ColumnString const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000b22079d in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsCodingIP.h:220: COW::immutable_ptr DB::convertToIPv6<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector>(COW::immutable_ptr, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000b21e177 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:4124: bool DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7a67f7 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(auto&&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7a6566 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(bool DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7a6500 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7a64a0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7a6448 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 2024.09.24 01:18:01.484564 [ 8850 ] {f20ee512-3d1e-44ac-80da-34a40320b10b} TCPHandler: Code: 676. DB::Exception: Invalid IPv6 value: While processing CAST('hello', 'IPv6') AS v, toTypeName(v). (CANNOT_PARSE_IPV6), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [19]) @ 0x000000000b21d75e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsCodingIP.h:198: COW::immutable_ptr DB::detail::convertToIPv6<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector, DB::ColumnString>(DB::ColumnString const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000b22079d in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsCodingIP.h:220: COW::immutable_ptr DB::convertToIPv6<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector>(COW::immutable_ptr, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000b21e177 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:4124: bool DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7a67f7 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(auto&&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7a6566 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(bool DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7a6500 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7a64a0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7a6448 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 2024.09.24 01:18:02.335004 [ 8852 ] {16c75ddc21ab4166acc93b72288872b0} executeQuery: Code: 117. DB::Exception: Index for LowCardinality is out of range. Dictionary size is 1, but found index with value 72057594037927936. (INCORRECT_DATA) (version 23.8.16.41.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:39344) (in query: insert into test_hxbq8o00.tab settings input_format_defaults_for_omitted_fields=0 format TSV), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x000000000c4b28cc in /usr/bin/clickhouse 6. /build/src/Columns/ColumnLowCardinality.cpp:229: auto DB::checkPositionsAreLimited(DB::IColumn const&, unsigned long)::$_0::operator()(unsigned long) const @ 0x000000001d336e79 in /usr/bin/clickhouse 7. /build/src/Columns/ColumnLowCardinality.cpp:236: DB::checkPositionsAreLimited(DB::IColumn const&, unsigned long) @ 0x000000001d329b09 in /usr/bin/clickhouse 8. /build/src/Columns/ColumnLowCardinality.cpp:246: DB::ColumnLowCardinality::insertRangeFromDictionaryEncodedColumn(DB::IColumn const&, DB::IColumn const&) @ 0x000000001d329980 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:594: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const::$_2::operator()(unsigned long) const @ 0x000000001ba55f15 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:667: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x000000001ba557d9 in /usr/bin/clickhouse 11. /build/src/Formats/NativeReader.cpp:97: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000001e6905d4 in /usr/bin/clickhouse 12. /build/src/Formats/NativeReader.cpp:206: DB::NativeReader::read() @ 0x000000001e69146a in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:1777: DB::TCPHandler::receiveData(bool) @ 0x000000001e653c69 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:1453: DB::TCPHandler::receivePacket() @ 0x000000001e64aca9 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:774: DB::TCPHandler::readDataNext() @ 0x000000001e64cb61 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:861: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d3ff in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:02.335972 [ 8852 ] {16c75ddc21ab4166acc93b72288872b0} TCPHandler: Code: 117. DB::Exception: Index for LowCardinality is out of range. Dictionary size is 1, but found index with value 72057594037927936. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x000000000c4b28cc in /usr/bin/clickhouse 6. /build/src/Columns/ColumnLowCardinality.cpp:229: auto DB::checkPositionsAreLimited(DB::IColumn const&, unsigned long)::$_0::operator()(unsigned long) const @ 0x000000001d336e79 in /usr/bin/clickhouse 7. /build/src/Columns/ColumnLowCardinality.cpp:236: DB::checkPositionsAreLimited(DB::IColumn const&, unsigned long) @ 0x000000001d329b09 in /usr/bin/clickhouse 8. /build/src/Columns/ColumnLowCardinality.cpp:246: DB::ColumnLowCardinality::insertRangeFromDictionaryEncodedColumn(DB::IColumn const&, DB::IColumn const&) @ 0x000000001d329980 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:594: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const::$_2::operator()(unsigned long) const @ 0x000000001ba55f15 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:667: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x000000001ba557d9 in /usr/bin/clickhouse 11. /build/src/Formats/NativeReader.cpp:97: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000001e6905d4 in /usr/bin/clickhouse 12. /build/src/Formats/NativeReader.cpp:206: DB::NativeReader::read() @ 0x000000001e69146a in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:1777: DB::TCPHandler::receiveData(bool) @ 0x000000001e653c69 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:1453: DB::TCPHandler::receivePacket() @ 0x000000001e64aca9 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:774: DB::TCPHandler::readDataNext() @ 0x000000001e64cb61 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:861: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d3ff in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:02.518377 [ 6138 ] {4769e4a32d2e42cba28d14f63dd6b330} executeQuery: Code: 117. DB::Exception: LowCardinality indexes serialization type for Native format cannot use global dictionary. (INCORRECT_DATA) (version 23.8.16.41.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:39348) (in query: insert into test_hxbq8o00.tab settings input_format_defaults_for_omitted_fields=0 format TSV), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [89]) @ 0x000000001b0c673e in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:152: DB::IndexesSerializationType::deserialize(DB::ReadBuffer&, DB::ISerialization::DeserializeBinaryBulkSettings const&) @ 0x000000001ba5a7f5 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:648: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x000000001ba55679 in /usr/bin/clickhouse 8. /build/src/Formats/NativeReader.cpp:97: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000001e6905d4 in /usr/bin/clickhouse 9. /build/src/Formats/NativeReader.cpp:206: DB::NativeReader::read() @ 0x000000001e69146a in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:1777: DB::TCPHandler::receiveData(bool) @ 0x000000001e653c69 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:1453: DB::TCPHandler::receivePacket() @ 0x000000001e64aca9 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:774: DB::TCPHandler::readDataNext() @ 0x000000001e64cb61 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:861: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d3ff in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:02.519336 [ 6138 ] {4769e4a32d2e42cba28d14f63dd6b330} TCPHandler: Code: 117. DB::Exception: LowCardinality indexes serialization type for Native format cannot use global dictionary. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [89]) @ 0x000000001b0c673e in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:152: DB::IndexesSerializationType::deserialize(DB::ReadBuffer&, DB::ISerialization::DeserializeBinaryBulkSettings const&) @ 0x000000001ba5a7f5 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:648: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x000000001ba55679 in /usr/bin/clickhouse 8. /build/src/Formats/NativeReader.cpp:97: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000001e6905d4 in /usr/bin/clickhouse 9. /build/src/Formats/NativeReader.cpp:206: DB::NativeReader::read() @ 0x000000001e69146a in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:1777: DB::TCPHandler::receiveData(bool) @ 0x000000001e653c69 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:1453: DB::TCPHandler::receivePacket() @ 0x000000001e64aca9 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:774: DB::TCPHandler::readDataNext() @ 0x000000001e64cb61 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:861: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d3ff in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:02.625942 [ 6138 ] {7d788f21-6b5b-435b-85cc-78dc6226d65e} executeQuery: Code: 62. DB::Exception: Empty query. (SYNTAX_ERROR) (version 23.8.16.41.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:39348) (in query: ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b200fea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b200f95 in /usr/bin/clickhouse 6. /build/src/Parsers/parseQuery.cpp:363: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long) @ 0x000000001f47e707 in /usr/bin/clickhouse 7. /build/src/Parsers/parseQuery.cpp:375: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long) @ 0x000000001f47e7e6 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:714: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0ad368 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:02.770281 [ 12007 ] {958e6b4623e5406e84932d8ac54ed916} executeQuery: Code: 117. DB::Exception: No additional keys found. (INCORRECT_DATA) (version 23.8.16.41.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:39360) (in query: insert into test_hxbq8o00.tab settings input_format_defaults_for_omitted_fields=0 format TSV), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [26]) @ 0x000000000b5e1e5e in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:589: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const::$_2::operator()(unsigned long) const @ 0x000000001ba55d91 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:667: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x000000001ba557d9 in /usr/bin/clickhouse 8. /build/src/Formats/NativeReader.cpp:97: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000001e6905d4 in /usr/bin/clickhouse 9. /build/src/Formats/NativeReader.cpp:206: DB::NativeReader::read() @ 0x000000001e69146a in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:1777: DB::TCPHandler::receiveData(bool) @ 0x000000001e653c69 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:1453: DB::TCPHandler::receivePacket() @ 0x000000001e64aca9 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:774: DB::TCPHandler::readDataNext() @ 0x000000001e64cb61 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:861: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d3ff in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:02.770375 [ 6138 ] {7d788f21-6b5b-435b-85cc-78dc6226d65e} TCPHandler: Code: 62. DB::Exception: Empty query. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b200fea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b200f95 in /usr/bin/clickhouse 6. /build/src/Parsers/parseQuery.cpp:363: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long) @ 0x000000001f47e707 in /usr/bin/clickhouse 7. /build/src/Parsers/parseQuery.cpp:375: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long) @ 0x000000001f47e7e6 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:714: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0ad368 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:02.771207 [ 6138 ] {7d788f21-6b5b-435b-85cc-78dc6226d65e} TCPHandler: Can't skip data packets after query failure. 2024.09.24 01:18:02.771253 [ 12007 ] {958e6b4623e5406e84932d8ac54ed916} TCPHandler: Code: 117. DB::Exception: No additional keys found. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [26]) @ 0x000000000b5e1e5e in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:589: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const::$_2::operator()(unsigned long) const @ 0x000000001ba55d91 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:667: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x000000001ba557d9 in /usr/bin/clickhouse 8. /build/src/Formats/NativeReader.cpp:97: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000001e6905d4 in /usr/bin/clickhouse 9. /build/src/Formats/NativeReader.cpp:206: DB::NativeReader::read() @ 0x000000001e69146a in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:1777: DB::TCPHandler::receiveData(bool) @ 0x000000001e653c69 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:1453: DB::TCPHandler::receivePacket() @ 0x000000001e64aca9 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:774: DB::TCPHandler::readDataNext() @ 0x000000001e64cb61 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:861: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d3ff in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:02.852445 [ 12007 ] {} TCPHandler: Code: 101. DB::NetException: Unexpected packet Hello received from client. (UNEXPECTED_PACKET_FROM_CLIENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:14: DB::NetException::NetException(int, char const (&) [45]) @ 0x000000001e65acbe in /usr/bin/clickhouse 6. /build/src/Server/TCPHandler.cpp:1388: DB::TCPHandler::receiveUnexpectedHello() @ 0x000000001e650ec5 in /usr/bin/clickhouse 7. /build/src/Server/TCPHandler.cpp:0: DB::TCPHandler::receivePacket() @ 0x000000001e64ad5e in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:348: DB::TCPHandler::runImpl() @ 0x000000001e642e21 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:04.447919 [ 1125 ] {111e5706-1970-4635-bf38-f81f5d150f9a} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39122) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:04.468773 [ 1125 ] {111e5706-1970-4635-bf38-f81f5d150f9a} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:05.122098 [ 6138 ] {dcbd8755-4970-4af8-9188-83140549ffc8} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 96.65 MiB (attempt to allocate chunk of 1050768 bytes), maximum: 95.37 MiB.: while executing 'FUNCTION rand() -> rand() UInt32 : 1'. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39108) (comment: 01961_roaring_memory_tracking.sql) (in query: SELECT cityHash64(rand() % 1000) as n, groupBitmapState(number) FROM numbers_mt(200000000) GROUP BY n FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<4ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b19c8c5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<4ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b19c699 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<4ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b199e86 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsRandom.h:84: DB::FunctionRandomImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000123f556e in /usr/bin/clickhouse 15. /build/src/Functions/PerformanceAdaptors.h:221: DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bcadc3a in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsRandom.h:108: DB::FunctionRandom::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000123f38fc in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 24. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 25. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 2024.09.24 01:18:06.030063 [ 6138 ] {dcbd8755-4970-4af8-9188-83140549ffc8} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 96.65 MiB (attempt to allocate chunk of 1050768 bytes), maximum: 95.37 MiB.: while executing 'FUNCTION rand() -> rand() UInt32 : 1'. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<4ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b19c8c5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<4ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b19c699 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<4ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b199e86 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsRandom.h:84: DB::FunctionRandomImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000123f556e in /usr/bin/clickhouse 15. /build/src/Functions/PerformanceAdaptors.h:221: DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bcadc3a in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsRandom.h:108: DB::FunctionRandom::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000123f38fc in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 24. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 25. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 2024.09.24 01:18:10.693343 [ 8835 ] {56b1c117-aa89-4981-9daa-376ae0233d3b} executeQuery: Code: 42. DB::Exception: Number of arguments for function dateTimeToSnowflake doesn't match: passed 0, should be 1: While processing dateTimeToSnowflake(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39246) (comment: 01942_dateTimeToSnowflake.sql) (in query: -- Error cases SELECT dateTimeToSnowflake();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:18:10.694486 [ 8835 ] {56b1c117-aa89-4981-9daa-376ae0233d3b} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dateTimeToSnowflake doesn't match: passed 0, should be 1: While processing dateTimeToSnowflake(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:18:10.703791 [ 8835 ] {32135522-ae62-4ec9-9a9b-681180dacf5c} executeQuery: Code: 42. DB::Exception: Number of arguments for function dateTime64ToSnowflake doesn't match: passed 0, should be 1: While processing dateTime64ToSnowflake(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39246) (comment: 01942_dateTimeToSnowflake.sql) (in query: SELECT dateTime64ToSnowflake();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:18:10.705067 [ 8835 ] {32135522-ae62-4ec9-9a9b-681180dacf5c} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dateTime64ToSnowflake doesn't match: passed 0, should be 1: While processing dateTime64ToSnowflake(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:18:10.888602 [ 8835 ] {e1228f24-4a26-465c-b0c0-071ace4247a7} executeQuery: Code: 43. DB::Exception: The only argument for function dateTimeToSnowflake must be DateTime: While processing dateTimeToSnowflake('abc'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39246) (comment: 01942_dateTimeToSnowflake.sql) (in query: SELECT dateTimeToSnowflake('abc');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b24a833 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionSnowflake.h:50: DB::FunctionDateTimeToSnowflake::getReturnTypeImpl(std::vector> const&) const @ 0x00000000125479b7 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:18:10.889890 [ 8835 ] {e1228f24-4a26-465c-b0c0-071ace4247a7} TCPHandler: Code: 43. DB::Exception: The only argument for function dateTimeToSnowflake must be DateTime: While processing dateTimeToSnowflake('abc'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b24a833 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionSnowflake.h:50: DB::FunctionDateTimeToSnowflake::getReturnTypeImpl(std::vector> const&) const @ 0x00000000125479b7 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:18:11.068297 [ 8835 ] {500e75b7-9c2c-48bb-80b0-b29460748ea4} executeQuery: Code: 43. DB::Exception: The only argument for function dateTime64ToSnowflake must be DateTime64: While processing dateTime64ToSnowflake('abc'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39246) (comment: 01942_dateTimeToSnowflake.sql) (in query: SELECT dateTime64ToSnowflake('abc');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b24a833 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionSnowflake.h:151: DB::FunctionDateTime64ToSnowflake::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012548857 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:18:11.069581 [ 8835 ] {500e75b7-9c2c-48bb-80b0-b29460748ea4} TCPHandler: Code: 43. DB::Exception: The only argument for function dateTime64ToSnowflake must be DateTime64: While processing dateTime64ToSnowflake('abc'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b24a833 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionSnowflake.h:151: DB::FunctionDateTime64ToSnowflake::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012548857 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:18:11.081188 [ 8835 ] {22643455-99bf-40bd-9070-6aafc9afc025} executeQuery: Code: 42. DB::Exception: Number of arguments for function dateTimeToSnowflake doesn't match: passed 2, should be 1: While processing dateTimeToSnowflake('abc', 123). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39246) (comment: 01942_dateTimeToSnowflake.sql) (in query: SELECT dateTimeToSnowflake('abc', 123);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:18:11.082440 [ 8835 ] {22643455-99bf-40bd-9070-6aafc9afc025} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dateTimeToSnowflake doesn't match: passed 2, should be 1: While processing dateTimeToSnowflake('abc', 123). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:18:11.092013 [ 8835 ] {327c7cdd-1a36-40b0-9626-8a3110039a09} executeQuery: Code: 42. DB::Exception: Number of arguments for function dateTime64ToSnowflake doesn't match: passed 2, should be 1: While processing dateTime64ToSnowflake('abc', 123). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39246) (comment: 01942_dateTimeToSnowflake.sql) (in query: SELECT dateTime64ToSnowflake('abc', 123);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:18:11.093163 [ 8835 ] {327c7cdd-1a36-40b0-9626-8a3110039a09} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dateTime64ToSnowflake doesn't match: passed 2, should be 1: While processing dateTime64ToSnowflake('abc', 123). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:18:14.183386 [ 1125 ] {test_01948_tcp_test_itqyaunp} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39208) (comment: 01950_kill_large_group_by_query.sh) (in query: SELECT * FROM ( SELECT a.name as n FROM ( SELECT 'Name' as name, number FROM system.numbers LIMIT 2000000 ) AS a, ( SELECT 'Name' as name2, number FROM system.numbers LIMIT 2000000 ) as b GROUP BY n ) LIMIT 20 FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f983e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x000000001ccaa25b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6d0a80 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6d115c in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d09f6 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 15. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a610e2 in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:14.199523 [ 1125 ] {test_01948_tcp_test_itqyaunp} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f983e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x000000001ccaa25b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6d0a80 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6d115c in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d09f6 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 15. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a610e2 in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:16.926963 [ 12007 ] {test_01948_http_test_itqyaunp} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.16.41.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:40714) (comment: 01950_kill_large_group_by_query.sh) (in query: SELECT * FROM ( SELECT a.name as n FROM ( SELECT 'Name' as name, number FROM system.numbers LIMIT 2000000 ) AS a, ( SELECT 'Name' as name2, number FROM system.numbers LIMIT 2000000 ) as b GROUP BY n ) LIMIT 20 FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f983e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x000000001ccaa25b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6d0a80 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6d115c in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d09f6 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ce1c8 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b3ee0 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:16.940101 [ 12007 ] {test_01948_http_test_itqyaunp} DynamicQueryHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f983e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x000000001ccaa25b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6d0a80 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6d115c in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d09f6 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ce1c8 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b3ee0 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:18:24.528523 [ 8853 ] {b9db8b8a-b7a6-4285-ac38-c078f838997c} executeQuery: Code: 42. DB::Exception: Function mapPopulateSeries accepts at least one map or two arrays arguments, and optional max key argument: While processing mapPopulateSeries(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39398) (comment: 01925_map_populate_series_on_map.sql) (in query: select mapPopulateSeries();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/array/mapPopulateSeries.cpp:92: DB::FunctionMapPopulateSeries::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000135b3dce in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:18:24.529489 [ 8853 ] {b9db8b8a-b7a6-4285-ac38-c078f838997c} TCPHandler: Code: 42. DB::Exception: Function mapPopulateSeries accepts at least one map or two arrays arguments, and optional max key argument: While processing mapPopulateSeries(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/array/mapPopulateSeries.cpp:92: DB::FunctionMapPopulateSeries::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000135b3dce in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:18:24.682367 [ 8853 ] {7f638973-846b-4435-8455-59f8495ba217} executeQuery: Code: 43. DB::Exception: Function mapPopulateSeries only accepts one map or arrays, but got String: While processing mapPopulateSeries('asdf'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39398) (comment: 01925_map_populate_series_on_map.sql) (in query: select mapPopulateSeries('asdf');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/array/mapPopulateSeries.cpp:132: DB::FunctionMapPopulateSeries::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000135b42c6 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:18:24.683255 [ 8853 ] {7f638973-846b-4435-8455-59f8495ba217} TCPHandler: Code: 43. DB::Exception: Function mapPopulateSeries only accepts one map or arrays, but got String: While processing mapPopulateSeries('asdf'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/array/mapPopulateSeries.cpp:132: DB::FunctionMapPopulateSeries::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000135b42c6 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:18:24.859677 [ 8853 ] {05f3b267-e329-48b3-899e-42770040a1d7} executeQuery: Code: 43. DB::Exception: Function mapPopulateSeries key argument should be of signed or unsigned integer type. Actual type String: While processing mapPopulateSeries(map('1', 1, '2', 1)) AS res, toTypeName(res). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39398) (comment: 01925_map_populate_series_on_map.sql) (in query: select mapPopulateSeries(map('1', 1, '2', 1)) as res, toTypeName(res);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/array/mapPopulateSeries.cpp:52: DB::FunctionMapPopulateSeries::checkTypes(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001382dd34 in /usr/bin/clickhouse 7. /build/src/Functions/array/mapPopulateSeries.cpp:142: DB::FunctionMapPopulateSeries::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000135b43d8 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 2024.09.24 01:18:24.861171 [ 8853 ] {05f3b267-e329-48b3-899e-42770040a1d7} TCPHandler: Code: 43. DB::Exception: Function mapPopulateSeries key argument should be of signed or unsigned integer type. Actual type String: While processing mapPopulateSeries(map('1', 1, '2', 1)) AS res, toTypeName(res). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/array/mapPopulateSeries.cpp:52: DB::FunctionMapPopulateSeries::checkTypes(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001382dd34 in /usr/bin/clickhouse 7. /build/src/Functions/array/mapPopulateSeries.cpp:142: DB::FunctionMapPopulateSeries::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000135b43d8 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 2024.09.24 01:18:26.535064 [ 12003 ] {81496410-6cad-47b0-a542-d42785ed5938} executeQuery: Code: 6. DB::Exception: Cannot parse string '0.Aa234' as Float64: syntax error at position 2 (parsed just '0.'). Note: there are toFloat64OrZero and toFloat64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION toFloat64(a :: 0) -> toFloat64(a) Float64 : 2': while pushing to view test_id01qo4f.matview_exception_a_to_b (fe58ff1e-69a5-409d-8167-1780c9cd1207). (CANNOT_PARSE_TEXT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39430) (comment: 01927_query_views_log_matview_exceptions.sh) (in query: INSERT INTO table_exception_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b217fb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToFloat64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b4bebf7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b4b9a18 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b4a8919 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b4a7c48 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b4a6e5e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 20. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f6dbe in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:634: DB::ExecutingInnerQueryFromViewTransform::onGenerate() @ 0x000000001ece50e3 in /usr/bin/clickhouse 27. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:164: DB::ExceptionKeepingTransform::work()::$_2::operator()() const @ 0x000000001ebc97e1 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_2&) @ 0x000000001ebc97b5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_2&) @ 0x000000001ebc9795 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc9775 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc973d in /usr/bin/clickhouse 2024.09.24 01:18:26.546593 [ 12003 ] {81496410-6cad-47b0-a542-d42785ed5938} TCPHandler: Code: 6. DB::Exception: Cannot parse string '0.Aa234' as Float64: syntax error at position 2 (parsed just '0.'). Note: there are toFloat64OrZero and toFloat64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION toFloat64(a :: 0) -> toFloat64(a) Float64 : 2': while pushing to view test_id01qo4f.matview_exception_a_to_b (fe58ff1e-69a5-409d-8167-1780c9cd1207). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b217fb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToFloat64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b4bebf7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b4b9a18 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b4a8919 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b4a7c48 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b4a6e5e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 20. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f6dbe in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:634: DB::ExecutingInnerQueryFromViewTransform::onGenerate() @ 0x000000001ece50e3 in /usr/bin/clickhouse 27. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:164: DB::ExceptionKeepingTransform::work()::$_2::operator()() const @ 0x000000001ebc97e1 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_2&) @ 0x000000001ebc97b5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_2&) @ 0x000000001ebc9795 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc9775 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc973d in /usr/bin/clickhouse 2024.09.24 01:18:27.757058 [ 12042 ] {d07f1cd7-0f41-462f-8cc9-f90edebafb19} executeQuery: Code: 43. DB::Exception: Illegal types String and IntervalDay of arguments of function plus: While processing InsertionDateTime + toIntervalDay(3). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39442) (comment: 01923_ttl_with_modify_column.sql) (in query: ALTER TABLE t_ttl_modify_column MODIFY COLUMN InsertionDateTime String;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBinaryArithmetic.h:1618: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000011c77909 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:2476: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001195b72f in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:376: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c0b85a9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1696: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x000000001bfb8f58 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1729: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x000000001bfb92c3 in /usr/bin/clickhouse 24. /build/src/Storages/TTLDescription.cpp:178: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000001da30b14 in /usr/bin/clickhouse 25. /build/src/Storages/TTLDescription.cpp:341: DB::TTLTableDescription::getTTLForTableFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000001da32cac in /usr/bin/clickhouse 26. /build/src/Storages/AlterCommands.cpp:1012: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001d58d45a in /usr/bin/clickhouse 27. /build/src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8f06c in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 2024.09.24 01:18:27.757789 [ 12042 ] {d07f1cd7-0f41-462f-8cc9-f90edebafb19} TCPHandler: Code: 43. DB::Exception: Illegal types String and IntervalDay of arguments of function plus: While processing InsertionDateTime + toIntervalDay(3). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBinaryArithmetic.h:1618: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000011c77909 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:2476: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001195b72f in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:376: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c0b85a9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1696: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x000000001bfb8f58 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1729: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x000000001bfb92c3 in /usr/bin/clickhouse 24. /build/src/Storages/TTLDescription.cpp:178: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000001da30b14 in /usr/bin/clickhouse 25. /build/src/Storages/TTLDescription.cpp:341: DB::TTLTableDescription::getTTLForTableFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000001da32cac in /usr/bin/clickhouse 26. /build/src/Storages/AlterCommands.cpp:1012: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001d58d45a in /usr/bin/clickhouse 27. /build/src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8f06c in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 2024.09.24 01:18:28.365060 [ 8852 ] {e7aaa3dc-402b-4761-89a2-2ba3ec6fdbe1} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for function toHour: while executing 'FUNCTION toHour(x1 :: 0) -> toHour(x1) UInt8 : 1'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39484) (comment: 01921_datatype_date32.sql) (in query: select toHour(x1) from t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8f10d3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x000000000b8f0e63 in /usr/bin/clickhouse 7. ? @ 0x000000000d9f855b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1601: void DB::Transformer, DB::ToHourImpl, false, void*>::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToHourImpl const&, DB::PODArray, 63ul, 64ul>*) @ 0x000000001264c4c4 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1642: COW::immutable_ptr DB::DateTimeTransformImpl, DB::ToHourImpl, false>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToHourImpl const&) @ 0x000000001264b94f in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:71: DB::FunctionDateOrDateTimeToSomething, DB::ToHourImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001264a5ae in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 2024.09.24 01:18:28.365843 [ 8852 ] {e7aaa3dc-402b-4761-89a2-2ba3ec6fdbe1} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for function toHour: while executing 'FUNCTION toHour(x1 :: 0) -> toHour(x1) UInt8 : 1'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8f10d3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x000000000b8f0e63 in /usr/bin/clickhouse 7. ? @ 0x000000000d9f855b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1601: void DB::Transformer, DB::ToHourImpl, false, void*>::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToHourImpl const&, DB::PODArray, 63ul, 64ul>*) @ 0x000000001264c4c4 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1642: COW::immutable_ptr DB::DateTimeTransformImpl, DB::ToHourImpl, false>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToHourImpl const&) @ 0x000000001264b94f in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:71: DB::FunctionDateOrDateTimeToSomething, DB::ToHourImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001264a5ae in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 2024.09.24 01:18:28.552310 [ 8852 ] {072b3478-5322-4a43-91cd-f4dba920726d} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for function toMinute: while executing 'FUNCTION toMinute(x1 :: 0) -> toMinute(x1) UInt8 : 1'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39484) (comment: 01921_datatype_date32.sql) (in query: select toMinute(x1) from t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8f10d3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x000000000b8f0e63 in /usr/bin/clickhouse 7. ? @ 0x000000000d9f857b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1601: void DB::Transformer, DB::ToMinuteImpl, false, void*>::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToMinuteImpl const&, DB::PODArray, 63ul, 64ul>*) @ 0x000000001265d4a4 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1642: COW::immutable_ptr DB::DateTimeTransformImpl, DB::ToMinuteImpl, false>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToMinuteImpl const&) @ 0x000000001265c92f in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:71: DB::FunctionDateOrDateTimeToSomething, DB::ToMinuteImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001265b5ce in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 2024.09.24 01:18:28.553386 [ 8852 ] {072b3478-5322-4a43-91cd-f4dba920726d} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for function toMinute: while executing 'FUNCTION toMinute(x1 :: 0) -> toMinute(x1) UInt8 : 1'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8f10d3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x000000000b8f0e63 in /usr/bin/clickhouse 7. ? @ 0x000000000d9f857b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1601: void DB::Transformer, DB::ToMinuteImpl, false, void*>::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToMinuteImpl const&, DB::PODArray, 63ul, 64ul>*) @ 0x000000001265d4a4 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1642: COW::immutable_ptr DB::DateTimeTransformImpl, DB::ToMinuteImpl, false>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToMinuteImpl const&) @ 0x000000001265c92f in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:71: DB::FunctionDateOrDateTimeToSomething, DB::ToMinuteImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001265b5ce in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 2024.09.24 01:18:28.727365 [ 8852 ] {1f4de114-90b1-4ef2-9b0c-01f2a00e363f} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for function toSecond: while executing 'FUNCTION toSecond(x1 :: 0) -> toSecond(x1) UInt8 : 1'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39484) (comment: 01921_datatype_date32.sql) (in query: select toSecond(x1) from t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8f10d3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x000000000b8f0e63 in /usr/bin/clickhouse 7. ? @ 0x000000000d9f859b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1601: void DB::Transformer, DB::ToSecondImpl, false, void*>::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToSecondImpl const&, DB::PODArray, 63ul, 64ul>*) @ 0x000000001268c3a4 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1642: COW::immutable_ptr DB::DateTimeTransformImpl, DB::ToSecondImpl, false>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToSecondImpl const&) @ 0x000000001268b82f in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:71: DB::FunctionDateOrDateTimeToSomething, DB::ToSecondImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001268a4ce in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 2024.09.24 01:18:28.728562 [ 8852 ] {1f4de114-90b1-4ef2-9b0c-01f2a00e363f} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for function toSecond: while executing 'FUNCTION toSecond(x1 :: 0) -> toSecond(x1) UInt8 : 1'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8f10d3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x000000000b8f0e63 in /usr/bin/clickhouse 7. ? @ 0x000000000d9f859b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1601: void DB::Transformer, DB::ToSecondImpl, false, void*>::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToSecondImpl const&, DB::PODArray, 63ul, 64ul>*) @ 0x000000001268c3a4 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1642: COW::immutable_ptr DB::DateTimeTransformImpl, DB::ToSecondImpl, false>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToSecondImpl const&) @ 0x000000001268b82f in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:71: DB::FunctionDateOrDateTimeToSomething, DB::ToSecondImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001268a4ce in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 2024.09.24 01:18:29.456639 [ 8852 ] {870fbf29-78fd-41ec-bf2c-a17f7d10eaae} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfSecond: while executing 'FUNCTION toStartOfSecond(x1 :: 0) -> toStartOfSecond(x1) DateTime64(3) : 1'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39484) (comment: 01921_datatype_date32.sql) (in query: select toStartOfSecond(x1) from t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8f10d3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x000000000b8f0e63 in /usr/bin/clickhouse 7. ? @ 0x00000000126bb07b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1601: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfSecondImpl const&, DB::PODArray, 63ul, 64ul>*) @ 0x00000000126bb004 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1633: COW::immutable_ptr DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfSecondImpl const&) @ 0x00000000126ba364 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:71: DB::FunctionDateOrDateTimeToSomething::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000126b974e in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 2024.09.24 01:18:29.457459 [ 8852 ] {870fbf29-78fd-41ec-bf2c-a17f7d10eaae} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfSecond: while executing 'FUNCTION toStartOfSecond(x1 :: 0) -> toStartOfSecond(x1) DateTime64(3) : 1'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8f10d3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x000000000b8f0e63 in /usr/bin/clickhouse 7. ? @ 0x00000000126bb07b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1601: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfSecondImpl const&, DB::PODArray, 63ul, 64ul>*) @ 0x00000000126bb004 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1633: COW::immutable_ptr DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfSecondImpl const&) @ 0x00000000126ba364 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:71: DB::FunctionDateOrDateTimeToSomething::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000126b974e in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 2024.09.24 01:18:29.670209 [ 8852 ] {d57e3b2c-4cb3-4496-8934-075fc9d3a293} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfMinute: while executing 'FUNCTION toStartOfMinute(x1 :: 0) -> toStartOfMinute(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39484) (comment: 01921_datatype_date32.sql) (in query: select toStartOfMinute(x1) from t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8f10d3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x000000000b8f0e63 in /usr/bin/clickhouse 7. ? @ 0x000000001268c5fb in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1601: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfMinuteImpl const&, DB::PODArray, 63ul, 64ul>*) @ 0x00000000126afe44 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1633: COW::immutable_ptr DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfMinuteImpl const&) @ 0x00000000126aed8d in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:71: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000126adba3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 2024.09.24 01:18:29.671854 [ 8852 ] {d57e3b2c-4cb3-4496-8934-075fc9d3a293} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfMinute: while executing 'FUNCTION toStartOfMinute(x1 :: 0) -> toStartOfMinute(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8f10d3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x000000000b8f0e63 in /usr/bin/clickhouse 7. ? @ 0x000000001268c5fb in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1601: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfMinuteImpl const&, DB::PODArray, 63ul, 64ul>*) @ 0x00000000126afe44 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1633: COW::immutable_ptr DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfMinuteImpl const&) @ 0x00000000126aed8d in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:71: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000126adba3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 2024.09.24 01:18:29.886165 [ 8852 ] {fc9e6fc9-f574-4136-b10c-cf98183c3d0a} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfFiveMinutes: while executing 'FUNCTION toStartOfFiveMinutes(x1 :: 0) -> toStartOfFiveMinutes(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39484) (comment: 01921_datatype_date32.sql) (in query: select toStartOfFiveMinutes(x1) from t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8f10d3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x000000000b8f0e63 in /usr/bin/clickhouse 7. ? @ 0x000000001269875b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1601: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfFiveMinutesImpl const&, DB::PODArray, 63ul, 64ul>*) @ 0x0000000012698704 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1633: COW::immutable_ptr DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfFiveMinutesImpl const&) @ 0x00000000126975ed in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:71: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012696403 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 2024.09.24 01:18:30.079881 [ 8852 ] {fc9e6fc9-f574-4136-b10c-cf98183c3d0a} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfFiveMinutes: while executing 'FUNCTION toStartOfFiveMinutes(x1 :: 0) -> toStartOfFiveMinutes(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8f10d3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x000000000b8f0e63 in /usr/bin/clickhouse 7. ? @ 0x000000001269875b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1601: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfFiveMinutesImpl const&, DB::PODArray, 63ul, 64ul>*) @ 0x0000000012698704 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1633: COW::immutable_ptr DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfFiveMinutesImpl const&) @ 0x00000000126975ed in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:71: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012696403 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 2024.09.24 01:18:30.079921 [ 8850 ] {f19545fe-0d85-418c-9fa9-700350d579c1} executeQuery: Code: 59. DB::Exception: Illegal type Float32 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39520) (comment: 01917_prewhere_column_type.sql) (in query: SELECT s FROM t1 PREWHERE f;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x000000001d5786a6 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:70: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x000000001e145c25 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1385: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x000000001e14288f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1072: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e1407f8 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:973: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e13f4f1 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000001e12d1ef in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000001e12d9f1 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000001e12bcd9 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:226: DB::MergeTreeSource::tryGenerate() @ 0x000000001ef0dd0a in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 2024.09.24 01:18:30.249681 [ 6138 ] {c6c3207c-6144-4a2e-a8cc-53c947114007} executeQuery: Code: 182. DB::Exception: Storage Merge doesn't support PREWHERE for _table. (ILLEGAL_PREWHERE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39534) (comment: 01915_merge_prewhere_virtual_column_rand_chao_wang.sql) (in query: -- In version 20.12 this query sometimes produces an exception "Cannot find column" SELECT f2 FROM merge(currentDatabase(), '^abc$') PREWHERE _table = 'abc' AND f1 = 'a' AND rand() % 100 < 20;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f7bec in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:2231: DB::InterpreterSelectQuery::addPrewhereAliasActions() @ 0x000000001cab2b71 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:853: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caac859 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:30.250311 [ 8850 ] {f19545fe-0d85-418c-9fa9-700350d579c1} TCPHandler: Code: 59. DB::Exception: Illegal type Float32 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x000000001d5786a6 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:70: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x000000001e145c25 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1385: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x000000001e14288f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1072: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e1407f8 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:973: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e13f4f1 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000001e12d1ef in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000001e12d9f1 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000001e12bcd9 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:226: DB::MergeTreeSource::tryGenerate() @ 0x000000001ef0dd0a in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 2024.09.24 01:18:30.410522 [ 8852 ] {0cf4d2fe-56bc-4d43-9cd5-cda3e175397b} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfTenMinutes: while executing 'FUNCTION toStartOfTenMinutes(x1 :: 0) -> toStartOfTenMinutes(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39484) (comment: 01921_datatype_date32.sql) (in query: select toStartOfTenMinutes(x1) from t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8f10d3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x000000000b8f0e63 in /usr/bin/clickhouse 7. ? @ 0x00000000126c8cbb in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1601: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfTenMinutesImpl const&, DB::PODArray, 63ul, 64ul>*) @ 0x00000000126c8c64 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1633: COW::immutable_ptr DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfTenMinutesImpl const&) @ 0x00000000126c7b4d in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:71: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000126c6963 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 2024.09.24 01:18:30.410711 [ 6138 ] {c6c3207c-6144-4a2e-a8cc-53c947114007} TCPHandler: Code: 182. DB::Exception: Storage Merge doesn't support PREWHERE for _table. (ILLEGAL_PREWHERE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f7bec in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:2231: DB::InterpreterSelectQuery::addPrewhereAliasActions() @ 0x000000001cab2b71 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:853: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caac859 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:30.411480 [ 8852 ] {0cf4d2fe-56bc-4d43-9cd5-cda3e175397b} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfTenMinutes: while executing 'FUNCTION toStartOfTenMinutes(x1 :: 0) -> toStartOfTenMinutes(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8f10d3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x000000000b8f0e63 in /usr/bin/clickhouse 7. ? @ 0x00000000126c8cbb in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1601: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfTenMinutesImpl const&, DB::PODArray, 63ul, 64ul>*) @ 0x00000000126c8c64 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1633: COW::immutable_ptr DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfTenMinutesImpl const&) @ 0x00000000126c7b4d in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:71: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000126c6963 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 2024.09.24 01:18:30.428281 [ 6138 ] {000a0628-3f8e-45ae-b880-e7d94f006295} executeQuery: Code: 182. DB::Exception: Storage Merge doesn't support PREWHERE for _table. (ILLEGAL_PREWHERE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39534) (comment: 01915_merge_prewhere_virtual_column_rand_chao_wang.sql) (in query: SELECT f2 FROM merge(currentDatabase(), '^abc$') PREWHERE _table = 'abc' AND f1 = 'a';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f7bec in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:2231: DB::InterpreterSelectQuery::addPrewhereAliasActions() @ 0x000000001cab2b71 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:853: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caac859 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:30.429008 [ 6138 ] {000a0628-3f8e-45ae-b880-e7d94f006295} TCPHandler: Code: 182. DB::Exception: Storage Merge doesn't support PREWHERE for _table. (ILLEGAL_PREWHERE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f7bec in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:2231: DB::InterpreterSelectQuery::addPrewhereAliasActions() @ 0x000000001cab2b71 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:853: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caac859 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:30.635831 [ 8850 ] {1068aeee-6f78-4fce-90e9-aafef6f2335c} executeQuery: Code: 59. DB::Exception: Illegal type Float32 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39520) (comment: 01917_prewhere_column_type.sql) (in query: SELECT s FROM t1 PREWHERE f WHERE (e = 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x000000001d5786a6 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:70: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x000000001e145c25 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1385: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x000000001e14288f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1072: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e1407f8 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:973: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e13f4f1 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000001e12d1ef in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000001e12d9f1 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000001e12bcd9 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:226: DB::MergeTreeSource::tryGenerate() @ 0x000000001ef0dd0a in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 2024.09.24 01:18:30.637689 [ 8850 ] {1068aeee-6f78-4fce-90e9-aafef6f2335c} TCPHandler: Code: 59. DB::Exception: Illegal type Float32 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x000000001d5786a6 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:70: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x000000001e145c25 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1385: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x000000001e14288f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1072: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e1407f8 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:973: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e13f4f1 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000001e12d1ef in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000001e12d9f1 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000001e12bcd9 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:226: DB::MergeTreeSource::tryGenerate() @ 0x000000001ef0dd0a in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 2024.09.24 01:18:30.659351 [ 8852 ] {cb8ea478-d909-44d4-b28d-a241ae743a31} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfFifteenMinutes: while executing 'FUNCTION toStartOfFifteenMinutes(x1 :: 0) -> toStartOfFifteenMinutes(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39484) (comment: 01921_datatype_date32.sql) (in query: select toStartOfFifteenMinutes(x1) from t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8f10d3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x000000000b8f0e63 in /usr/bin/clickhouse 7. ? @ 0x000000001269463b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1601: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfFifteenMinutesImpl const&, DB::PODArray, 63ul, 64ul>*) @ 0x00000000126945e4 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1633: COW::immutable_ptr DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfFifteenMinutesImpl const&) @ 0x00000000126934cd in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:71: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000126922e3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 2024.09.24 01:18:30.660586 [ 8852 ] {cb8ea478-d909-44d4-b28d-a241ae743a31} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfFifteenMinutes: while executing 'FUNCTION toStartOfFifteenMinutes(x1 :: 0) -> toStartOfFifteenMinutes(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8f10d3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x000000000b8f0e63 in /usr/bin/clickhouse 7. ? @ 0x000000001269463b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1601: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfFifteenMinutesImpl const&, DB::PODArray, 63ul, 64ul>*) @ 0x00000000126945e4 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1633: COW::immutable_ptr DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfFifteenMinutesImpl const&) @ 0x00000000126934cd in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:71: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000126922e3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 2024.09.24 01:18:30.690411 [ 8850 ] {47725079-7ec5-43d2-b161-0cc2e7b44719} executeQuery: Code: 59. DB::Exception: Illegal type Float32 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39520) (comment: 01917_prewhere_column_type.sql) (in query: SELECT s FROM t1 PREWHERE f WHERE f AND (e = 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x000000001d5786a6 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:70: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x000000001e145c25 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1385: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x000000001e14288f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1072: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e1407f8 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:973: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e13f4f1 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000001e12d1ef in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000001e12d9f1 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000001e12bcd9 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:226: DB::MergeTreeSource::tryGenerate() @ 0x000000001ef0dd0a in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 2024.09.24 01:18:30.692833 [ 8850 ] {47725079-7ec5-43d2-b161-0cc2e7b44719} TCPHandler: Code: 59. DB::Exception: Illegal type Float32 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x000000001d5786a6 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:70: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x000000001e145c25 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1385: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x000000001e14288f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1072: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e1407f8 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:973: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e13f4f1 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000001e12d1ef in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000001e12d9f1 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000001e12bcd9 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:226: DB::MergeTreeSource::tryGenerate() @ 0x000000001ef0dd0a in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 2024.09.24 01:18:30.873168 [ 8850 ] {3c3aecbe-034b-4e4a-9ca7-1e9bdf1d5a7d} executeQuery: Code: 59. DB::Exception: Illegal type UInt16 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39520) (comment: 01917_prewhere_column_type.sql) (in query: SELECT s FROM t1 PREWHERE e;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x000000001d5786a6 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:70: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x000000001e145c25 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1385: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x000000001e14288f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1072: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e1407f8 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:973: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e13f4f1 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000001e12d1ef in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000001e12d9f1 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000001e12bcd9 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:226: DB::MergeTreeSource::tryGenerate() @ 0x000000001ef0dd0a in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 2024.09.24 01:18:30.874360 [ 8850 ] {3c3aecbe-034b-4e4a-9ca7-1e9bdf1d5a7d} TCPHandler: Code: 59. DB::Exception: Illegal type UInt16 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x000000001d5786a6 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:70: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x000000001e145c25 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1385: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x000000001e14288f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1072: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e1407f8 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:973: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e13f4f1 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000001e12d1ef in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000001e12d9f1 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000001e12bcd9 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:226: DB::MergeTreeSource::tryGenerate() @ 0x000000001ef0dd0a in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 2024.09.24 01:18:30.880577 [ 8852 ] {6e5a7add-a42a-4270-95c1-281331324d50} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfHour: while executing 'FUNCTION toStartOfHour(x1 :: 0) -> toStartOfHour(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39484) (comment: 01921_datatype_date32.sql) (in query: select toStartOfHour(x1) from t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8f10d3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x000000000b8f0e63 in /usr/bin/clickhouse 7. ? @ 0x000000001265d6fb in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1601: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfHourImpl const&, DB::PODArray, 63ul, 64ul>*) @ 0x000000001269c704 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1633: COW::immutable_ptr DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfHourImpl const&) @ 0x000000001269b64d in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:71: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001269a463 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 2024.09.24 01:18:30.882206 [ 8852 ] {6e5a7add-a42a-4270-95c1-281331324d50} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfHour: while executing 'FUNCTION toStartOfHour(x1 :: 0) -> toStartOfHour(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8f10d3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x000000000b8f0e63 in /usr/bin/clickhouse 7. ? @ 0x000000001265d6fb in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1601: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfHourImpl const&, DB::PODArray, 63ul, 64ul>*) @ 0x000000001269c704 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1633: COW::immutable_ptr DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfHourImpl const&) @ 0x000000001269b64d in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:71: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001269a463 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 2024.09.24 01:18:30.913822 [ 8850 ] {b4de359f-1968-422e-815d-968079acbc02} executeQuery: Code: 59. DB::Exception: Illegal type UInt16 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39520) (comment: 01917_prewhere_column_type.sql) (in query: SELECT s FROM t1 PREWHERE e WHERE (e = 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x000000001d5786a6 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:70: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x000000001e145c25 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1385: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x000000001e14288f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1072: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e1407f8 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:973: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e13f4f1 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000001e12d1ef in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000001e12d9f1 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000001e12bcd9 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:226: DB::MergeTreeSource::tryGenerate() @ 0x000000001ef0dd0a in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 2024.09.24 01:18:30.935443 [ 8850 ] {b4de359f-1968-422e-815d-968079acbc02} TCPHandler: Code: 59. DB::Exception: Illegal type UInt16 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x000000001d5786a6 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:70: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x000000001e145c25 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1385: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x000000001e14288f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1072: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e1407f8 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:973: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e13f4f1 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000001e12d1ef in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000001e12d9f1 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000001e12bcd9 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:226: DB::MergeTreeSource::tryGenerate() @ 0x000000001ef0dd0a in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 2024.09.24 01:18:30.980310 [ 8850 ] {4c1fb42e-a517-4507-a06b-54bfc7ab5f63} executeQuery: Code: 59. DB::Exception: Illegal type UInt16 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39520) (comment: 01917_prewhere_column_type.sql) (in query: SELECT s FROM t1 PREWHERE e WHERE f AND (e = 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x000000001d5786a6 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:70: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x000000001e145c25 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1385: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x000000001e14288f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1072: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e1407f8 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:973: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e13f4f1 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000001e12d1ef in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000001e12d9f1 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000001e12bcd9 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:226: DB::MergeTreeSource::tryGenerate() @ 0x000000001ef0dd0a in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 2024.09.24 01:18:30.982069 [ 8850 ] {4c1fb42e-a517-4507-a06b-54bfc7ab5f63} TCPHandler: Code: 59. DB::Exception: Illegal type UInt16 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x000000001d5786a6 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:70: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x000000001e145c25 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1385: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x000000001e14288f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1072: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e1407f8 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:973: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e13f4f1 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000001e12d1ef in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000001e12d9f1 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000001e12bcd9 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:226: DB::MergeTreeSource::tryGenerate() @ 0x000000001ef0dd0a in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 2024.09.24 01:18:31.457093 [ 8852 ] {445e08b3-d3e3-4822-bc3d-e63ad299c69a} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for function toTime: while executing 'FUNCTION toTime(x1 :: 0) -> toTime(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39484) (comment: 01921_datatype_date32.sql) (in query: select toTime(x1) from t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8f10d3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x000000000b8f0e63 in /usr/bin/clickhouse 7. ? @ 0x000000001261499b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1601: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToTimeImpl const&, DB::PODArray, 63ul, 64ul>*) @ 0x00000000126d0724 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1633: COW::immutable_ptr DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToTimeImpl const&) @ 0x00000000126cfb24 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:71: DB::FunctionDateOrDateTimeToSomething::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000126ce6ae in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 2024.09.24 01:18:31.457903 [ 8852 ] {445e08b3-d3e3-4822-bc3d-e63ad299c69a} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for function toTime: while executing 'FUNCTION toTime(x1 :: 0) -> toTime(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8f10d3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x000000000b8f0e63 in /usr/bin/clickhouse 7. ? @ 0x000000001261499b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1601: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToTimeImpl const&, DB::PODArray, 63ul, 64ul>*) @ 0x00000000126d0724 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1633: COW::immutable_ptr DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToTimeImpl const&) @ 0x00000000126cfb24 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:71: DB::FunctionDateOrDateTimeToSomething::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000126ce6ae in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 2024.09.24 01:18:38.877076 [ 8853 ] {00d52e80-935b-4f26-9608-84e2a50ad22b} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(toUInt8(id), 1)' of type 'UInt16'. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36110) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: -- `e + 1` is UInt16 SELECT DISTINCT t1.key, toUInt8(t1.id) as e FROM t1 INNER ANY JOIN t2 ON t1.id == t2.id AND e + 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc18961 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:474: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc18772 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:694: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x000000001cc34bc4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x000000001ebcf614 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:30: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x000000001ee649dd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x000000001cac92d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1664: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab56a6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:38.877899 [ 8853 ] {00d52e80-935b-4f26-9608-84e2a50ad22b} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(toUInt8(id), 1)' of type 'UInt16'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc18961 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:474: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc18772 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:694: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x000000001cc34bc4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x000000001ebcf614 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:30: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x000000001ee649dd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x000000001cac92d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1664: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab56a6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:39.068431 [ 8853 ] {670f3b6d-9a38-45ab-8a24-2eeeeefb6889} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'id' of type 'Int32'. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36110) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t1.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc18961 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:474: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc18772 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:694: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x000000001cc34bc4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x000000001ebcf614 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:30: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x000000001ee649dd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x000000001cac92d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1664: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab56a6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:39.069183 [ 8853 ] {670f3b6d-9a38-45ab-8a24-2eeeeefb6889} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'id' of type 'Int32'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc18961 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:474: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc18772 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:694: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x000000001cc34bc4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x000000001ebcf614 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:30: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x000000001ee649dd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x000000001cac92d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1664: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab56a6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:39.236034 [ 8853 ] {4333a7f4-bd24-421a-8505-f0768e3ae34e} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 't2.id' of type 'Int32'. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36110) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t2.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc18961 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc18783 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:523: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x000000001cc321b0 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfd14bf in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfd1269 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x000000001bfd0f6f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x000000001bfd0de2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x000000001bfd04ee in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:972: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb38ce in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfb1106 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfb039c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba7bd in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 2024.09.24 01:18:39.237116 [ 8853 ] {4333a7f4-bd24-421a-8505-f0768e3ae34e} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 't2.id' of type 'Int32'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc18961 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc18783 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:523: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x000000001cc321b0 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfd14bf in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfd1269 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x000000001bfd0f6f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x000000001bfd0de2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x000000001bfd04ee in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:972: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb38ce in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfb1106 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfb039c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba7bd in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 2024.09.24 01:18:39.259375 [ 8853 ] {a5337836-4547-44c5-97fe-6391b4f257b2} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(id, 2)' of type 'Int64'. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36110) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t1.id + 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc18961 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:474: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc18772 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:694: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x000000001cc34bc4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x000000001ebcf614 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:30: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x000000001ee649dd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x000000001cac92d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1664: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab56a6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:39.260270 [ 8853 ] {a5337836-4547-44c5-97fe-6391b4f257b2} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(id, 2)' of type 'Int64'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc18961 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:474: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc18772 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:694: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x000000001cc34bc4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x000000001ebcf614 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:30: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x000000001ee649dd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x000000001cac92d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1664: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab56a6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:39.277948 [ 8853 ] {2b757ff6-1ae2-4d3a-9a02-d367e664d513} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(t2.id, 2)' of type 'Int64'. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36110) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t2.id + 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc18961 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc18783 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:523: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x000000001cc321b0 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfd14bf in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfd1269 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x000000001bfd0f6f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x000000001bfd0de2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x000000001bfd04ee in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:972: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb38ce in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfb1106 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfb039c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba7bd in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 2024.09.24 01:18:39.278912 [ 8853 ] {2b757ff6-1ae2-4d3a-9a02-d367e664d513} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(t2.id, 2)' of type 'Int64'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc18961 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc18783 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:523: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x000000001cc321b0 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfd14bf in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfd1269 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x000000001bfd0f6f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x000000001bfd0de2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x000000001bfd04ee in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:972: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb38ce in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfb1106 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfb039c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba7bd in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 2024.09.24 01:18:39.299235 [ 8853 ] {c8fe2580-f5cd-47c9-99ce-4568489c4088} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'key' of type 'String'. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36110) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t1.key;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc18961 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:474: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc18772 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:694: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x000000001cc34bc4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x000000001ebcf614 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:30: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x000000001ee649dd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x000000001cac92d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1664: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab56a6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:39.300045 [ 8853 ] {c8fe2580-f5cd-47c9-99ce-4568489c4088} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'key' of type 'String'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc18961 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:474: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc18772 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:694: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x000000001cc34bc4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x000000001ebcf614 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:30: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x000000001ee649dd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x000000001cac92d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1664: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab56a6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:39.319478 [ 8853 ] {40b4e9d8-096f-40b4-ba85-e8ae68b83dd5} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 't2.key' of type 'String'. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36110) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t2.key;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc18961 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc18783 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:523: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x000000001cc321b0 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfd14bf in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfd1269 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x000000001bfd0f6f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x000000001bfd0de2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x000000001bfd04ee in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:972: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb38ce in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfb1106 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfb039c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba7bd in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 2024.09.24 01:18:39.320485 [ 8853 ] {40b4e9d8-096f-40b4-ba85-e8ae68b83dd5} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 't2.key' of type 'String'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc18961 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc18783 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:523: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x000000001cc321b0 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfd14bf in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfd1269 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x000000001bfd0f6f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x000000001bfd0de2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x000000001bfd04ee in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:972: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb38ce in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfb1106 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfb039c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba7bd in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 2024.09.24 01:18:39.500401 [ 8853 ] {f8d97419-81ba-40b5-8b1b-8935e135a98d} executeQuery: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected '(id = t2.id) OR (t2.key2 IS NULL)': While processing (id = t2.id) OR (t2.key2 IS NULL). (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36110) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 JOIN t2 ON t2.key == t2.key2 AND (t1.id == t2.id OR isNull(t2.key2));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:151: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001d0186b6 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001cfb2044 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001cfb1e40 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb2241 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb22e6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb224e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb22e6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb224e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001cfb1c85 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:650: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cfa143c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9da52 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:18:39.502003 [ 8853 ] {f8d97419-81ba-40b5-8b1b-8935e135a98d} TCPHandler: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected '(id = t2.id) OR (t2.key2 IS NULL)': While processing (id = t2.id) OR (t2.key2 IS NULL). (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:151: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001d0186b6 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001cfb2044 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001cfb1e40 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb2241 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb22e6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb224e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb22e6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb224e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001cfb1c85 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:650: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cfa143c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9da52 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:18:39.661496 [ 8853 ] {675b227b-e9db-4390-9fee-fdafe327d14f} executeQuery: Code: 403. DB::Exception: Cannot get JOIN keys from JOIN ON section: '(t2.key = t2.key2) OR (id = t2.id)', found keys: [Left keys: [] Right keys [] Condition columns: '', 'equals(t2.key, t2.key2)']; [Left keys: [id] Right keys [t2.id] Condition columns: '', '']. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36110) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 JOIN t2 ON t2.key == t2.key2 OR t1.id == t2.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:658: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cfa15fd in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9da52 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:39.662663 [ 8853 ] {675b227b-e9db-4390-9fee-fdafe327d14f} TCPHandler: Code: 403. DB::Exception: Cannot get JOIN keys from JOIN ON section: '(t2.key = t2.key2) OR (id = t2.id)', found keys: [Left keys: [] Right keys [] Condition columns: '', 'equals(t2.key, t2.key2)']; [Left keys: [id] Right keys [t2.id] Condition columns: '', '']. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:658: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cfa15fd in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9da52 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:39.874278 [ 8853 ] {2098e17e-424d-449f-946d-619da97158ee} executeQuery: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected '((key = key2) AND (key != 'XXX')) OR (id = t2.id)': While processing ((key = key2) AND (key != 'XXX')) OR (id = t2.id). (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36110) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 JOIN t2 ON (t2.key == t2.key2 AND (t1.key == t1.key2 AND t1.key != 'XXX' OR t1.id == t2.id)) AND t1.id == t2.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:151: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001d0186b6 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001cfb2044 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001cfb1e40 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb2241 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb22e6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb224e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb22e6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb224e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb22e6 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb224e in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb22e6 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb224e in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001cfb1c85 in /usr/bin/clickhouse 24. /build/src/Interpreters/TreeRewriter.cpp:650: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cfa143c in /usr/bin/clickhouse 25. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9da52 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:18:39.875601 [ 8853 ] {2098e17e-424d-449f-946d-619da97158ee} TCPHandler: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected '((key = key2) AND (key != 'XXX')) OR (id = t2.id)': While processing ((key = key2) AND (key != 'XXX')) OR (id = t2.id). (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:151: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001d0186b6 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001cfb2044 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001cfb1e40 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb2241 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb22e6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb224e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb22e6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb224e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb22e6 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb224e in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb22e6 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb224e in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001cfb1c85 in /usr/bin/clickhouse 24. /build/src/Interpreters/TreeRewriter.cpp:650: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cfa143c in /usr/bin/clickhouse 25. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9da52 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:18:40.043681 [ 8853 ] {7d5cf3e1-c24a-4ad5-a769-2c93b5bb9cfc} executeQuery: Code: 48. DB::Exception: Only `hash` join supports multiple ORs for keys in JOIN ON section. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36110) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 JOIN t2 ON t2.key == t2.key2 AND t1.key == t1.key2 AND t1.key != 'XXX' AND t1.id == t2.id OR t2.key == t2.key2 AND t1.id == t2.id AND t1.id == t2.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [67]) @ 0x000000001254341e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:670: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cfa17d1 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9da52 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:40.044701 [ 8853 ] {7d5cf3e1-c24a-4ad5-a769-2c93b5bb9cfc} TCPHandler: Code: 48. DB::Exception: Only `hash` join supports multiple ORs for keys in JOIN ON section. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [67]) @ 0x000000001254341e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:670: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cfa17d1 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9da52 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:40.057303 [ 8853 ] {31bc350c-4a53-40bf-9d11-079ff25162e4} executeQuery: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected 'id >= t2.id': While processing id >= t2.id. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36110) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: -- non-equi condition containing columns from different tables doesn't supported yet SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t1.id >= t2.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:151: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001d0186b6 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001cfb2044 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001cfb1e40 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb2241 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb22e6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb224e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb22e6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb224e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001cfb1c85 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:650: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cfa143c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9da52 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:18:40.058180 [ 8853 ] {31bc350c-4a53-40bf-9d11-079ff25162e4} TCPHandler: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected 'id >= t2.id': While processing id >= t2.id. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:151: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001d0186b6 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001cfb2044 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001cfb1e40 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb2241 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb22e6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb224e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb22e6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb224e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001cfb1c85 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:650: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cfa143c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9da52 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:18:40.078661 [ 8835 ] {70c47d7f-bd77-46f9-ad82-d7104a927e17} executeQuery: Code: 6. DB::Exception: Cannot parse string '0.Aa234' as Float64: syntax error at position 2 (parsed just '0.'). Note: there are toFloat64OrZero and toFloat64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION toFloat64(a :: 0) -> toFloat64(a) Float64 : 2': while pushing to view test_id01qo4f.matview_exception_a_to_b (fe58ff1e-69a5-409d-8167-1780c9cd1207). (CANNOT_PARSE_TEXT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36232) (comment: 01927_query_views_log_matview_exceptions.sh) (in query: INSERT INTO table_exception_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b217fb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToFloat64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b4bebf7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b4b9a18 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b4a8919 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b4a7c48 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b4a6e5e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 20. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f6dbe in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:634: DB::ExecutingInnerQueryFromViewTransform::onGenerate() @ 0x000000001ece50e3 in /usr/bin/clickhouse 27. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:164: DB::ExceptionKeepingTransform::work()::$_2::operator()() const @ 0x000000001ebc97e1 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_2&) @ 0x000000001ebc97b5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_2&) @ 0x000000001ebc9795 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc9775 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc973d in /usr/bin/clickhouse 2024.09.24 01:18:40.078856 [ 8853 ] {5a802b2f-3571-4990-aa86-23d787bc243f} executeQuery: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected 'id >= length(t2.key)': While processing id >= length(t2.key). (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36110) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ANY JOIN t2 ON t1.id == t2.id AND t2.key == t2.key2 AND t1.key == t1.key2 AND t1.id >= length(t2.key);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:151: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001d0186b6 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001cfb2044 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001cfb1e40 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb2241 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb22e6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb224e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb22e6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb224e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001cfb1c85 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:650: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cfa143c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9da52 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:18:40.080309 [ 8853 ] {5a802b2f-3571-4990-aa86-23d787bc243f} TCPHandler: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected 'id >= length(t2.key)': While processing id >= length(t2.key). (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:151: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001d0186b6 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001cfb2044 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001cfb1e40 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb2241 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb22e6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb224e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb22e6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb224e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001cfb1c85 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:650: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cfa143c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9da52 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:18:40.083663 [ 8835 ] {70c47d7f-bd77-46f9-ad82-d7104a927e17} TCPHandler: Code: 6. DB::Exception: Cannot parse string '0.Aa234' as Float64: syntax error at position 2 (parsed just '0.'). Note: there are toFloat64OrZero and toFloat64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION toFloat64(a :: 0) -> toFloat64(a) Float64 : 2': while pushing to view test_id01qo4f.matview_exception_a_to_b (fe58ff1e-69a5-409d-8167-1780c9cd1207). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b217fb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToFloat64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b4bebf7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b4b9a18 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b4a8919 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b4a7c48 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b4a6e5e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 20. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f6dbe in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:634: DB::ExecutingInnerQueryFromViewTransform::onGenerate() @ 0x000000001ece50e3 in /usr/bin/clickhouse 27. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:164: DB::ExceptionKeepingTransform::work()::$_2::operator()() const @ 0x000000001ebc97e1 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_2&) @ 0x000000001ebc97b5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_2&) @ 0x000000001ebc9795 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc9775 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc973d in /usr/bin/clickhouse 2024.09.24 01:18:42.422913 [ 8853 ] {1d6d4b22-cbb8-41b1-b498-21d9eaad51dc} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(toUInt8(id), 1)' of type 'UInt16'. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36110) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: -- `e + 1` is UInt16 SELECT DISTINCT t1.key, toUInt8(t1.id) as e FROM t1 INNER ANY JOIN t2 ON t1.id == t2.id AND e + 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc18961 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:474: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc18772 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:694: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x000000001cc34bc4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x000000001ebcf614 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:30: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x000000001ee649dd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x000000001cac92d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1664: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab56a6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:42.423859 [ 8853 ] {1d6d4b22-cbb8-41b1-b498-21d9eaad51dc} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(toUInt8(id), 1)' of type 'UInt16'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc18961 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:474: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc18772 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:694: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x000000001cc34bc4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x000000001ebcf614 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:30: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x000000001ee649dd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x000000001cac92d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1664: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab56a6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:42.697558 [ 8853 ] {00c8584e-b434-472e-976a-7b0c78b93666} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'id' of type 'Int32'. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36110) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t1.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc18961 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:474: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc18772 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:694: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x000000001cc34bc4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x000000001ebcf614 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:30: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x000000001ee649dd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x000000001cac92d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1664: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab56a6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:42.698386 [ 8853 ] {00c8584e-b434-472e-976a-7b0c78b93666} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'id' of type 'Int32'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc18961 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:474: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc18772 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:694: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x000000001cc34bc4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x000000001ebcf614 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:30: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x000000001ee649dd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x000000001cac92d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1664: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab56a6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:42.715267 [ 8853 ] {af749f0d-253b-409f-bdda-eb7a64a371cf} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 't2.id' of type 'Int32'. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36110) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t2.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc18961 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc18783 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:523: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x000000001cc321b0 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfd14bf in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfd1269 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x000000001bfd0f6f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x000000001bfd0de2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x000000001bfd04ee in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:972: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb38ce in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfb1106 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfb039c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba7bd in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 2024.09.24 01:18:42.716283 [ 8853 ] {af749f0d-253b-409f-bdda-eb7a64a371cf} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 't2.id' of type 'Int32'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc18961 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc18783 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:523: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x000000001cc321b0 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfd14bf in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfd1269 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x000000001bfd0f6f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x000000001bfd0de2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x000000001bfd04ee in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:972: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb38ce in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfb1106 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfb039c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba7bd in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 2024.09.24 01:18:42.745954 [ 8853 ] {cfd300ed-615b-4e5f-aac6-9caceacd9b49} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(id, 2)' of type 'Int64'. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36110) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t1.id + 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc18961 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:474: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc18772 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:694: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x000000001cc34bc4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x000000001ebcf614 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:30: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x000000001ee649dd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x000000001cac92d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1664: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab56a6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:42.746895 [ 8853 ] {cfd300ed-615b-4e5f-aac6-9caceacd9b49} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(id, 2)' of type 'Int64'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc18961 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:474: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc18772 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:694: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x000000001cc34bc4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x000000001ebcf614 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:30: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x000000001ee649dd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x000000001cac92d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1664: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab56a6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:42.777370 [ 8853 ] {16464d69-6ecb-47d2-88a0-6cd42b333964} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(t2.id, 2)' of type 'Int64'. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36110) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t2.id + 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc18961 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc18783 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:523: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x000000001cc321b0 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfd14bf in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfd1269 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x000000001bfd0f6f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x000000001bfd0de2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x000000001bfd04ee in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:972: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb38ce in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfb1106 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfb039c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba7bd in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 2024.09.24 01:18:42.778794 [ 8853 ] {16464d69-6ecb-47d2-88a0-6cd42b333964} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(t2.id, 2)' of type 'Int64'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc18961 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc18783 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:523: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x000000001cc321b0 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfd14bf in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfd1269 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x000000001bfd0f6f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x000000001bfd0de2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x000000001bfd04ee in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:972: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb38ce in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfb1106 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfb039c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba7bd in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 2024.09.24 01:18:42.809118 [ 8853 ] {bea66bef-0cad-4dad-9918-3e5080afce2f} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'key' of type 'String'. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36110) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t1.key;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc18961 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:474: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc18772 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:694: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x000000001cc34bc4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x000000001ebcf614 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:30: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x000000001ee649dd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x000000001cac92d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1664: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab56a6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:42.809958 [ 8853 ] {bea66bef-0cad-4dad-9918-3e5080afce2f} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'key' of type 'String'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc18961 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:474: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc18772 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:694: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x000000001cc34bc4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x000000001ebcf614 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:30: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x000000001ee649dd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x000000001cac92d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1664: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab56a6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:42.827174 [ 8853 ] {0c33c07e-2ebc-4df3-9dbb-0d78a502ed64} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 't2.key' of type 'String'. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36110) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t2.key;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc18961 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc18783 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:523: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x000000001cc321b0 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfd14bf in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfd1269 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x000000001bfd0f6f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x000000001bfd0de2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x000000001bfd04ee in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:972: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb38ce in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfb1106 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfb039c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba7bd in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 2024.09.24 01:18:42.828081 [ 8853 ] {0c33c07e-2ebc-4df3-9dbb-0d78a502ed64} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 't2.key' of type 'String'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc18961 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc18783 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:523: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x000000001cc321b0 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfd14bf in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfd1269 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x000000001bfd0f6f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x000000001bfd0de2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x000000001bfd04ee in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:972: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb38ce in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfb1106 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfb039c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba7bd in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 2024.09.24 01:18:42.840117 [ 8853 ] {c018fd82-6f90-49ae-ae05-46a7c3a2648b} executeQuery: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected '(id = t2.id) OR (t2.key2 IS NULL)': While processing (id = t2.id) OR (t2.key2 IS NULL). (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36110) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 JOIN t2 ON t2.key == t2.key2 AND (t1.id == t2.id OR isNull(t2.key2));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:151: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001d0186b6 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001cfb2044 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001cfb1e40 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb2241 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb22e6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb224e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb22e6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb224e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001cfb1c85 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:650: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cfa143c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9da52 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:18:42.841050 [ 8853 ] {c018fd82-6f90-49ae-ae05-46a7c3a2648b} TCPHandler: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected '(id = t2.id) OR (t2.key2 IS NULL)': While processing (id = t2.id) OR (t2.key2 IS NULL). (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:151: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001d0186b6 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001cfb2044 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001cfb1e40 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb2241 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb22e6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb224e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb22e6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb224e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001cfb1c85 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:650: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cfa143c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9da52 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:18:42.851974 [ 8853 ] {bcddc7dd-f881-4221-80cc-db71a019f0ad} executeQuery: Code: 403. DB::Exception: Cannot get JOIN keys from JOIN ON section: '(t2.key = t2.key2) OR (id = t2.id)', found keys: [Left keys: [] Right keys [] Condition columns: '', 'equals(t2.key, t2.key2)']; [Left keys: [id] Right keys [t2.id] Condition columns: '', '']. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36110) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 JOIN t2 ON t2.key == t2.key2 OR t1.id == t2.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:658: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cfa15fd in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9da52 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:42.852781 [ 8853 ] {bcddc7dd-f881-4221-80cc-db71a019f0ad} TCPHandler: Code: 403. DB::Exception: Cannot get JOIN keys from JOIN ON section: '(t2.key = t2.key2) OR (id = t2.id)', found keys: [Left keys: [] Right keys [] Condition columns: '', 'equals(t2.key, t2.key2)']; [Left keys: [id] Right keys [t2.id] Condition columns: '', '']. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:658: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cfa15fd in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9da52 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:42.869029 [ 8853 ] {82e558c8-8b80-454d-a7d7-dc4bd863ad17} executeQuery: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected '((key = key2) AND (key != 'XXX')) OR (id = t2.id)': While processing ((key = key2) AND (key != 'XXX')) OR (id = t2.id). (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36110) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 JOIN t2 ON (t2.key == t2.key2 AND (t1.key == t1.key2 AND t1.key != 'XXX' OR t1.id == t2.id)) AND t1.id == t2.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:151: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001d0186b6 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001cfb2044 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001cfb1e40 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb2241 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb22e6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb224e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb22e6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb224e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb22e6 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb224e in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb22e6 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb224e in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001cfb1c85 in /usr/bin/clickhouse 24. /build/src/Interpreters/TreeRewriter.cpp:650: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cfa143c in /usr/bin/clickhouse 25. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9da52 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:18:42.870443 [ 8853 ] {82e558c8-8b80-454d-a7d7-dc4bd863ad17} TCPHandler: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected '((key = key2) AND (key != 'XXX')) OR (id = t2.id)': While processing ((key = key2) AND (key != 'XXX')) OR (id = t2.id). (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:151: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001d0186b6 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001cfb2044 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001cfb1e40 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb2241 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb22e6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb224e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb22e6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb224e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb22e6 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb224e in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb22e6 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb224e in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001cfb1c85 in /usr/bin/clickhouse 24. /build/src/Interpreters/TreeRewriter.cpp:650: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cfa143c in /usr/bin/clickhouse 25. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9da52 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:18:42.895461 [ 8853 ] {f7ed3ed8-0cf4-4257-a1b4-be1e893bf2e5} executeQuery: Code: 48. DB::Exception: Only `hash` join supports multiple ORs for keys in JOIN ON section. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36110) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 JOIN t2 ON t2.key == t2.key2 AND t1.key == t1.key2 AND t1.key != 'XXX' AND t1.id == t2.id OR t2.key == t2.key2 AND t1.id == t2.id AND t1.id == t2.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [67]) @ 0x000000001254341e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:670: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cfa17d1 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9da52 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:42.896777 [ 8853 ] {f7ed3ed8-0cf4-4257-a1b4-be1e893bf2e5} TCPHandler: Code: 48. DB::Exception: Only `hash` join supports multiple ORs for keys in JOIN ON section. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [67]) @ 0x000000001254341e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:670: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cfa17d1 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9da52 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:42.910900 [ 8853 ] {c987fe54-c0ac-487e-84d7-a697bb6b9296} executeQuery: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected 'id >= t2.id': While processing id >= t2.id. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36110) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: -- non-equi condition containing columns from different tables doesn't supported yet SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t1.id >= t2.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:151: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001d0186b6 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001cfb2044 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001cfb1e40 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb2241 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb22e6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb224e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb22e6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb224e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001cfb1c85 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:650: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cfa143c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9da52 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:18:42.912155 [ 8853 ] {c987fe54-c0ac-487e-84d7-a697bb6b9296} TCPHandler: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected 'id >= t2.id': While processing id >= t2.id. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:151: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001d0186b6 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001cfb2044 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001cfb1e40 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb2241 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb22e6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb224e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb22e6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb224e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001cfb1c85 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:650: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cfa143c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9da52 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:18:42.928892 [ 8853 ] {b93dd2da-36d7-4458-8033-fb912da45613} executeQuery: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected 'id >= length(t2.key)': While processing id >= length(t2.key). (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36110) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ANY JOIN t2 ON t1.id == t2.id AND t2.key == t2.key2 AND t1.key == t1.key2 AND t1.id >= length(t2.key);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:151: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001d0186b6 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001cfb2044 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001cfb1e40 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb2241 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb22e6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb224e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb22e6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb224e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001cfb1c85 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:650: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cfa143c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9da52 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:18:42.929856 [ 8853 ] {b93dd2da-36d7-4458-8033-fb912da45613} TCPHandler: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected 'id >= length(t2.key)': While processing id >= length(t2.key). (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:151: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001d0186b6 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001cfb2044 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001cfb1e40 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb2241 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb22e6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb224e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb22e6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb224e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001cfb1c85 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:650: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cfa143c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9da52 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:18:46.606092 [ 1123 ] {97438e1f-d108-4126-9b71-b05fc5e18a65} executeQuery: Code: 36. DB::Exception: Cell is not valid: While processing s2CellsIntersect(9926595209846587392, 9223372036854775806). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:57224) (comment: 01853_s2_cells_intersect.sql) (in query: SELECT s2CellsIntersect(9926595209846587392, 9223372036854775806);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [18]) @ 0x000000000c73a33e in /usr/bin/clickhouse 6. /build/src/Functions/s2CellsIntersect.cpp:106: DB::(anonymous namespace)::FunctionS2CellsIntersect::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001250cfe4 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:18:46.607283 [ 1123 ] {97438e1f-d108-4126-9b71-b05fc5e18a65} TCPHandler: Code: 36. DB::Exception: Cell is not valid: While processing s2CellsIntersect(9926595209846587392, 9223372036854775806). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [18]) @ 0x000000000c73a33e in /usr/bin/clickhouse 6. /build/src/Functions/s2CellsIntersect.cpp:106: DB::(anonymous namespace)::FunctionS2CellsIntersect::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001250cfe4 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:18:48.507370 [ 5572 ] {40345fda-e7d3-4d41-ba91-847414a3b06f} executeQuery: Code: 407. DB::Exception: Decimal math overflow: While processing arrayDifference([toDecimal32(100.0000991821289, 0), -2147483647]) AS x. (DECIMAL_OVERFLOW) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:57234) (comment: 01851_array_difference_decimal_overflow_ubsan.sql) (in query: SELECT arrayDifference([toDecimal32(100.0000991821289, 0), -2147483647]) AS x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [22]) @ 0x000000000b24179e in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayDifference.cpp:91: void DB::ArrayDifferenceImpl::impl, DB::Decimal>(DB::Decimal const*, DB::Decimal*, unsigned long, unsigned long) @ 0x00000000129bc2b2 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayDifference.cpp:132: bool DB::ArrayDifferenceImpl::executeType, DB::Decimal>(COW::immutable_ptr const&, DB::ColumnArray const&, COW::immutable_ptr&) @ 0x00000000129ba406 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayDifference.cpp:153: DB::ArrayDifferenceImpl::execute(DB::ColumnArray const&, COW::immutable_ptr) @ 0x00000000129b72ec in /usr/bin/clickhouse 9. /build/src/Functions/array/FunctionArrayMapped.h:276: DB::FunctionArrayMapped::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000129b39ff in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 2024.09.24 01:18:48.509288 [ 5572 ] {40345fda-e7d3-4d41-ba91-847414a3b06f} TCPHandler: Code: 407. DB::Exception: Decimal math overflow: While processing arrayDifference([toDecimal32(100.0000991821289, 0), -2147483647]) AS x. (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [22]) @ 0x000000000b24179e in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayDifference.cpp:91: void DB::ArrayDifferenceImpl::impl, DB::Decimal>(DB::Decimal const*, DB::Decimal*, unsigned long, unsigned long) @ 0x00000000129bc2b2 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayDifference.cpp:132: bool DB::ArrayDifferenceImpl::executeType, DB::Decimal>(COW::immutable_ptr const&, DB::ColumnArray const&, COW::immutable_ptr&) @ 0x00000000129ba406 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayDifference.cpp:153: DB::ArrayDifferenceImpl::execute(DB::ColumnArray const&, COW::immutable_ptr) @ 0x00000000129b72ec in /usr/bin/clickhouse 9. /build/src/Functions/array/FunctionArrayMapped.h:276: DB::FunctionArrayMapped::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000129b39ff in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 2024.09.24 01:18:49.492486 [ 1123 ] {635aae91-e97e-4854-a405-f2ecda0c0d28} executeQuery: Code: 16. DB::Exception: Missing column `_partition_value` because there is no partition column in table tbl2. (NO_SUCH_COLUMN_IN_TABLE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:57246) (comment: 01848_partition_value_column.sql) (in query: select _partition_value from tbl2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1210: DB::selectColumnNames(std::vector> const&, DB::MergeTreeData const&, std::vector>&, std::vector>&, bool&) @ 0x000000001dfb5328 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1302: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001dfaaabd in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:168: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001dfa73ac in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:252: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001e36189f in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 24. ? @ 0x00007f1d281b3ac3 in ? 25. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:49.493579 [ 1123 ] {635aae91-e97e-4854-a405-f2ecda0c0d28} TCPHandler: Code: 16. DB::Exception: Missing column `_partition_value` because there is no partition column in table tbl2. (NO_SUCH_COLUMN_IN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1210: DB::selectColumnNames(std::vector> const&, DB::MergeTreeData const&, std::vector>&, std::vector>&, bool&) @ 0x000000001dfb5328 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1302: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001dfaaabd in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:168: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001dfa73ac in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:252: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001e36189f in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 24. ? @ 0x00007f1d281b3ac3 in ? 25. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:49.506413 [ 1123 ] {69a19adc-c2cc-44b5-aa49-36a8c0bc06ae} executeQuery: Code: 16. DB::Exception: Missing column `_partition_value` because there is no partition column in table tbl2. (NO_SUCH_COLUMN_IN_TABLE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:57246) (comment: 01848_partition_value_column.sql) (in query: select _partition_value from tbl2 group by 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1210: DB::selectColumnNames(std::vector> const&, DB::MergeTreeData const&, std::vector>&, std::vector>&, bool&) @ 0x000000001dfb5328 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1302: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001dfaaabd in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:168: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001dfa73ac in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:252: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001e36189f in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 24. ? @ 0x00007f1d281b3ac3 in ? 25. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:49.507452 [ 1123 ] {69a19adc-c2cc-44b5-aa49-36a8c0bc06ae} TCPHandler: Code: 16. DB::Exception: Missing column `_partition_value` because there is no partition column in table tbl2. (NO_SUCH_COLUMN_IN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1210: DB::selectColumnNames(std::vector> const&, DB::MergeTreeData const&, std::vector>&, std::vector>&, bool&) @ 0x000000001dfb5328 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1302: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001dfaaabd in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:168: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001dfa73ac in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:252: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001e36189f in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 24. ? @ 0x00007f1d281b3ac3 in ? 25. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:51.340152 [ 1123 ] {b35685de-ab87-4a07-81b9-e446d98065e4} executeQuery: Code: 691. DB::Exception: Unknown element 'Helo' for enum, maybe you meant: ['Hello']: While processing CAST('Helo', 'Enum(\'Hello\' = 1, \'World\' = 2)'). (UNKNOWN_ELEMENT_OF_ENUM) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:38918) (comment: 01852_hints_enum_name.sh) (in query: SELECT CAST('Helo' AS Enum('Hello' = 1, 'World' = 2))), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x000000000d9ec76c in /usr/bin/clickhouse 6. /build/src/DataTypes/EnumValues.cpp:72: DB::EnumValues::getValue(StringRef, bool) const @ 0x000000001b9b89ea in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:3785: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b8d38f4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8d3526 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8d348c in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8d3420 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b8d33c8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 2024.09.24 01:18:51.356687 [ 1123 ] {b35685de-ab87-4a07-81b9-e446d98065e4} TCPHandler: Code: 691. DB::Exception: Unknown element 'Helo' for enum, maybe you meant: ['Hello']: While processing CAST('Helo', 'Enum(\'Hello\' = 1, \'World\' = 2)'). (UNKNOWN_ELEMENT_OF_ENUM), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x000000000d9ec76c in /usr/bin/clickhouse 6. /build/src/DataTypes/EnumValues.cpp:72: DB::EnumValues::getValue(StringRef, bool) const @ 0x000000001b9b89ea in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:3785: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b8d38f4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8d3526 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8d348c in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8d3420 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b8d33c8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 2024.09.24 01:18:54.381324 [ 5572 ] {087b487a-645f-4fbf-b13e-f664ab431c78} executeQuery: Code: 44. DB::Exception: Cannot create table with column of type Object, because storage Log doesn't support dynamic subcolumns. (ILLEGAL_COLUMN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:38938) (comment: 01825_type_json_1.sql) (in query: CREATE TABLE t_json(id UInt64, data Object('JSON')) ENGINE = Log;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1494: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f749b in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:18:54.382041 [ 5572 ] {087b487a-645f-4fbf-b13e-f664ab431c78} TCPHandler: Code: 44. DB::Exception: Cannot create table with column of type Object, because storage Log doesn't support dynamic subcolumns. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1494: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f749b in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:08.502808 [ 8852 ] {b861ab1c-71ee-4503-b65e-77f0f18e2dd7} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36022) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:08.502789 [ 12042 ] {6f6f5d24-e2ce-4e34-b4eb-f1badf03ea23} executeQuery: Code: 53. DB::Exception: Uncompatible types of subcolumn 'k1': Array(Int8) and String. (TYPE_MISMATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36016) (comment: 01825_type_json_4.sh) (in query: INSERT INTO t_json_4 FORMAT JSONEachRow), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x000000000b5b1368 in /usr/bin/clickhouse 6. /build/src/DataTypes/ObjectUtils.cpp:341: DB::getLeastCommonTypeForObject(std::vector, std::allocator>> const&, bool) @ 0x000000001b9e57f3 in /usr/bin/clickhouse 7. /build/src/DataTypes/ObjectUtils.cpp:419: DB::getLeastCommonTypeForDynamicColumnsImpl(std::shared_ptr const&, std::vector, std::allocator>> const&, bool) @ 0x000000001b9dfdd0 in /usr/bin/clickhouse 8. /build/src/DataTypes/ObjectUtils.cpp:452: DB::getLeastCommonTypeForDynamicColumns(std::shared_ptr const&, std::vector, std::allocator>> const&, bool) @ 0x000000001b9df79a in /usr/bin/clickhouse 9. /build/src/DataTypes/ObjectUtils.cpp:255: DB::convertDynamicColumnsToTuples(DB::Block&, std::shared_ptr const&) @ 0x000000001b9decc6 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeSink.cpp:65: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000001e3a8988 in /usr/bin/clickhouse 11. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2ec62 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 2024.09.24 01:19:08.503587 [ 8852 ] {b861ab1c-71ee-4503-b65e-77f0f18e2dd7} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:08.505461 [ 12042 ] {6f6f5d24-e2ce-4e34-b4eb-f1badf03ea23} TCPHandler: Code: 53. DB::Exception: Uncompatible types of subcolumn 'k1': Array(Int8) and String. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x000000000b5b1368 in /usr/bin/clickhouse 6. /build/src/DataTypes/ObjectUtils.cpp:341: DB::getLeastCommonTypeForObject(std::vector, std::allocator>> const&, bool) @ 0x000000001b9e57f3 in /usr/bin/clickhouse 7. /build/src/DataTypes/ObjectUtils.cpp:419: DB::getLeastCommonTypeForDynamicColumnsImpl(std::shared_ptr const&, std::vector, std::allocator>> const&, bool) @ 0x000000001b9dfdd0 in /usr/bin/clickhouse 8. /build/src/DataTypes/ObjectUtils.cpp:452: DB::getLeastCommonTypeForDynamicColumns(std::shared_ptr const&, std::vector, std::allocator>> const&, bool) @ 0x000000001b9df79a in /usr/bin/clickhouse 9. /build/src/DataTypes/ObjectUtils.cpp:255: DB::convertDynamicColumnsToTuples(DB::Block&, std::shared_ptr const&) @ 0x000000001b9decc6 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeSink.cpp:65: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000001e3a8988 in /usr/bin/clickhouse 11. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2ec62 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 2024.09.24 01:19:13.369717 [ 5572 ] {a72dfc8f-2789-4217-9f10-5022a04afbe7} executeQuery: Code: 53. DB::Exception: Cast to Object from Map can be performed only from Map with String or FixedString key. Got: Map(UInt64, UInt64): while converting source column `CAST(tuple(range(modulo(number, 10)), range(modulo(number, 10))), 'Map(UInt64, UInt64)')` to destination column obj. (TYPE_MISMATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39002) (comment: 01825_type_json_from_map.sql) (in query: INSERT INTO t_json SELECT number, (range(number % 10), range(number % 10))::Map(UInt64, UInt64) FROM numbers(1000000);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3584: DB::FunctionCast::createMapToObjectWrapper(DB::DataTypeMap const&, bool) const @ 0x000000000b665c45 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:3663: DB::FunctionCast::createObjectWrapper(std::shared_ptr const&, DB::DataTypeObject const*) const @ 0x000000000b1ffb04 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:4190: DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000b1fd591 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:3922: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000b1fb87c in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:3848: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000b1f686d in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2875: DB::FunctionCast::prepare(std::vector> const&) const @ 0x000000000b1f609c in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:272: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85a09 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:1310: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x000000001bc8ee4c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterInsertQuery.cpp:556: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82f9c in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:13.370904 [ 5572 ] {a72dfc8f-2789-4217-9f10-5022a04afbe7} TCPHandler: Code: 53. DB::Exception: Cast to Object from Map can be performed only from Map with String or FixedString key. Got: Map(UInt64, UInt64): while converting source column `CAST(tuple(range(modulo(number, 10)), range(modulo(number, 10))), 'Map(UInt64, UInt64)')` to destination column obj. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3584: DB::FunctionCast::createMapToObjectWrapper(DB::DataTypeMap const&, bool) const @ 0x000000000b665c45 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:3663: DB::FunctionCast::createObjectWrapper(std::shared_ptr const&, DB::DataTypeObject const*) const @ 0x000000000b1ffb04 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:4190: DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000b1fd591 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:3922: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000b1fb87c in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:3848: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000b1f686d in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2875: DB::FunctionCast::prepare(std::vector> const&) const @ 0x000000000b1f609c in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:272: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85a09 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:1310: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x000000001bc8ee4c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterInsertQuery.cpp:556: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82f9c in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:16.183729 [ 8850 ] {350fcb72-2ed8-4882-9e28-7e5061654dba} executeQuery: Code: 36. DB::Exception: Aggregate function mannWhitneyUTest require both samples to be non empty. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:46190) (comment: 01802_rank_corr_mann_whitney_over_window.sql) (in query: SELECT mannWhitneyUTest(salary, salary) OVER (ORDER BY salary ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) AS func FROM 01802_empsalary;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionMannWhitney.h:232: DB::AggregateFunctionMannWhitney::insertResultInto(char*, DB::IColumn&, DB::Arena*) const @ 0x000000001782584e in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/IAggregateFunction.h:203: DB::IAggregateFunction::insertMergeResultInto(char*, DB::IColumn&, DB::Arena*) const @ 0x0000000013d8e84f in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:994: DB::WindowTransform::writeOutCurrentRow() @ 0x000000001ecb9920 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1157: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001ecba275 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1382: DB::WindowTransform::work() @ 0x000000001ecbe2e1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 2024.09.24 01:19:16.185814 [ 8850 ] {350fcb72-2ed8-4882-9e28-7e5061654dba} TCPHandler: Code: 36. DB::Exception: Aggregate function mannWhitneyUTest require both samples to be non empty. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionMannWhitney.h:232: DB::AggregateFunctionMannWhitney::insertResultInto(char*, DB::IColumn&, DB::Arena*) const @ 0x000000001782584e in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/IAggregateFunction.h:203: DB::IAggregateFunction::insertMergeResultInto(char*, DB::IColumn&, DB::Arena*) const @ 0x0000000013d8e84f in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:994: DB::WindowTransform::writeOutCurrentRow() @ 0x000000001ecb9920 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1157: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001ecba275 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1382: DB::WindowTransform::work() @ 0x000000001ecbe2e1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 2024.09.24 01:19:16.363639 [ 8850 ] {2d12a7d1-6a99-41ff-b1f8-ec186ee4a1b8} executeQuery: Code: 36. DB::Exception: All numbers in both samples are identical. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:46190) (comment: 01802_rank_corr_mann_whitney_over_window.sql) (in query: SELECT rankCorr(salary, 0.5) OVER (ORDER BY salary ASC ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) AS func FROM 01802_empsalary;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [42]) @ 0x000000000c3e57be in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/StatCommon.h:50: std::pair>, double> DB::computeRanksAndTieCorrection, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul>>(DB::PODArray, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul> const&) @ 0x0000000017820fcb in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionRankCorrelation.h:30: DB::RankCorrelationData::getResult() @ 0x0000000017820a4e in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionRankCorrelation.h:90: DB::AggregateFunctionRankCorrelation::insertResultInto(char*, DB::IColumn&, DB::Arena*) const @ 0x000000001781f0a9 in /usr/bin/clickhouse 9. /build/src/AggregateFunctions/IAggregateFunction.h:203: DB::IAggregateFunction::insertMergeResultInto(char*, DB::IColumn&, DB::Arena*) const @ 0x0000000013d8e84f in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:994: DB::WindowTransform::writeOutCurrentRow() @ 0x000000001ecb9920 in /usr/bin/clickhouse 11. /build/src/Processors/Transforms/WindowTransform.cpp:1157: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001ecba275 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/WindowTransform.cpp:1382: DB::WindowTransform::work() @ 0x000000001ecbe2e1 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 2024.09.24 01:19:16.365259 [ 8850 ] {2d12a7d1-6a99-41ff-b1f8-ec186ee4a1b8} TCPHandler: Code: 36. DB::Exception: All numbers in both samples are identical. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [42]) @ 0x000000000c3e57be in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/StatCommon.h:50: std::pair>, double> DB::computeRanksAndTieCorrection, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul>>(DB::PODArray, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul> const&) @ 0x0000000017820fcb in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionRankCorrelation.h:30: DB::RankCorrelationData::getResult() @ 0x0000000017820a4e in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionRankCorrelation.h:90: DB::AggregateFunctionRankCorrelation::insertResultInto(char*, DB::IColumn&, DB::Arena*) const @ 0x000000001781f0a9 in /usr/bin/clickhouse 9. /build/src/AggregateFunctions/IAggregateFunction.h:203: DB::IAggregateFunction::insertMergeResultInto(char*, DB::IColumn&, DB::Arena*) const @ 0x0000000013d8e84f in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:994: DB::WindowTransform::writeOutCurrentRow() @ 0x000000001ecb9920 in /usr/bin/clickhouse 11. /build/src/Processors/Transforms/WindowTransform.cpp:1157: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001ecba275 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/WindowTransform.cpp:1382: DB::WindowTransform::work() @ 0x000000001ecbe2e1 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 2024.09.24 01:19:21.894782 [ 8853 ] {7565c87d-50ec-4a1f-a3b5-5ced3e762096} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 8.00 GiB (attempt to allocate chunk of 8589934592 bytes), maximum: 953.67 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:56642) (comment: 01783_parallel_formatting_memory.sh) (in query: SELECT range(65535) FROM system.one ARRAY JOIN range(65536) AS number), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<2ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b28b365 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<2ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b28b1f9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:235: COW::immutable_ptr DB::ColumnArray::replicateNumber(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000001d2131e4 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnArray.cpp:975: DB::ColumnArray::replicate(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000001d204bbb in /usr/bin/clickhouse 15. /build/src/Columns/ColumnConst.cpp:48: DB::ColumnConst::convertToFullColumn() const @ 0x000000001d23cb62 in /usr/bin/clickhouse 16. /build/src/Columns/ColumnConst.h:39: DB::ColumnConst::convertToFullColumnIfConst() const @ 0x000000000bcc0e80 in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/MaterializingTransform.cpp:16: DB::MaterializingTransform::transform(DB::Chunk&) @ 0x000000001ebdee73 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ce1c8 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b3ee0 in /usr/bin/clickhouse 28. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 29. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 30. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 2024.09.24 01:19:21.896794 [ 8853 ] {7565c87d-50ec-4a1f-a3b5-5ced3e762096} DynamicQueryHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 8.00 GiB (attempt to allocate chunk of 8589934592 bytes), maximum: 953.67 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<2ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b28b365 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<2ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b28b1f9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:235: COW::immutable_ptr DB::ColumnArray::replicateNumber(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000001d2131e4 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnArray.cpp:975: DB::ColumnArray::replicate(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000001d204bbb in /usr/bin/clickhouse 15. /build/src/Columns/ColumnConst.cpp:48: DB::ColumnConst::convertToFullColumn() const @ 0x000000001d23cb62 in /usr/bin/clickhouse 16. /build/src/Columns/ColumnConst.h:39: DB::ColumnConst::convertToFullColumnIfConst() const @ 0x000000000bcc0e80 in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/MaterializingTransform.cpp:16: DB::MaterializingTransform::transform(DB::Chunk&) @ 0x000000001ebdee73 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ce1c8 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b3ee0 in /usr/bin/clickhouse 28. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 29. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 30. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:19:28.660091 [ 12007 ] {646f3439-5774-4e34-a102-d511fc83445b} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 477.32 MiB (attempt to allocate chunk of 1048616 bytes), maximum: 476.84 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:35592) (comment: 01782_field_oom.sql) (in query: SELECT sumMap([number], [number]) FROM system.numbers_mt;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/AllocatorWithMemoryTracking.h:33: AllocatorWithMemoryTracking::allocate(unsigned long) @ 0x000000000b9703d6 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/allocate_at_least.h:35: std::allocation_result>::pointer> std::allocate_at_least[abi:v15000]>(AllocatorWithMemoryTracking&, unsigned long) @ 0x000000000b97033d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocate_at_least.h:42: auto std::__allocate_at_least[abi:v15000]>(AllocatorWithMemoryTracking&, unsigned long) @ 0x000000000b97021d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__split_buffer:316: std::__split_buffer&>::__split_buffer(unsigned long, unsigned long, AllocatorWithMemoryTracking&) @ 0x000000000c34034b in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/vector:1048: std::vector>::__append(unsigned long) @ 0x000000001468d1df in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/vector:1918: std::vector>::resize(unsigned long) @ 0x000000001468cf00 in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:252: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, false, false, true>::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x0000000015f5dcbf in /usr/bin/clickhouse 17. /build/src/AggregateFunctions/IAggregateFunction.h:541: DB::IAggregateFunctionHelper>::addBatchSinglePlace(unsigned long, unsigned long, char*, DB::IColumn const**, DB::Arena*, long) const @ 0x0000000015f6030a in /usr/bin/clickhouse 18. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeWithoutKeyImpl(char*&, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, DB::Arena*) const @ 0x000000001c0ded6e in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:1586: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02108f in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 2024.09.24 01:19:28.869552 [ 8835 ] {ce41e9a2-bb75-4f2d-8bf8-302939789f99} executeQuery: Code: 36. DB::Exception: Encrypted data is smaller than the size of additional data for AEAD mode, cannot decrypt.: While processing decrypt('aes-128-gcm', '[HIDDEN]'). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:35698) (comment: 01776_decrypt_aead_size_check.sql) (in query: SELECT decrypt('aes-128-gcm', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [90]) @ 0x000000000da018fe in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsAES.h:563: COW::immutable_ptr DB::FunctionDecrypt<(anonymous namespace)::DecryptImpl>::doDecryptImpl<(OpenSSLDetails::CipherMode)2, false>(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000da00047 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsAES.h:516: COW::immutable_ptr DB::FunctionDecrypt<(anonymous namespace)::DecryptImpl>::doDecrypt(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000d9ffdeb in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsAES.h:484: DB::FunctionDecrypt<(anonymous namespace)::DecryptImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d9ff423 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:19:28.870855 [ 8835 ] {ce41e9a2-bb75-4f2d-8bf8-302939789f99} TCPHandler: Code: 36. DB::Exception: Encrypted data is smaller than the size of additional data for AEAD mode, cannot decrypt.: While processing decrypt('aes-128-gcm', '[HIDDEN]'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [90]) @ 0x000000000da018fe in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsAES.h:563: COW::immutable_ptr DB::FunctionDecrypt<(anonymous namespace)::DecryptImpl>::doDecryptImpl<(OpenSSLDetails::CipherMode)2, false>(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000da00047 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsAES.h:516: COW::immutable_ptr DB::FunctionDecrypt<(anonymous namespace)::DecryptImpl>::doDecrypt(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000d9ffdeb in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsAES.h:484: DB::FunctionDecrypt<(anonymous namespace)::DecryptImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d9ff423 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:19:29.348254 [ 8853 ] {1542e753-8ebc-4525-a03e-28dab1b40ad8} executeQuery: Code: 36. DB::Exception: Value of width must not be NaN and Inf: While processing greatCircleAngle(1048575, 257, -9223372036854775808, 1048576) - NULL, bar(7, -inf, 1024). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:35702) (comment: 01774_bar_with_illegal_value.sql) (in query: SELECT greatCircleAngle(1048575, 257, -9223372036854775808, 1048576) - NULL, bar(7, -inf, 1024);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [39]) @ 0x000000000c57947e in /usr/bin/clickhouse 6. /build/src/Functions/bar.cpp:115: DB::(anonymous namespace)::FunctionBar::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c578a7b in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:19:29.349360 [ 8853 ] {1542e753-8ebc-4525-a03e-28dab1b40ad8} TCPHandler: Code: 36. DB::Exception: Value of width must not be NaN and Inf: While processing greatCircleAngle(1048575, 257, -9223372036854775808, 1048576) - NULL, bar(7, -inf, 1024). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [39]) @ 0x000000000c57947e in /usr/bin/clickhouse 6. /build/src/Functions/bar.cpp:115: DB::(anonymous namespace)::FunctionBar::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c578a7b in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:19:31.067340 [ 6745 ] {a83e76ca-0a4f-4b84-b0fc-157baf1582cb} executeQuery: Code: 407. DB::Exception: Convert overflow: While processing toUnixTimestamp(toDateTime64('1900-12-12 11:22:33', 0, 'UTC')). (DECIMAL_OVERFLOW) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:35744) (comment: 01768_extended_range.sql) (in query: SELECT toUnixTimestamp(toDateTime64('1900-12-12 11:22:33', 0, 'UTC'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25975e in /usr/bin/clickhouse 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl(DB::DateTime64 const&, unsigned int, unsigned int&) @ 0x000000000b2bcee6 in /usr/bin/clickhouse 7. /build/src/DataTypes/DataTypesDecimal.h:182: void DB::convertFromDecimalImpl, void>(DB::DataTypeDateTime64::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x000000000b2bce63 in /usr/bin/clickhouse 8. /build/src/DataTypes/DataTypesDecimal.h:193: DB::DataTypeNumber::FieldType DB::convertFromDecimal>(DB::DataTypeDateTime64::FieldType const&, unsigned int) @ 0x000000000b2bce1f in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:268: COW::immutable_ptr DB::ConvertImpl, DB::NameToUnixTimestamp, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000baf9697 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2039: bool DB::FunctionConvert, DB::NameToUnixTimestamp, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000baf4a18 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:202: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUnixTimestamp, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000bae3ed9 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToUnixTimestamp, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bae3228 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToUnixTimestamp, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bae243e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 2024.09.24 01:19:31.068527 [ 6745 ] {a83e76ca-0a4f-4b84-b0fc-157baf1582cb} TCPHandler: Code: 407. DB::Exception: Convert overflow: While processing toUnixTimestamp(toDateTime64('1900-12-12 11:22:33', 0, 'UTC')). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25975e in /usr/bin/clickhouse 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl(DB::DateTime64 const&, unsigned int, unsigned int&) @ 0x000000000b2bcee6 in /usr/bin/clickhouse 7. /build/src/DataTypes/DataTypesDecimal.h:182: void DB::convertFromDecimalImpl, void>(DB::DataTypeDateTime64::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x000000000b2bce63 in /usr/bin/clickhouse 8. /build/src/DataTypes/DataTypesDecimal.h:193: DB::DataTypeNumber::FieldType DB::convertFromDecimal>(DB::DataTypeDateTime64::FieldType const&, unsigned int) @ 0x000000000b2bce1f in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:268: COW::immutable_ptr DB::ConvertImpl, DB::NameToUnixTimestamp, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000baf9697 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2039: bool DB::FunctionConvert, DB::NameToUnixTimestamp, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000baf4a18 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:202: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUnixTimestamp, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000bae3ed9 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToUnixTimestamp, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bae3228 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToUnixTimestamp, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bae243e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 2024.09.24 01:19:35.897202 [ 8836 ] {c7cde65b-43fe-4bfc-93e7-e2ca53b3d7d3} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP column n3 which is referenced by materialized view ['01746_merge_tree_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39582) (comment: 01746_forbid_drop_column_referenced_by_mv.sql) (in query: ALTER TABLE `01746_merge_tree` DROP COLUMN n3;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3324: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de90f36 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:35.898317 [ 8836 ] {c7cde65b-43fe-4bfc-93e7-e2ca53b3d7d3} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP column n3 which is referenced by materialized view ['01746_merge_tree_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3324: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de90f36 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:35.915788 [ 8836 ] {5735a462-cfc4-4203-bf34-fe9111fabe0e} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP column n2 which is referenced by materialized view ['01746_merge_tree_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39582) (comment: 01746_forbid_drop_column_referenced_by_mv.sql) (in query: ALTER TABLE `01746_merge_tree` DROP COLUMN n2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3324: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de90f36 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:35.916628 [ 8836 ] {5735a462-cfc4-4203-bf34-fe9111fabe0e} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP column n2 which is referenced by materialized view ['01746_merge_tree_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3324: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de90f36 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:36.102452 [ 8836 ] {9c833ff6-9bee-416f-a1ea-abf1c0eb175e} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP column n1 which is referenced by materialized view ['01746_null_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39582) (comment: 01746_forbid_drop_column_referenced_by_mv.sql) (in query: ALTER TABLE `01746_null` DROP COLUMN n1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Storages/StorageNull.cpp:58: DB::StorageNull::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001d7d7275 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:36.103273 [ 8836 ] {9c833ff6-9bee-416f-a1ea-abf1c0eb175e} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP column n1 which is referenced by materialized view ['01746_null_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Storages/StorageNull.cpp:58: DB::StorageNull::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001d7d7275 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:36.112707 [ 8836 ] {f1f33dca-76af-48a4-8891-254f7478f114} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP column n2 which is referenced by materialized view ['01746_null_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39582) (comment: 01746_forbid_drop_column_referenced_by_mv.sql) (in query: ALTER TABLE `01746_null` DROP COLUMN n2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Storages/StorageNull.cpp:58: DB::StorageNull::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001d7d7275 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:36.113259 [ 8836 ] {f1f33dca-76af-48a4-8891-254f7478f114} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP column n2 which is referenced by materialized view ['01746_null_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Storages/StorageNull.cpp:58: DB::StorageNull::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001d7d7275 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:36.298116 [ 8836 ] {6bf9f84d-c803-4222-a80a-fdfd7ebc4afe} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP column n1 which is referenced by materialized view ['01746_dist_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39582) (comment: 01746_forbid_drop_column_referenced_by_mv.sql) (in query: ALTER TABLE `01746_dist` DROP COLUMN n1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1088: DB::StorageDistributed::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001d65e2e2 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:36.298786 [ 8836 ] {6bf9f84d-c803-4222-a80a-fdfd7ebc4afe} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP column n1 which is referenced by materialized view ['01746_dist_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1088: DB::StorageDistributed::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001d65e2e2 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:36.307301 [ 8836 ] {7f234ce6-0c50-4370-9ddc-56ec14dff29f} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP column n2 which is referenced by materialized view ['01746_dist_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39582) (comment: 01746_forbid_drop_column_referenced_by_mv.sql) (in query: ALTER TABLE `01746_dist` DROP COLUMN n2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1088: DB::StorageDistributed::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001d65e2e2 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:36.307851 [ 8836 ] {7f234ce6-0c50-4370-9ddc-56ec14dff29f} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP column n2 which is referenced by materialized view ['01746_dist_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1088: DB::StorageDistributed::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001d65e2e2 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:36.477862 [ 8836 ] {399181cf-b6a9-42b3-80ab-93d94e7e0044} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP column n1 which is referenced by materialized view ['01746_merge_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39582) (comment: 01746_forbid_drop_column_referenced_by_mv.sql) (in query: ALTER TABLE `01746_merge` DROP COLUMN n1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMerge.cpp:1088: DB::StorageMerge::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001d75b155 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:36.478706 [ 8836 ] {399181cf-b6a9-42b3-80ab-93d94e7e0044} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP column n1 which is referenced by materialized view ['01746_merge_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMerge.cpp:1088: DB::StorageMerge::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001d75b155 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:36.487013 [ 8836 ] {9cd0d0dc-cd1d-49a6-93fc-8a89eea62b41} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP column n2 which is referenced by materialized view ['01746_merge_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39582) (comment: 01746_forbid_drop_column_referenced_by_mv.sql) (in query: ALTER TABLE `01746_merge` DROP COLUMN n2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMerge.cpp:1088: DB::StorageMerge::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001d75b155 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:36.487561 [ 8836 ] {9cd0d0dc-cd1d-49a6-93fc-8a89eea62b41} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP column n2 which is referenced by materialized view ['01746_merge_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMerge.cpp:1088: DB::StorageMerge::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001d75b155 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:36.649926 [ 8836 ] {305f80c8-7049-4c56-8b5c-178d1d6e08e0} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP column n1 which is referenced by materialized view ['01746_buffer_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39582) (comment: 01746_forbid_drop_column_referenced_by_mv.sql) (in query: ALTER TABLE `01746_buffer` DROP COLUMN n1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Storages/StorageBuffer.cpp:1038: DB::StorageBuffer::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001da8c4f5 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:36.650638 [ 8836 ] {305f80c8-7049-4c56-8b5c-178d1d6e08e0} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP column n1 which is referenced by materialized view ['01746_buffer_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Storages/StorageBuffer.cpp:1038: DB::StorageBuffer::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001da8c4f5 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:36.658420 [ 8836 ] {81dd7f55-f984-474b-bf61-b0f9f044e7a2} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP column n2 which is referenced by materialized view ['01746_buffer_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39582) (comment: 01746_forbid_drop_column_referenced_by_mv.sql) (in query: ALTER TABLE `01746_buffer` DROP COLUMN n2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Storages/StorageBuffer.cpp:1038: DB::StorageBuffer::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001da8c4f5 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:36.659030 [ 8836 ] {81dd7f55-f984-474b-bf61-b0f9f044e7a2} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP column n2 which is referenced by materialized view ['01746_buffer_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Storages/StorageBuffer.cpp:1038: DB::StorageBuffer::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001da8c4f5 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:38.235725 [ 8836 ] {30bd9104-5dd7-4788-ad3d-607ceb13df1a} executeQuery: Code: 558. DB::Exception: Expected ALL or DISTINCT in SelectWithUnion query, because setting (union_default_mode) is empty: While processing SELECT 1 UNION SELECT 1 UNION ALL SELECT 1. (EXPECTED_ALL_OR_DISTINCT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39602) (comment: 01732_union_and_union_all.sql) (in query: select 1 UNION select 1 UNION ALL select 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [97]) @ 0x000000000b253a1e in /usr/bin/clickhouse 6. /build/src/Interpreters/NormalizeSelectWithUnionQueryVisitor.cpp:74: DB::NormalizeSelectWithUnionQueryMatcher::visit(DB::ASTSelectWithUnionQuery&, DB::NormalizeSelectWithUnionQueryMatcher::Data&) @ 0x000000001d0c573a in /usr/bin/clickhouse 7. /build/src/Interpreters/NormalizeSelectWithUnionQueryVisitor.cpp:36: DB::NormalizeSelectWithUnionQueryMatcher::visit(std::shared_ptr&, DB::NormalizeSelectWithUnionQueryMatcher::Data&) @ 0x000000001d0c5407 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001d0bce60 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001d0bcfae in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001d0bcd2a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001d0ba305 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:847: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0ae299 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 21. ? @ 0x00007f1d281b3ac3 in ? 22. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:38.236518 [ 8836 ] {30bd9104-5dd7-4788-ad3d-607ceb13df1a} TCPHandler: Code: 558. DB::Exception: Expected ALL or DISTINCT in SelectWithUnion query, because setting (union_default_mode) is empty: While processing SELECT 1 UNION SELECT 1 UNION ALL SELECT 1. (EXPECTED_ALL_OR_DISTINCT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [97]) @ 0x000000000b253a1e in /usr/bin/clickhouse 6. /build/src/Interpreters/NormalizeSelectWithUnionQueryVisitor.cpp:74: DB::NormalizeSelectWithUnionQueryMatcher::visit(DB::ASTSelectWithUnionQuery&, DB::NormalizeSelectWithUnionQueryMatcher::Data&) @ 0x000000001d0c573a in /usr/bin/clickhouse 7. /build/src/Interpreters/NormalizeSelectWithUnionQueryVisitor.cpp:36: DB::NormalizeSelectWithUnionQueryMatcher::visit(std::shared_ptr&, DB::NormalizeSelectWithUnionQueryMatcher::Data&) @ 0x000000001d0c5407 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001d0bce60 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001d0bcfae in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001d0bcd2a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001d0ba305 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:847: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0ae299 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 21. ? @ 0x00007f1d281b3ac3 in ? 22. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:40.779561 [ 12043 ] {a86a6d5d-c41d-4515-b992-eb85f0540a9e} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP key s column which is a part of key expression. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39632) (comment: 01716_drop_rename_sign_column.sql) (in query: ALTER TABLE signed_table DROP COLUMN s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3308: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de90ccb in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:40.780346 [ 12043 ] {a86a6d5d-c41d-4515-b992-eb85f0540a9e} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP key s column which is a part of key expression. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3308: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de90ccb in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:40.885269 [ 12043 ] {169801de-30a9-467d-9647-20e78b9bf6b3} executeQuery: Code: 524. DB::Exception: Trying to ALTER RENAME key s column which is a part of key expression. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39632) (comment: 01716_drop_rename_sign_column.sql) (in query: ALTER TABLE signed_table RENAME COLUMN s TO s1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3288: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de90956 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:40.886111 [ 12043 ] {169801de-30a9-467d-9647-20e78b9bf6b3} TCPHandler: Code: 524. DB::Exception: Trying to ALTER RENAME key s column which is a part of key expression. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3288: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de90956 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:42.402144 [ 6745 ] {2c7ec7bb-8d0e-4453-a09e-d3635dddec18} executeQuery: Code: 583. DB::Exception: When aggregation is used in projection, ORDER BY cannot be specified. (ILLEGAL_PROJECTION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:38558) (comment: 01710_projection_group_by_order_by.sql) (in query: create table tp (type Int32, eventcnt UInt64, projection p (select sum(eventcnt), type group by type order by sum(eventcnt))) engine = MergeTree order by type;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [69]) @ 0x000000000d56fd9e in /usr/bin/clickhouse 6. /build/src/Storages/ProjectionsDescription.cpp:133: DB::ProjectionDescription::getProjectionFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x000000001d610f45 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:717: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e9dd1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f0864 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:42.402960 [ 6745 ] {2c7ec7bb-8d0e-4453-a09e-d3635dddec18} TCPHandler: Code: 583. DB::Exception: When aggregation is used in projection, ORDER BY cannot be specified. (ILLEGAL_PROJECTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [69]) @ 0x000000000d56fd9e in /usr/bin/clickhouse 6. /build/src/Storages/ProjectionsDescription.cpp:133: DB::ProjectionDescription::getProjectionFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x000000001d610f45 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:717: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e9dd1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f0864 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:42.801107 [ 6745 ] {56fd8adf-56be-4a3e-a0de-8c645836fa2a} executeQuery: Code: 46. DB::Exception: Table function 'view' cannot be used as an expression. (UNKNOWN_FUNCTION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:38562) (comment: 01715_table_function_view_fix.sql) (in query: SELECT sumIf(dummy, dummy) FROM remote('127.0.0.{1,2}', numbers(2, 100), view(SELECT CAST(NULL, 'Nullable(UInt8)') AS dummy FROM system.one));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Parsers/ASTFunction.cpp:477: DB::ASTFunction::appendColumnNameImpl(DB::WriteBuffer&) const @ 0x000000001f354cd3 in /usr/bin/clickhouse 7. /build/src/Parsers/ASTWithAlias.cpp:51: DB::ASTWithAlias::appendColumnName(DB::WriteBuffer&) const @ 0x000000001f3a689d in /usr/bin/clickhouse 8. /build/src/Parsers/IAST.cpp:197: DB::IAST::getColumnName() const @ 0x000000001f3fe676 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1688: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x000000001bfb8e56 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionAnalyzer.cpp:1729: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x000000001bfb92c3 in /usr/bin/clickhouse 11. /build/src/Storages/StorageDistributed.cpp:219: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x000000001d6545f3 in /usr/bin/clickhouse 12. /build/src/Storages/StorageDistributed.cpp:354: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x000000001d6530aa in /usr/bin/clickhouse 13. /build/src/Storages/StorageDistributed.cpp:396: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, std::shared_ptr, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr) @ 0x000000001d6553bd in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageDistributed* std::construct_at[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, DB::StorageDistributed*>(DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a954e90 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void, void>(std::allocator&, DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a954b22 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a954774 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, std::shared_ptr const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a95453f in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a94fba8 in /usr/bin/clickhouse 19. /build/src/TableFunctions/TableFunctionRemote.cpp:309: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a94c9d1 in /usr/bin/clickhouse 20. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 21. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 22. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 2024.09.24 01:19:42.802277 [ 6745 ] {56fd8adf-56be-4a3e-a0de-8c645836fa2a} TCPHandler: Code: 46. DB::Exception: Table function 'view' cannot be used as an expression. (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Parsers/ASTFunction.cpp:477: DB::ASTFunction::appendColumnNameImpl(DB::WriteBuffer&) const @ 0x000000001f354cd3 in /usr/bin/clickhouse 7. /build/src/Parsers/ASTWithAlias.cpp:51: DB::ASTWithAlias::appendColumnName(DB::WriteBuffer&) const @ 0x000000001f3a689d in /usr/bin/clickhouse 8. /build/src/Parsers/IAST.cpp:197: DB::IAST::getColumnName() const @ 0x000000001f3fe676 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1688: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x000000001bfb8e56 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionAnalyzer.cpp:1729: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x000000001bfb92c3 in /usr/bin/clickhouse 11. /build/src/Storages/StorageDistributed.cpp:219: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x000000001d6545f3 in /usr/bin/clickhouse 12. /build/src/Storages/StorageDistributed.cpp:354: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x000000001d6530aa in /usr/bin/clickhouse 13. /build/src/Storages/StorageDistributed.cpp:396: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, std::shared_ptr, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr) @ 0x000000001d6553bd in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageDistributed* std::construct_at[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, DB::StorageDistributed*>(DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a954e90 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void, void>(std::allocator&, DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a954b22 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a954774 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, std::shared_ptr const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a95453f in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a94fba8 in /usr/bin/clickhouse 19. /build/src/TableFunctions/TableFunctionRemote.cpp:309: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a94c9d1 in /usr/bin/clickhouse 20. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 21. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 22. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 2024.09.24 01:19:47.240453 [ 12043 ] {cb01b3e4-ccab-4c4b-b2a1-2d7ceb880e55} executeQuery: Code: 584. DB::Exception: No projection is used when optimize_use_projections = 1 and force_optimize_projection = 1. (PROJECTION_NOT_USED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:38622) (comment: 01710_force_use_projection.sql) (in query: select avg(eventcnt) eventcnt, d1 from tp group by d1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [90]) @ 0x000000000da018fe in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:179: DB::QueryPlanOptimizations::optimizeTreeSecondPass(DB::QueryPlanOptimizationSettings const&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001ef2a327 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/QueryPlan.cpp:483: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x000000001ee783fd in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/QueryPlan.cpp:169: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee77f17 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd8cb in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:47.241425 [ 12043 ] {cb01b3e4-ccab-4c4b-b2a1-2d7ceb880e55} TCPHandler: Code: 584. DB::Exception: No projection is used when optimize_use_projections = 1 and force_optimize_projection = 1. (PROJECTION_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [90]) @ 0x000000000da018fe in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:179: DB::QueryPlanOptimizations::optimizeTreeSecondPass(DB::QueryPlanOptimizationSettings const&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001ef2a327 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/QueryPlan.cpp:483: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x000000001ee783fd in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/QueryPlan.cpp:169: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee77f17 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd8cb in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:47.637704 [ 12007 ] {646f3439-5774-4e34-a102-d511fc83445b} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 477.32 MiB (attempt to allocate chunk of 1048616 bytes), maximum: 476.84 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/AllocatorWithMemoryTracking.h:33: AllocatorWithMemoryTracking::allocate(unsigned long) @ 0x000000000b9703d6 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/allocate_at_least.h:35: std::allocation_result>::pointer> std::allocate_at_least[abi:v15000]>(AllocatorWithMemoryTracking&, unsigned long) @ 0x000000000b97033d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocate_at_least.h:42: auto std::__allocate_at_least[abi:v15000]>(AllocatorWithMemoryTracking&, unsigned long) @ 0x000000000b97021d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__split_buffer:316: std::__split_buffer&>::__split_buffer(unsigned long, unsigned long, AllocatorWithMemoryTracking&) @ 0x000000000c34034b in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/vector:1048: std::vector>::__append(unsigned long) @ 0x000000001468d1df in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/vector:1918: std::vector>::resize(unsigned long) @ 0x000000001468cf00 in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:252: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, false, false, true>::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x0000000015f5dcbf in /usr/bin/clickhouse 17. /build/src/AggregateFunctions/IAggregateFunction.h:541: DB::IAggregateFunctionHelper>::addBatchSinglePlace(unsigned long, unsigned long, char*, DB::IColumn const**, DB::Arena*, long) const @ 0x0000000015f6030a in /usr/bin/clickhouse 18. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeWithoutKeyImpl(char*&, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, DB::Arena*) const @ 0x000000001c0ded6e in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:1586: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02108f in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 2024.09.24 01:19:53.563517 [ 2930 ] {77e44fc8-776e-4e02-8919-fcb39bcaaddb} executeQuery: Code: 43. DB::Exception: Illegal type String expression, must be numeric type. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:41816) (comment: 01702_system_numbers_scientific_notation.sql) (in query: select * from numbers_mt('100') format Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:64: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001a959628 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:43: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a9587b2 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:53.564476 [ 2930 ] {77e44fc8-776e-4e02-8919-fcb39bcaaddb} TCPHandler: Code: 43. DB::Exception: Illegal type String expression, must be numeric type. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:64: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001a959628 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:43: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a9587b2 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:53.725854 [ 2930 ] {52f34be8-fdfc-498b-9ef0-405cb7da669d} executeQuery: Code: 43. DB::Exception: The value inf is not representable as UInt64. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:41816) (comment: 01702_system_numbers_scientific_notation.sql) (in query: select * from numbers_mt(inf) format Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:68: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001a9597fd in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:43: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a9587b2 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:53.727296 [ 2930 ] {52f34be8-fdfc-498b-9ef0-405cb7da669d} TCPHandler: Code: 43. DB::Exception: The value inf is not representable as UInt64. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:68: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001a9597fd in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:43: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a9587b2 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:53.735707 [ 2930 ] {7511d19f-3337-44aa-adbf-c53463f6049d} executeQuery: Code: 43. DB::Exception: The value nan is not representable as UInt64. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:41816) (comment: 01702_system_numbers_scientific_notation.sql) (in query: select * from numbers_mt(nan) format Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:68: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001a9597fd in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:43: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a9587b2 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:53.736847 [ 2930 ] {7511d19f-3337-44aa-adbf-c53463f6049d} TCPHandler: Code: 43. DB::Exception: The value nan is not representable as UInt64. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:68: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001a9597fd in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:43: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a9587b2 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:54.253386 [ 12003 ] {b561923a-295f-40ad-b8da-c1b14f0d97b8} executeQuery: Code: 36. DB::Exception: The coordinates of the point are such that subsequent calculations cannot be performed correctly. Most likely they are very large in modulus.: While processing pointInPolygon((0, 0), [[(0, 0), (10, 10), (256, -9223372036854775808)]]). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:41854) (comment: 01700_point_in_polygon_ubsan.sql) (in query: SELECT pointInPolygon((0, 0), [[(0, 0), (10, 10), (256, -9223372036854775808)]]) FORMAT Null ;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [142]) @ 0x0000000011ce12be in /usr/bin/clickhouse 6. /build/src/Functions/pointInPolygon.cpp:432: void DB::(anonymous namespace)::FunctionPointInPolygon>::parseRing, false, true, std::vector, std::allocator>>(double const*, double const*, unsigned long, unsigned long, boost::geometry::model::ring, false, true, std::vector, std::allocator>&) const @ 0x0000000011cddbce in /usr/bin/clickhouse 7. /build/src/Functions/pointInPolygon.cpp:472: DB::(anonymous namespace)::FunctionPointInPolygon>::parseConstPolygonWithHolesFromSingleColumn(DB::IColumn const&, unsigned long, boost::geometry::model::polygon, false, true, std::vector, std::vector, std::allocator, std::allocator>&) const @ 0x0000000011cdd913 in /usr/bin/clickhouse 8. /build/src/Functions/pointInPolygon.cpp:534: DB::(anonymous namespace)::FunctionPointInPolygon>::parseConstPolygonFromSingleColumn(std::vector> const&, boost::geometry::model::polygon, false, true, std::vector, std::vector, std::allocator, std::allocator>&) const @ 0x0000000011cdc9f4 in /usr/bin/clickhouse 9. /build/src/Functions/pointInPolygon.cpp:555: DB::(anonymous namespace)::FunctionPointInPolygon>::parseConstPolygon(std::vector> const&, boost::geometry::model::polygon, false, true, std::vector, std::vector, std::allocator, std::allocator>&) const @ 0x0000000011cdbf03 in /usr/bin/clickhouse 10. /build/src/Functions/pointInPolygon.cpp:183: DB::(anonymous namespace)::FunctionPointInPolygon>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011cda299 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:19:54.254388 [ 12003 ] {b561923a-295f-40ad-b8da-c1b14f0d97b8} TCPHandler: Code: 36. DB::Exception: The coordinates of the point are such that subsequent calculations cannot be performed correctly. Most likely they are very large in modulus.: While processing pointInPolygon((0, 0), [[(0, 0), (10, 10), (256, -9223372036854775808)]]). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [142]) @ 0x0000000011ce12be in /usr/bin/clickhouse 6. /build/src/Functions/pointInPolygon.cpp:432: void DB::(anonymous namespace)::FunctionPointInPolygon>::parseRing, false, true, std::vector, std::allocator>>(double const*, double const*, unsigned long, unsigned long, boost::geometry::model::ring, false, true, std::vector, std::allocator>&) const @ 0x0000000011cddbce in /usr/bin/clickhouse 7. /build/src/Functions/pointInPolygon.cpp:472: DB::(anonymous namespace)::FunctionPointInPolygon>::parseConstPolygonWithHolesFromSingleColumn(DB::IColumn const&, unsigned long, boost::geometry::model::polygon, false, true, std::vector, std::vector, std::allocator, std::allocator>&) const @ 0x0000000011cdd913 in /usr/bin/clickhouse 8. /build/src/Functions/pointInPolygon.cpp:534: DB::(anonymous namespace)::FunctionPointInPolygon>::parseConstPolygonFromSingleColumn(std::vector> const&, boost::geometry::model::polygon, false, true, std::vector, std::vector, std::allocator, std::allocator>&) const @ 0x0000000011cdc9f4 in /usr/bin/clickhouse 9. /build/src/Functions/pointInPolygon.cpp:555: DB::(anonymous namespace)::FunctionPointInPolygon>::parseConstPolygon(std::vector> const&, boost::geometry::model::polygon, false, true, std::vector, std::vector, std::allocator, std::allocator>&) const @ 0x0000000011cdbf03 in /usr/bin/clickhouse 10. /build/src/Functions/pointInPolygon.cpp:183: DB::(anonymous namespace)::FunctionPointInPolygon>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011cda299 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:19:56.465018 [ 12043 ] {0c5d3f48-56ff-446a-9153-f0399568cc09} executeQuery: Code: 128. DB::Exception: Too large array size: 9223372036854775808, maximum: 1073741824: While processing arrayResize([1, 2, 3], -9223372036854775808). (TOO_LARGE_ARRAY_SIZE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:41902) (comment: 01682_gather_utils_ubsan.sql) (in query: SELECT arrayResize([1, 2, 3], -9223372036854775808);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long const&) @ 0x000000000c4b2acc in /usr/bin/clickhouse 6. /build/src/Functions/GatherUtils/Algorithms.h:719: void DB::GatherUtils::resizeDynamicSize&, DB::GatherUtils::ConstSource>&, DB::GatherUtils::NumericArraySink&>(DB::GatherUtils::NumericArraySource&, DB::GatherUtils::ConstSource>&, DB::GatherUtils::NumericArraySink&, DB::IColumn const&) @ 0x000000001a605f60 in /usr/bin/clickhouse 7. /build/src/Functions/GatherUtils/resizeDynamicSize.cpp:20: void DB::GatherUtils::(anonymous namespace)::ArrayResizeDynamic::selectArrayAndValueSourceBySink&, DB::GatherUtils::ConstSource>&, DB::GatherUtils::NumericArraySink&>(DB::GatherUtils::NumericArraySource&, DB::GatherUtils::ConstSource>&, DB::GatherUtils::NumericArraySink&, DB::IColumn const&) @ 0x000000001a5bce2d in /usr/bin/clickhouse 8. /build/src/Functions/GatherUtils/Selectors.h:150: auto void DB::GatherUtils::ArrayAndValueSourceSelectorBySink::selectImpl&, DB::IColumn const&>(DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&)::'lambda'(DB::GatherUtils::NumericArraySink&, auto)::operator()*, DB::GatherUtils::ConstSource>*>(DB::GatherUtils::NumericArraySink&, auto) const @ 0x000000001a5bc212 in /usr/bin/clickhouse 9. /build/src/Functions/GatherUtils/Selectors.h:159: void DB::GatherUtils::ArrayAndValueSourceSelectorBySink::selectImpl&, DB::IColumn const&>(DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&) @ 0x000000001a5bc0b7 in /usr/bin/clickhouse 10. /build/src/Functions/GatherUtils/Selectors.h:32: void DB::GatherUtils::callSelectMemberFunctionWithTupleArgument, std::tuple, 3, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&>(std::tuple&, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&) @ 0x000000001a5bbf91 in /usr/bin/clickhouse 11. /build/src/Functions/GatherUtils/Selectors.h:32: void DB::GatherUtils::callSelectMemberFunctionWithTupleArgument, std::tuple, 2, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&>(std::tuple&, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&) @ 0x000000001a5bbf59 in /usr/bin/clickhouse 12. /build/src/Functions/GatherUtils/Selectors.h:32: void DB::GatherUtils::callSelectMemberFunctionWithTupleArgument, std::tuple, 1, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&>(std::tuple&, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&) @ 0x000000001a5bbee9 in /usr/bin/clickhouse 13. /build/src/Functions/GatherUtils/Selectors.h:32: void DB::GatherUtils::callSelectMemberFunctionWithTupleArgument, std::tuple, 0, DB::GatherUtils::NumericArraySink&>(std::tuple&, DB::GatherUtils::NumericArraySink&) @ 0x000000001a5bbe99 in /usr/bin/clickhouse 14. /build/src/Functions/GatherUtils/Selectors.h:83: void DB::GatherUtils::ArraySinkSelectorVisitor, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&>::visitImpl>(DB::GatherUtils::NumericArraySink&) @ 0x000000001a5bbe41 in /usr/bin/clickhouse 15. /build/src/Common/Visitor.h:134: DB::VisitorImplHelper, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&>, DB::GatherUtils::ArraySinkVisitor, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink>>, DB::GatherUtils::NumericArraySink>>, DB::GatherUtils::NumericArraySink, DB::UUIDTag>>, DB::GatherUtils::GenericArraySink, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>>>, DB::GatherUtils::NullableArraySink>>>, DB::GatherUtils::NullableArraySink, DB::UUIDTag>>>, DB::GatherUtils::NullableArraySink>::visit(DB::GatherUtils::NumericArraySink&) @ 0x000000001a59351d in /usr/bin/clickhouse 16. /build/src/Common/Visitor.h:165: DB::Visitable, DB::GatherUtils::IArraySink, DB::GatherUtils::ArraySinkVisitor>::accept(DB::GatherUtils::ArraySinkVisitor&) @ 0x000000000f14fce1 in /usr/bin/clickhouse 17. /build/src/Functions/GatherUtils/Selectors.h:96: void DB::GatherUtils::ArraySinkSelector>::select(DB::GatherUtils::IArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&) @ 0x000000001a592a7b in /usr/bin/clickhouse 18. /build/src/Functions/GatherUtils/resizeDynamicSize.cpp:28: DB::GatherUtils::resizeDynamicSize(DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::GatherUtils::IArraySink&, DB::IColumn const&) @ 0x000000001a592a2d in /usr/bin/clickhouse 19. /build/src/Functions/array/arrayResize.cpp:126: DB::FunctionArrayResize::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000132bf493 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:19:56.466074 [ 12043 ] {0c5d3f48-56ff-446a-9153-f0399568cc09} TCPHandler: Code: 128. DB::Exception: Too large array size: 9223372036854775808, maximum: 1073741824: While processing arrayResize([1, 2, 3], -9223372036854775808). (TOO_LARGE_ARRAY_SIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long const&) @ 0x000000000c4b2acc in /usr/bin/clickhouse 6. /build/src/Functions/GatherUtils/Algorithms.h:719: void DB::GatherUtils::resizeDynamicSize&, DB::GatherUtils::ConstSource>&, DB::GatherUtils::NumericArraySink&>(DB::GatherUtils::NumericArraySource&, DB::GatherUtils::ConstSource>&, DB::GatherUtils::NumericArraySink&, DB::IColumn const&) @ 0x000000001a605f60 in /usr/bin/clickhouse 7. /build/src/Functions/GatherUtils/resizeDynamicSize.cpp:20: void DB::GatherUtils::(anonymous namespace)::ArrayResizeDynamic::selectArrayAndValueSourceBySink&, DB::GatherUtils::ConstSource>&, DB::GatherUtils::NumericArraySink&>(DB::GatherUtils::NumericArraySource&, DB::GatherUtils::ConstSource>&, DB::GatherUtils::NumericArraySink&, DB::IColumn const&) @ 0x000000001a5bce2d in /usr/bin/clickhouse 8. /build/src/Functions/GatherUtils/Selectors.h:150: auto void DB::GatherUtils::ArrayAndValueSourceSelectorBySink::selectImpl&, DB::IColumn const&>(DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&)::'lambda'(DB::GatherUtils::NumericArraySink&, auto)::operator()*, DB::GatherUtils::ConstSource>*>(DB::GatherUtils::NumericArraySink&, auto) const @ 0x000000001a5bc212 in /usr/bin/clickhouse 9. /build/src/Functions/GatherUtils/Selectors.h:159: void DB::GatherUtils::ArrayAndValueSourceSelectorBySink::selectImpl&, DB::IColumn const&>(DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&) @ 0x000000001a5bc0b7 in /usr/bin/clickhouse 10. /build/src/Functions/GatherUtils/Selectors.h:32: void DB::GatherUtils::callSelectMemberFunctionWithTupleArgument, std::tuple, 3, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&>(std::tuple&, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&) @ 0x000000001a5bbf91 in /usr/bin/clickhouse 11. /build/src/Functions/GatherUtils/Selectors.h:32: void DB::GatherUtils::callSelectMemberFunctionWithTupleArgument, std::tuple, 2, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&>(std::tuple&, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&) @ 0x000000001a5bbf59 in /usr/bin/clickhouse 12. /build/src/Functions/GatherUtils/Selectors.h:32: void DB::GatherUtils::callSelectMemberFunctionWithTupleArgument, std::tuple, 1, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&>(std::tuple&, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&) @ 0x000000001a5bbee9 in /usr/bin/clickhouse 13. /build/src/Functions/GatherUtils/Selectors.h:32: void DB::GatherUtils::callSelectMemberFunctionWithTupleArgument, std::tuple, 0, DB::GatherUtils::NumericArraySink&>(std::tuple&, DB::GatherUtils::NumericArraySink&) @ 0x000000001a5bbe99 in /usr/bin/clickhouse 14. /build/src/Functions/GatherUtils/Selectors.h:83: void DB::GatherUtils::ArraySinkSelectorVisitor, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&>::visitImpl>(DB::GatherUtils::NumericArraySink&) @ 0x000000001a5bbe41 in /usr/bin/clickhouse 15. /build/src/Common/Visitor.h:134: DB::VisitorImplHelper, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&>, DB::GatherUtils::ArraySinkVisitor, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink>>, DB::GatherUtils::NumericArraySink>>, DB::GatherUtils::NumericArraySink, DB::UUIDTag>>, DB::GatherUtils::GenericArraySink, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>>>, DB::GatherUtils::NullableArraySink>>>, DB::GatherUtils::NullableArraySink, DB::UUIDTag>>>, DB::GatherUtils::NullableArraySink>::visit(DB::GatherUtils::NumericArraySink&) @ 0x000000001a59351d in /usr/bin/clickhouse 16. /build/src/Common/Visitor.h:165: DB::Visitable, DB::GatherUtils::IArraySink, DB::GatherUtils::ArraySinkVisitor>::accept(DB::GatherUtils::ArraySinkVisitor&) @ 0x000000000f14fce1 in /usr/bin/clickhouse 17. /build/src/Functions/GatherUtils/Selectors.h:96: void DB::GatherUtils::ArraySinkSelector>::select(DB::GatherUtils::IArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&) @ 0x000000001a592a7b in /usr/bin/clickhouse 18. /build/src/Functions/GatherUtils/resizeDynamicSize.cpp:28: DB::GatherUtils::resizeDynamicSize(DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::GatherUtils::IArraySink&, DB::IColumn const&) @ 0x000000001a592a2d in /usr/bin/clickhouse 19. /build/src/Functions/array/arrayResize.cpp:126: DB::FunctionArrayResize::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000132bf493 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:19:56.742777 [ 1125 ] {bfae12d8-f9ad-44b7-8665-fa6c928e76ce} executeQuery: Code: 55. DB::Exception: Method write is not supported by storage Distributed with more than one shard and no sharding key provided. (STORAGE_REQUIRES_PARAMETER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:41890) (comment: 01684_insert_specify_shard_id.sql) (in query: -- no sharding key INSERT INTO x_dist SELECT * FROM numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:826: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001d65aa89 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:56.743620 [ 1125 ] {bfae12d8-f9ad-44b7-8665-fa6c928e76ce} TCPHandler: Code: 55. DB::Exception: Method write is not supported by storage Distributed with more than one shard and no sharding key provided. (STORAGE_REQUIRES_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:826: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001d65aa89 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:56.754354 [ 1125 ] {b2b11e15-7944-4acc-a43d-f7453c324428} executeQuery: Code: 55. DB::Exception: Method write is not supported by storage Distributed with more than one shard and no sharding key provided. (STORAGE_REQUIRES_PARAMETER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:41890) (comment: 01684_insert_specify_shard_id.sql) (in query: INSERT INTO y_dist SELECT * FROM numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:826: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001d65aa89 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:56.755129 [ 1125 ] {b2b11e15-7944-4acc-a43d-f7453c324428} TCPHandler: Code: 55. DB::Exception: Method write is not supported by storage Distributed with more than one shard and no sharding key provided. (STORAGE_REQUIRES_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:826: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001d65aa89 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:56.874550 [ 1125 ] {462860e2-39de-4f26-ae8c-51c1d7bd6363} executeQuery: Code: 577. DB::Exception: Shard id should be range from 1 to shard number. (INVALID_SHARD_ID) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:41890) (comment: 01684_insert_specify_shard_id.sql) (in query: -- invalid shard id INSERT INTO x_dist SELECT * FROM numbers(10) settings insert_shard_id = 3;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [48]) @ 0x000000000b9147fe in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:832: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001d65abb6 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:56.875367 [ 1125 ] {462860e2-39de-4f26-ae8c-51c1d7bd6363} TCPHandler: Code: 577. DB::Exception: Shard id should be range from 1 to shard number. (INVALID_SHARD_ID), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [48]) @ 0x000000000b9147fe in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:832: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001d65abb6 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:56.887648 [ 1125 ] {c4082038-e776-460b-99b9-8153b6334fa3} executeQuery: Code: 577. DB::Exception: Shard id should be range from 1 to shard number. (INVALID_SHARD_ID) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:41890) (comment: 01684_insert_specify_shard_id.sql) (in query: INSERT INTO y_dist SELECT * FROM numbers(10) settings insert_shard_id = 3;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [48]) @ 0x000000000b9147fe in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:832: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001d65abb6 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:56.888521 [ 1125 ] {c4082038-e776-460b-99b9-8153b6334fa3} TCPHandler: Code: 577. DB::Exception: Shard id should be range from 1 to shard number. (INVALID_SHARD_ID), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [48]) @ 0x000000000b9147fe in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:832: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001d65abb6 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:19:58.743249 [ 2930 ] {e4caa3ef-d3a6-436f-bac3-77718f3b0463} executeQuery: Code: 43. DB::Exception: Illegal type of argument #2 'input' of function encrypt, expected plaintext, got Array(Nullable(Int16)): While processing encrypt('aes-128-ecb', '[HIDDEN]'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:41930) (comment: 01667_aes_args_check.sql) (in query: SELECT encrypt('aes-128-ecb', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x000000001abfe65a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001abfc8de in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:193: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abfc060 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsAES.h:168: DB::FunctionEncrypt<(anonymous namespace)::EncryptImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000ddb843d in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 2024.09.24 01:19:58.744293 [ 2930 ] {e4caa3ef-d3a6-436f-bac3-77718f3b0463} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #2 'input' of function encrypt, expected plaintext, got Array(Nullable(Int16)): While processing encrypt('aes-128-ecb', '[HIDDEN]'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x000000001abfe65a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001abfc8de in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:193: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abfc060 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsAES.h:168: DB::FunctionEncrypt<(anonymous namespace)::EncryptImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000ddb843d in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 2024.09.24 01:19:59.968569 [ 12003 ] {f46b06c7-b581-4df5-90b6-8b73999b3061} executeQuery: Code: 574. DB::Exception: Too many bytes pending for async INSERT: 2.35 KiB (bytes_to_delay_insert=1.00 B). (DISTRIBUTED_TOO_MANY_PENDING_BYTES) (version 23.8.16.41.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:41884) (comment: 01675_distributed_bytes_to_delay_insert.sh) (in query: insert into dist_01675 select * from numbers(1) settings prefer_localhost_replica=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1577: DB::StorageDistributed::delayInsertOrThrowIfNeeded() const @ 0x000000001d666fc1 in /usr/bin/clickhouse 7. /build/src/Storages/Distributed/DistributedSink.cpp:144: DB::DistributedSink::consume(DB::Chunk) @ 0x000000001dd022db in /usr/bin/clickhouse 8. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2ec62 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ce1c8 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b3ee0 in /usr/bin/clickhouse 26. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 27. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 28. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 2024.09.24 01:19:59.971715 [ 12003 ] {f46b06c7-b581-4df5-90b6-8b73999b3061} DynamicQueryHandler: Code: 574. DB::Exception: Too many bytes pending for async INSERT: 2.35 KiB (bytes_to_delay_insert=1.00 B). (DISTRIBUTED_TOO_MANY_PENDING_BYTES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1577: DB::StorageDistributed::delayInsertOrThrowIfNeeded() const @ 0x000000001d666fc1 in /usr/bin/clickhouse 7. /build/src/Storages/Distributed/DistributedSink.cpp:144: DB::DistributedSink::consume(DB::Chunk) @ 0x000000001dd022db in /usr/bin/clickhouse 8. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2ec62 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ce1c8 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b3ee0 in /usr/bin/clickhouse 26. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 27. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 28. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:20:00.368836 [ 1125 ] {3b80a220-e8ad-436e-8a39-265dc20cfb7e} executeQuery: Code: 407. DB::Exception: Intermediate result overflow (signed a = 9223372036854775807, signed b = -9223372036854775808, min = -9223372036854775808, max = 9223372036854775807): While processing gcd(9223372036854775807, -9223372036854775808). (DECIMAL_OVERFLOW) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:41970) (comment: 01666_gcd_ubsan.sql) (in query: -- { echo } SELECT gcd(9223372036854775807, -9223372036854775808);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0x000000000e450404 in /usr/bin/clickhouse 6. /build/src/Functions/GCDLCMImpl.h:44: long DB::GCDLCMImpl, DB::(anonymous namespace)::NameGCD>::apply(unsigned long, long) @ 0x000000000e2e3557 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:255: DB::impl_::BinaryOperation, long>::process(unsigned long, long) @ 0x000000000e2e317d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:1961: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000e3bc8ba in /usr/bin/clickhouse 9. /build/src/Functions/FunctionBinaryArithmetic.h:2131: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x000000000e3bc69b in /usr/bin/clickhouse 10. /build/src/Functions/FunctionBinaryArithmetic.h:791: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000e3b8544 in /usr/bin/clickhouse 11. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000e3b7e6d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000e3b7b9d in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:789: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000e3a3533 in /usr/bin/clickhouse 14. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000e3a2e27 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000e3a2cfd in /usr/bin/clickhouse 16. /build/src/Functions/FunctionBinaryArithmetic.h:787: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000000e3a2131 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionBinaryArithmetic.h:2098: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000e3a1dff in /usr/bin/clickhouse 18. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e39fb36 in /usr/bin/clickhouse 19. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e39ef2c in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 2024.09.24 01:20:00.370688 [ 1125 ] {3b80a220-e8ad-436e-8a39-265dc20cfb7e} TCPHandler: Code: 407. DB::Exception: Intermediate result overflow (signed a = 9223372036854775807, signed b = -9223372036854775808, min = -9223372036854775808, max = 9223372036854775807): While processing gcd(9223372036854775807, -9223372036854775808). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0x000000000e450404 in /usr/bin/clickhouse 6. /build/src/Functions/GCDLCMImpl.h:44: long DB::GCDLCMImpl, DB::(anonymous namespace)::NameGCD>::apply(unsigned long, long) @ 0x000000000e2e3557 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:255: DB::impl_::BinaryOperation, long>::process(unsigned long, long) @ 0x000000000e2e317d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:1961: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000e3bc8ba in /usr/bin/clickhouse 9. /build/src/Functions/FunctionBinaryArithmetic.h:2131: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x000000000e3bc69b in /usr/bin/clickhouse 10. /build/src/Functions/FunctionBinaryArithmetic.h:791: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000e3b8544 in /usr/bin/clickhouse 11. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000e3b7e6d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000e3b7b9d in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:789: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000e3a3533 in /usr/bin/clickhouse 14. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000e3a2e27 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000e3a2cfd in /usr/bin/clickhouse 16. /build/src/Functions/FunctionBinaryArithmetic.h:787: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000000e3a2131 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionBinaryArithmetic.h:2098: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000e3a1dff in /usr/bin/clickhouse 18. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e39fb36 in /usr/bin/clickhouse 19. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e39ef2c in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 2024.09.24 01:20:00.381158 [ 1125 ] {3c9d1fdd-b81b-4150-8d2f-a8a816206256} executeQuery: Code: 407. DB::Exception: Intermediate result overflow (signed a = -9223372036854775808, signed b = -9223372036854775807, min = -9223372036854775808, max = 9223372036854775807): While processing gcd(9223372036854775808, -9223372036854775807). (DECIMAL_OVERFLOW) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:41970) (comment: 01666_gcd_ubsan.sql) (in query: SELECT gcd(9223372036854775808, -9223372036854775807);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0x000000000e450404 in /usr/bin/clickhouse 6. /build/src/Functions/GCDLCMImpl.h:44: long DB::GCDLCMImpl, DB::(anonymous namespace)::NameGCD>::apply(unsigned long, long) @ 0x000000000e2e3557 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:255: DB::impl_::BinaryOperation, long>::process(unsigned long, long) @ 0x000000000e2e317d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:1961: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000e3bc8ba in /usr/bin/clickhouse 9. /build/src/Functions/FunctionBinaryArithmetic.h:2131: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x000000000e3bc69b in /usr/bin/clickhouse 10. /build/src/Functions/FunctionBinaryArithmetic.h:791: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000e3b8544 in /usr/bin/clickhouse 11. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000e3b7e6d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000e3b7b9d in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:789: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000e3a3533 in /usr/bin/clickhouse 14. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000e3a2e27 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000e3a2cfd in /usr/bin/clickhouse 16. /build/src/Functions/FunctionBinaryArithmetic.h:787: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000000e3a2131 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionBinaryArithmetic.h:2098: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000e3a1dff in /usr/bin/clickhouse 18. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e39fb36 in /usr/bin/clickhouse 19. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e39ef2c in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 2024.09.24 01:20:00.382758 [ 1125 ] {3c9d1fdd-b81b-4150-8d2f-a8a816206256} TCPHandler: Code: 407. DB::Exception: Intermediate result overflow (signed a = -9223372036854775808, signed b = -9223372036854775807, min = -9223372036854775808, max = 9223372036854775807): While processing gcd(9223372036854775808, -9223372036854775807). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0x000000000e450404 in /usr/bin/clickhouse 6. /build/src/Functions/GCDLCMImpl.h:44: long DB::GCDLCMImpl, DB::(anonymous namespace)::NameGCD>::apply(unsigned long, long) @ 0x000000000e2e3557 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:255: DB::impl_::BinaryOperation, long>::process(unsigned long, long) @ 0x000000000e2e317d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:1961: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000e3bc8ba in /usr/bin/clickhouse 9. /build/src/Functions/FunctionBinaryArithmetic.h:2131: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x000000000e3bc69b in /usr/bin/clickhouse 10. /build/src/Functions/FunctionBinaryArithmetic.h:791: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000e3b8544 in /usr/bin/clickhouse 11. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000e3b7e6d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000e3b7b9d in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:789: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000e3a3533 in /usr/bin/clickhouse 14. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000e3a2e27 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000e3a2cfd in /usr/bin/clickhouse 16. /build/src/Functions/FunctionBinaryArithmetic.h:787: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000000e3a2131 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionBinaryArithmetic.h:2098: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000e3a1dff in /usr/bin/clickhouse 18. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e39fb36 in /usr/bin/clickhouse 19. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e39ef2c in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 2024.09.24 01:20:00.499844 [ 1125 ] {fa408ef5-b43d-4611-bf7d-f3f1bf8583fa} executeQuery: Code: 407. DB::Exception: Intermediate result overflow (signed a = -9223372036854775808, signed b = 9223372036854775807, min = -9223372036854775808, max = 9223372036854775807): While processing gcd(-9223372036854775808, 9223372036854775807). (DECIMAL_OVERFLOW) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:41970) (comment: 01666_gcd_ubsan.sql) (in query: SELECT gcd(-9223372036854775808, 9223372036854775807);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0x000000000e450404 in /usr/bin/clickhouse 6. /build/src/Functions/GCDLCMImpl.h:44: long DB::GCDLCMImpl, DB::(anonymous namespace)::NameGCD>::apply(long, unsigned long) @ 0x000000000e325e57 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:255: DB::impl_::BinaryOperation, long>::process(long, unsigned long) @ 0x000000000e325a7d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:1961: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000e3e269a in /usr/bin/clickhouse 9. /build/src/Functions/FunctionBinaryArithmetic.h:2131: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x000000000e3e247b in /usr/bin/clickhouse 10. /build/src/Functions/FunctionBinaryArithmetic.h:791: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000e3e0b44 in /usr/bin/clickhouse 11. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000e3e0447 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000e3e031d in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:789: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000e3a36b3 in /usr/bin/clickhouse 14. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000e3a2fcd in /usr/bin/clickhouse 15. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000e3a2cfd in /usr/bin/clickhouse 16. /build/src/Functions/FunctionBinaryArithmetic.h:787: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000000e3a2131 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionBinaryArithmetic.h:2098: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000e3a1dff in /usr/bin/clickhouse 18. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e39fb36 in /usr/bin/clickhouse 19. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e39ef2c in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 2024.09.24 01:20:00.501284 [ 1125 ] {fa408ef5-b43d-4611-bf7d-f3f1bf8583fa} TCPHandler: Code: 407. DB::Exception: Intermediate result overflow (signed a = -9223372036854775808, signed b = 9223372036854775807, min = -9223372036854775808, max = 9223372036854775807): While processing gcd(-9223372036854775808, 9223372036854775807). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0x000000000e450404 in /usr/bin/clickhouse 6. /build/src/Functions/GCDLCMImpl.h:44: long DB::GCDLCMImpl, DB::(anonymous namespace)::NameGCD>::apply(long, unsigned long) @ 0x000000000e325e57 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:255: DB::impl_::BinaryOperation, long>::process(long, unsigned long) @ 0x000000000e325a7d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:1961: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000e3e269a in /usr/bin/clickhouse 9. /build/src/Functions/FunctionBinaryArithmetic.h:2131: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x000000000e3e247b in /usr/bin/clickhouse 10. /build/src/Functions/FunctionBinaryArithmetic.h:791: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000e3e0b44 in /usr/bin/clickhouse 11. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000e3e0447 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000e3e031d in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:789: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000e3a36b3 in /usr/bin/clickhouse 14. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000e3a2fcd in /usr/bin/clickhouse 15. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000e3a2cfd in /usr/bin/clickhouse 16. /build/src/Functions/FunctionBinaryArithmetic.h:787: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000000e3a2131 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionBinaryArithmetic.h:2098: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000e3a1dff in /usr/bin/clickhouse 18. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e39fb36 in /usr/bin/clickhouse 19. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e39ef2c in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 2024.09.24 01:20:00.510036 [ 1125 ] {7b1bf698-ca73-4fb8-8e62-343d67ef71f9} executeQuery: Code: 407. DB::Exception: Intermediate result overflow (signed a = -9223372036854775807, signed b = -9223372036854775808, min = -9223372036854775808, max = 9223372036854775807): While processing gcd(-9223372036854775807, 9223372036854775808). (DECIMAL_OVERFLOW) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:41970) (comment: 01666_gcd_ubsan.sql) (in query: SELECT gcd(-9223372036854775807, 9223372036854775808);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0x000000000e450404 in /usr/bin/clickhouse 6. /build/src/Functions/GCDLCMImpl.h:44: long DB::GCDLCMImpl, DB::(anonymous namespace)::NameGCD>::apply(long, unsigned long) @ 0x000000000e325e57 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:255: DB::impl_::BinaryOperation, long>::process(long, unsigned long) @ 0x000000000e325a7d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:1961: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000e3e269a in /usr/bin/clickhouse 9. /build/src/Functions/FunctionBinaryArithmetic.h:2131: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x000000000e3e247b in /usr/bin/clickhouse 10. /build/src/Functions/FunctionBinaryArithmetic.h:791: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000e3e0b44 in /usr/bin/clickhouse 11. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000e3e0447 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000e3e031d in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:789: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000e3a36b3 in /usr/bin/clickhouse 14. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000e3a2fcd in /usr/bin/clickhouse 15. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000e3a2cfd in /usr/bin/clickhouse 16. /build/src/Functions/FunctionBinaryArithmetic.h:787: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000000e3a2131 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionBinaryArithmetic.h:2098: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000e3a1dff in /usr/bin/clickhouse 18. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e39fb36 in /usr/bin/clickhouse 19. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e39ef2c in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 2024.09.24 01:20:00.511291 [ 1125 ] {7b1bf698-ca73-4fb8-8e62-343d67ef71f9} TCPHandler: Code: 407. DB::Exception: Intermediate result overflow (signed a = -9223372036854775807, signed b = -9223372036854775808, min = -9223372036854775808, max = 9223372036854775807): While processing gcd(-9223372036854775807, 9223372036854775808). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0x000000000e450404 in /usr/bin/clickhouse 6. /build/src/Functions/GCDLCMImpl.h:44: long DB::GCDLCMImpl, DB::(anonymous namespace)::NameGCD>::apply(long, unsigned long) @ 0x000000000e325e57 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:255: DB::impl_::BinaryOperation, long>::process(long, unsigned long) @ 0x000000000e325a7d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:1961: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000e3e269a in /usr/bin/clickhouse 9. /build/src/Functions/FunctionBinaryArithmetic.h:2131: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x000000000e3e247b in /usr/bin/clickhouse 10. /build/src/Functions/FunctionBinaryArithmetic.h:791: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000e3e0b44 in /usr/bin/clickhouse 11. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000e3e0447 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000e3e031d in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:789: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000e3a36b3 in /usr/bin/clickhouse 14. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000e3a2fcd in /usr/bin/clickhouse 15. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000e3a2cfd in /usr/bin/clickhouse 16. /build/src/Functions/FunctionBinaryArithmetic.h:787: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000000e3a2131 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionBinaryArithmetic.h:2098: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000e3a1dff in /usr/bin/clickhouse 18. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e39fb36 in /usr/bin/clickhouse 19. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e39ef2c in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 2024.09.24 01:20:00.617266 [ 1125 ] {a8069a3d-92cd-4d60-adbe-e51ed2460b81} executeQuery: Code: 407. DB::Exception: Intermediate result overflow (signed a = -9223372036854775808, signed b = -1, min = -9223372036854775808, max = 9223372036854775807): While processing gcd(9223372036854775808, -1). (DECIMAL_OVERFLOW) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:41970) (comment: 01666_gcd_ubsan.sql) (in query: SELECT gcd(9223372036854775808, -1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0x000000000e450404 in /usr/bin/clickhouse 6. /build/src/Functions/GCDLCMImpl.h:44: long DB::GCDLCMImpl, DB::(anonymous namespace)::NameGCD>::apply(unsigned long, signed char) @ 0x000000000e2e1098 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:255: DB::impl_::BinaryOperation, long>::process(unsigned long, signed char) @ 0x000000000e2e0cbf in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:1961: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000e3bb41b in /usr/bin/clickhouse 9. /build/src/Functions/FunctionBinaryArithmetic.h:2131: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x000000000e3bb1fb in /usr/bin/clickhouse 10. /build/src/Functions/FunctionBinaryArithmetic.h:791: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000e3b8484 in /usr/bin/clickhouse 11. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000e3b7d8d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000e3b7b9d in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:789: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000e3a3533 in /usr/bin/clickhouse 14. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000e3a2e27 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000e3a2cfd in /usr/bin/clickhouse 16. /build/src/Functions/FunctionBinaryArithmetic.h:787: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000000e3a2131 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionBinaryArithmetic.h:2098: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000e3a1dff in /usr/bin/clickhouse 18. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e39fb36 in /usr/bin/clickhouse 19. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e39ef2c in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 2024.09.24 01:20:00.618694 [ 1125 ] {a8069a3d-92cd-4d60-adbe-e51ed2460b81} TCPHandler: Code: 407. DB::Exception: Intermediate result overflow (signed a = -9223372036854775808, signed b = -1, min = -9223372036854775808, max = 9223372036854775807): While processing gcd(9223372036854775808, -1). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0x000000000e450404 in /usr/bin/clickhouse 6. /build/src/Functions/GCDLCMImpl.h:44: long DB::GCDLCMImpl, DB::(anonymous namespace)::NameGCD>::apply(unsigned long, signed char) @ 0x000000000e2e1098 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:255: DB::impl_::BinaryOperation, long>::process(unsigned long, signed char) @ 0x000000000e2e0cbf in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:1961: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000e3bb41b in /usr/bin/clickhouse 9. /build/src/Functions/FunctionBinaryArithmetic.h:2131: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x000000000e3bb1fb in /usr/bin/clickhouse 10. /build/src/Functions/FunctionBinaryArithmetic.h:791: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000e3b8484 in /usr/bin/clickhouse 11. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000e3b7d8d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000e3b7b9d in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:789: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000e3a3533 in /usr/bin/clickhouse 14. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000e3a2e27 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000e3a2cfd in /usr/bin/clickhouse 16. /build/src/Functions/FunctionBinaryArithmetic.h:787: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000000e3a2131 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionBinaryArithmetic.h:2098: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000e3a1dff in /usr/bin/clickhouse 18. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e39fb36 in /usr/bin/clickhouse 19. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e39ef2c in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 2024.09.24 01:20:00.793283 [ 1125 ] {04af9b76-0fa4-4fc8-92dd-54895d7d105f} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(-1.7014118346046923e38, -1.7014118346046923e38). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:41970) (comment: 01666_gcd_ubsan.sql) (in query: SELECT lcm(-170141183460469231731687303715884105728, -170141183460469231731687303715884105728);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBinaryArithmetic.h:1618: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000f9a62c9 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:2476: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000f84a5ef in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:376: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c0b85a9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:20:00.794197 [ 1125 ] {04af9b76-0fa4-4fc8-92dd-54895d7d105f} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(-1.7014118346046923e38, -1.7014118346046923e38). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBinaryArithmetic.h:1618: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000f9a62c9 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:2476: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000f84a5ef in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:376: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c0b85a9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:20:03.408889 [ 12042 ] {84826a43-5b12-43ec-b89e-9079c8099cfe} executeQuery: Code: 407. DB::Exception: Numeric overflow: While processing addMinutes(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:46166) (comment: 01662_date_ubsan.sql) (in query: -- tests with INT64_MIN (via overflow) SELECT addMinutes(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25975e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(unsigned long) @ 0x000000000c43d7c0 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x000000000c440dd9 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000000c4408c3 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x000000000c4395c7 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000c440663 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddMinutesImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000c43c4ea in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c43ae94 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:20:03.410187 [ 12042 ] {84826a43-5b12-43ec-b89e-9079c8099cfe} TCPHandler: Code: 407. DB::Exception: Numeric overflow: While processing addMinutes(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25975e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(unsigned long) @ 0x000000000c43d7c0 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x000000000c440dd9 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000000c4408c3 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x000000000c4395c7 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000c440663 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddMinutesImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000c43c4ea in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c43ae94 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:20:03.523387 [ 12042 ] {9552b2cc-8e9f-4dab-880e-a2bc4fde06ae} executeQuery: Code: 407. DB::Exception: Numeric overflow: While processing addHours(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:46166) (comment: 01662_date_ubsan.sql) (in query: SELECT addHours(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25975e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(unsigned long) @ 0x000000000c432040 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x000000000c435659 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000000c435143 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x000000000c42de47 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000c434ee3 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddHoursImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000c430d6a in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c42f714 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:20:03.524411 [ 12042 ] {9552b2cc-8e9f-4dab-880e-a2bc4fde06ae} TCPHandler: Code: 407. DB::Exception: Numeric overflow: While processing addHours(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25975e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(unsigned long) @ 0x000000000c432040 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x000000000c435659 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000000c435143 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x000000000c42de47 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000c434ee3 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddHoursImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000c430d6a in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c42f714 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:20:03.633741 [ 12042 ] {8920796f-ad83-4ba3-b108-dade5aa2dd4c} executeQuery: Code: 407. DB::Exception: Numeric overflow: While processing addWeeks(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:46166) (comment: 01662_date_ubsan.sql) (in query: SELECT addWeeks(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25975e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(unsigned long) @ 0x000000000c48d9e0 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x000000000c490f59 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000000c490a43 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x000000000c4897a7 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000c4907a3 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddWeeksImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000c48c6ca in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c48b074 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:20:03.634953 [ 12042 ] {8920796f-ad83-4ba3-b108-dade5aa2dd4c} TCPHandler: Code: 407. DB::Exception: Numeric overflow: While processing addWeeks(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25975e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(unsigned long) @ 0x000000000c48d9e0 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x000000000c490f59 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000000c490a43 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x000000000c4897a7 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000c4907a3 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddWeeksImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000c48c6ca in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c48b074 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:20:03.745863 [ 12042 ] {ad623120-d7eb-4299-b92b-d3e088015bc6} executeQuery: Code: 407. DB::Exception: Numeric overflow: While processing addDays(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:46166) (comment: 01662_date_ubsan.sql) (in query: SELECT addDays(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25975e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(unsigned long) @ 0x000000000c4269e0 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x000000000c42a059 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000000c429b43 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x000000000c4227a7 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000c429783 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddDaysImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000c4256ca in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c424074 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:20:03.746881 [ 12042 ] {ad623120-d7eb-4299-b92b-d3e088015bc6} TCPHandler: Code: 407. DB::Exception: Numeric overflow: While processing addDays(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25975e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(unsigned long) @ 0x000000000c4269e0 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x000000000c42a059 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000000c429b43 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x000000000c4227a7 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000c429783 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddDaysImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000c4256ca in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c424074 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:20:03.846637 [ 12042 ] {0b6f9dd1-34a7-4629-ab44-812cc1fe6321} executeQuery: Code: 407. DB::Exception: Numeric overflow: While processing addYears(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:46166) (comment: 01662_date_ubsan.sql) (in query: SELECT addYears(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25975e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(unsigned long) @ 0x000000000c4990c0 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x000000000c49c879 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000000c49c363 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x000000000c494d07 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000c49bea3 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddYearsImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000c497c2a in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c4965d4 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:20:03.847615 [ 12042 ] {0b6f9dd1-34a7-4629-ab44-812cc1fe6321} TCPHandler: Code: 407. DB::Exception: Numeric overflow: While processing addYears(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25975e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(unsigned long) @ 0x000000000c4990c0 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x000000000c49c879 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000000c49c363 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x000000000c494d07 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000c49bea3 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddYearsImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000c497c2a in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c4965d4 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:20:03.957013 [ 12042 ] {f225407c-cdf8-44db-9347-7c6498c883ec} executeQuery: Code: 407. DB::Exception: Numeric overflow: While processing addMinutes(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:46166) (comment: 01662_date_ubsan.sql) (in query: -- tests with inf SELECT addMinutes(toDateTime('2021-01-01 00:00:00', 'GMT'), inf);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25975e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(double) @ 0x000000000c43df60 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x000000000c44125a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000000c440b03 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x000000000c439770 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000c440663 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddMinutesImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000c43c4ea in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c43ae94 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:20:03.958163 [ 12042 ] {f225407c-cdf8-44db-9347-7c6498c883ec} TCPHandler: Code: 407. DB::Exception: Numeric overflow: While processing addMinutes(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25975e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(double) @ 0x000000000c43df60 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x000000000c44125a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000000c440b03 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x000000000c439770 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000c440663 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddMinutesImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000c43c4ea in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c43ae94 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:20:04.076079 [ 12042 ] {f5b3a1f6-1daf-4745-993f-1760eb8b2c89} executeQuery: Code: 407. DB::Exception: Numeric overflow: While processing addHours(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:46166) (comment: 01662_date_ubsan.sql) (in query: SELECT addHours(toDateTime('2021-01-01 00:00:00', 'GMT'), inf);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25975e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(double) @ 0x000000000c4327e0 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x000000000c435ada in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000000c435383 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x000000000c42dff0 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000c434ee3 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddHoursImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000c430d6a in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c42f714 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:20:04.235796 [ 8850 ] {eb0287e5-8f75-4563-9e78-1ba8658e8634} executeQuery: Code: 36. DB::Exception: Table function VALUES requires all but first argument (rows specification) to be either tuples or single values. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:46216) (comment: 01658_values_ubsan.sql) (in query: SELECT * FROM VALUES('x UInt8, y UInt16', 1 + 2, 'Hello');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [112]) @ 0x000000001a986bbe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionValues.cpp:53: DB::parseAndInsertValues(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block const&, unsigned long, std::shared_ptr) @ 0x000000001a985df2 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionValues.cpp:140: DB::TableFunctionValues::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a9858c9 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:20:04.235792 [ 12042 ] {f5b3a1f6-1daf-4745-993f-1760eb8b2c89} TCPHandler: Code: 407. DB::Exception: Numeric overflow: While processing addHours(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25975e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(double) @ 0x000000000c4327e0 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x000000000c435ada in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000000c435383 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x000000000c42dff0 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000c434ee3 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddHoursImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000c430d6a in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c42f714 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:20:04.236844 [ 8850 ] {eb0287e5-8f75-4563-9e78-1ba8658e8634} TCPHandler: Code: 36. DB::Exception: Table function VALUES requires all but first argument (rows specification) to be either tuples or single values. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [112]) @ 0x000000001a986bbe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionValues.cpp:53: DB::parseAndInsertValues(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block const&, unsigned long, std::shared_ptr) @ 0x000000001a985df2 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionValues.cpp:140: DB::TableFunctionValues::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a9858c9 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:20:04.362665 [ 12042 ] {d6e508f6-2cc6-4f0d-8e03-e8c190238ec2} executeQuery: Code: 407. DB::Exception: Numeric overflow: While processing addWeeks(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:46166) (comment: 01662_date_ubsan.sql) (in query: SELECT addWeeks(toDateTime('2021-01-01 00:00:00', 'GMT'), inf);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25975e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(double) @ 0x000000000c48e220 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x000000000c4913da in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000000c490c83 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x000000000c489950 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000c4907a3 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddWeeksImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000c48c6ca in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c48b074 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:20:04.364037 [ 12042 ] {d6e508f6-2cc6-4f0d-8e03-e8c190238ec2} TCPHandler: Code: 407. DB::Exception: Numeric overflow: While processing addWeeks(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25975e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(double) @ 0x000000000c48e220 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x000000000c4913da in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000000c490c83 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x000000000c489950 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000c4907a3 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddWeeksImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000c48c6ca in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c48b074 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:20:04.478425 [ 12042 ] {5debb9e2-c075-4801-a2b0-d8ad49605bbc} executeQuery: Code: 407. DB::Exception: Numeric overflow: While processing addDays(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:46166) (comment: 01662_date_ubsan.sql) (in query: SELECT addDays(toDateTime('2021-01-01 00:00:00', 'GMT'), inf);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25975e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(double) @ 0x000000000c427220 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x000000000c42a4da in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000000c429d83 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x000000000c422950 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000c429783 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddDaysImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000c4256ca in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c424074 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:20:04.479413 [ 12042 ] {5debb9e2-c075-4801-a2b0-d8ad49605bbc} TCPHandler: Code: 407. DB::Exception: Numeric overflow: While processing addDays(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25975e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(double) @ 0x000000000c427220 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x000000000c42a4da in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000000c429d83 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x000000000c422950 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000c429783 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddDaysImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000c4256ca in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c424074 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:20:04.592743 [ 12042 ] {1321f17d-6a8f-4a31-9644-4cb2b55eee98} executeQuery: Code: 407. DB::Exception: Numeric overflow: While processing addYears(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:46166) (comment: 01662_date_ubsan.sql) (in query: SELECT addYears(toDateTime('2021-01-01 00:00:00', 'GMT'), inf);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25975e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(double) @ 0x000000000c499900 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x000000000c49ccfa in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000000c49c5a3 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x000000000c494eb0 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000c49bea3 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddYearsImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000c497c2a in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c4965d4 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:20:04.594241 [ 12042 ] {1321f17d-6a8f-4a31-9644-4cb2b55eee98} TCPHandler: Code: 407. DB::Exception: Numeric overflow: While processing addYears(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25975e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(double) @ 0x000000000c499900 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x000000000c49ccfa in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000000c49c5a3 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x000000000c494eb0 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000c49bea3 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddYearsImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000c497c2a in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c4965d4 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:20:05.267917 [ 8850 ] {2bcdcc6c-98ff-4471-a25a-d90358757af5} executeQuery: Code: 36. DB::Exception: Cannot sleep infinite or negative amount of time (not implemented). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:46266) (comment: 01655_sleep_infinite_float.sql) (in query: SELECT sleep(nan);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [67]) @ 0x000000001254341e in /usr/bin/clickhouse 6. /build/src/Functions/sleep.h:107: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::execute(std::vector> const&, std::shared_ptr const&, bool) const @ 0x0000000012542f84 in /usr/bin/clickhouse 7. /build/src/Functions/sleep.h:89: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012542afa in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 15. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:20:05.269079 [ 8850 ] {2bcdcc6c-98ff-4471-a25a-d90358757af5} TCPHandler: Code: 36. DB::Exception: Cannot sleep infinite or negative amount of time (not implemented). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [67]) @ 0x000000001254341e in /usr/bin/clickhouse 6. /build/src/Functions/sleep.h:107: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::execute(std::vector> const&, std::shared_ptr const&, bool) const @ 0x0000000012542f84 in /usr/bin/clickhouse 7. /build/src/Functions/sleep.h:89: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012542afa in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 15. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:20:05.277976 [ 8850 ] {43802c4a-cbe3-4dec-861d-1bec7eccc180} executeQuery: Code: 36. DB::Exception: Cannot sleep infinite or negative amount of time (not implemented). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:46266) (comment: 01655_sleep_infinite_float.sql) (in query: SELECT sleep(inf);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [67]) @ 0x000000001254341e in /usr/bin/clickhouse 6. /build/src/Functions/sleep.h:107: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::execute(std::vector> const&, std::shared_ptr const&, bool) const @ 0x0000000012542f84 in /usr/bin/clickhouse 7. /build/src/Functions/sleep.h:89: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012542afa in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 15. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:20:05.278710 [ 8850 ] {43802c4a-cbe3-4dec-861d-1bec7eccc180} TCPHandler: Code: 36. DB::Exception: Cannot sleep infinite or negative amount of time (not implemented). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [67]) @ 0x000000001254341e in /usr/bin/clickhouse 6. /build/src/Functions/sleep.h:107: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::execute(std::vector> const&, std::shared_ptr const&, bool) const @ 0x0000000012542f84 in /usr/bin/clickhouse 7. /build/src/Functions/sleep.h:89: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012542afa in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 15. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:20:07.099208 [ 8850 ] {4b225e15-6b7f-4e4f-82cb-65401af045a5} executeQuery: Code: 386. DB::Exception: There is no supertype for types String, UInt8 because some of them are String/FixedString and some of them are not: While processing mapContains(a, 10). (NO_COMMON_TYPE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:46300) (comment: 01651_map_functions.sql) (in query: select mapContains(a, 10) from table_map;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x00000000119578ec in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001ba067e6 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:454: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x000000001ba0aa6f in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayIndex.h:479: DB::FunctionArrayIndex::allowArguments(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001290b7aa in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayIndex.h:410: DB::FunctionArrayIndex::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012891048 in /usr/bin/clickhouse 10. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:81: DB::FunctionMapToArrayAdapter, DB::MapToSubcolumnAdapter, DB::NameMapContains>::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012890783 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:20:07.247409 [ 8850 ] {4b225e15-6b7f-4e4f-82cb-65401af045a5} TCPHandler: Code: 386. DB::Exception: There is no supertype for types String, UInt8 because some of them are String/FixedString and some of them are not: While processing mapContains(a, 10). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x00000000119578ec in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001ba067e6 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:454: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x000000001ba0aa6f in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayIndex.h:479: DB::FunctionArrayIndex::allowArguments(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001290b7aa in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayIndex.h:410: DB::FunctionArrayIndex::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012891048 in /usr/bin/clickhouse 10. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:81: DB::FunctionMapToArrayAdapter, DB::MapToSubcolumnAdapter, DB::NameMapContains>::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012890783 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:20:07.247515 [ 8835 ] {c819b9c0-3260-42ee-a30c-28e8f86eb5a7} executeQuery: Code: 42. DB::Exception: Aggregate function any requires single argument: While processing SELECT any(nullIf('', ''), 'some text'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:46318) (comment: 01650_any_null_if.sql) (in query: EXPLAIN SYNTAX select any(nullIf('', ''), 'some text');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013d8ce61 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/HelpersMinMaxAny.h:23: DB::IAggregateFunction* DB::createAggregateFunctionSingleValue(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000157e31f5 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionAny.cpp:14: DB::(anonymous namespace)::createAggregateFunctionAny(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000157e300d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:101: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac022ea in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:356: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa6da9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:198: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6c06 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterExplainQuery.cpp:69: DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::visit(DB::ASTSelectQuery&, std::shared_ptr&, DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::Data&) @ 0x000000001c8c12eb in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:65: DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::visit(std::shared_ptr&, DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::Data&) @ 0x000000001c8c1201 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001c8c1000 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001c8c1521 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001c8c0f8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001c8c15c6 in /usr/bin/clickhouse 2024.09.24 01:20:07.248799 [ 8835 ] {c819b9c0-3260-42ee-a30c-28e8f86eb5a7} TCPHandler: Code: 42. DB::Exception: Aggregate function any requires single argument: While processing SELECT any(nullIf('', ''), 'some text'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013d8ce61 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/HelpersMinMaxAny.h:23: DB::IAggregateFunction* DB::createAggregateFunctionSingleValue(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000157e31f5 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionAny.cpp:14: DB::(anonymous namespace)::createAggregateFunctionAny(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000157e300d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:101: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac022ea in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:356: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa6da9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:198: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6c06 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterExplainQuery.cpp:69: DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::visit(DB::ASTSelectQuery&, std::shared_ptr&, DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::Data&) @ 0x000000001c8c12eb in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:65: DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::visit(std::shared_ptr&, DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::Data&) @ 0x000000001c8c1201 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001c8c1000 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001c8c1521 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001c8c0f8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001c8c15c6 in /usr/bin/clickhouse 2024.09.24 01:20:07.266176 [ 8835 ] {f0c28310-e0bd-45bb-9686-62597b6745df} executeQuery: Code: 42. DB::Exception: Aggregate function any requires single argument: While processing SELECT any(nullIf('', ''), 'some text'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:46318) (comment: 01650_any_null_if.sql) (in query: EXPLAIN SYNTAX select any(nullIf('', ''), 'some text');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013d8ce61 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/HelpersMinMaxAny.h:23: DB::IAggregateFunction* DB::createAggregateFunctionSingleValue(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000157e31f5 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionAny.cpp:14: DB::(anonymous namespace)::createAggregateFunctionAny(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000157e300d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:101: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac022ea in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:356: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa6da9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:198: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6c06 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterExplainQuery.cpp:69: DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::visit(DB::ASTSelectQuery&, std::shared_ptr&, DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::Data&) @ 0x000000001c8c12eb in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:65: DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::visit(std::shared_ptr&, DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::Data&) @ 0x000000001c8c1201 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001c8c1000 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001c8c1521 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001c8c0f8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001c8c15c6 in /usr/bin/clickhouse 2024.09.24 01:20:07.267627 [ 8835 ] {f0c28310-e0bd-45bb-9686-62597b6745df} TCPHandler: Code: 42. DB::Exception: Aggregate function any requires single argument: While processing SELECT any(nullIf('', ''), 'some text'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013d8ce61 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/HelpersMinMaxAny.h:23: DB::IAggregateFunction* DB::createAggregateFunctionSingleValue(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000157e31f5 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionAny.cpp:14: DB::(anonymous namespace)::createAggregateFunctionAny(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000157e300d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:101: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac022ea in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:356: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa6da9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:198: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6c06 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterExplainQuery.cpp:69: DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::visit(DB::ASTSelectQuery&, std::shared_ptr&, DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::Data&) @ 0x000000001c8c12eb in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:65: DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::visit(std::shared_ptr&, DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::Data&) @ 0x000000001c8c1201 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001c8c1000 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001c8c1521 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001c8c0f8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001c8c15c6 in /usr/bin/clickhouse 2024.09.24 01:20:07.473064 [ 8850 ] {04890c57-3211-4946-bc73-3bb347f2a570} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt8, String because some of them are String/FixedString and some of them are not: While processing mapContains(a, 'aaa'). (NO_COMMON_TYPE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:46300) (comment: 01651_map_functions.sql) (in query: select mapContains(a, 'aaa') from table_map;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x00000000119578ec in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001ba067e6 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:454: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x000000001ba0aa6f in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayIndex.h:479: DB::FunctionArrayIndex::allowArguments(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001290b7aa in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayIndex.h:410: DB::FunctionArrayIndex::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012891048 in /usr/bin/clickhouse 10. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:81: DB::FunctionMapToArrayAdapter, DB::MapToSubcolumnAdapter, DB::NameMapContains>::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012890783 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:20:07.474144 [ 8850 ] {04890c57-3211-4946-bc73-3bb347f2a570} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt8, String because some of them are String/FixedString and some of them are not: While processing mapContains(a, 'aaa'). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x00000000119578ec in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001ba067e6 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:454: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x000000001ba0aa6f in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayIndex.h:479: DB::FunctionArrayIndex::allowArguments(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001290b7aa in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayIndex.h:410: DB::FunctionArrayIndex::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012891048 in /usr/bin/clickhouse 10. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:81: DB::FunctionMapToArrayAdapter, DB::MapToSubcolumnAdapter, DB::NameMapContains>::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012890783 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:20:07.641171 [ 8850 ] {02e5c63b-2ffa-4097-ae4f-ce0981d8b38d} executeQuery: Code: 43. DB::Exception: Function mapKeys requires at least one argument of type Map: While processing mapContains(b, 'aaa'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:46300) (comment: 01651_map_functions.sql) (in query: select mapContains(b, 'aaa') from table_map;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b24a833 in /usr/bin/clickhouse 6. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:139: DB::MapAdapterBase, DB::NameMapKeys>::extractNestedTypesAndColumns(std::vector>&) @ 0x000000001288da81 in /usr/bin/clickhouse 7. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:71: DB::FunctionMapToArrayAdapter, DB::MapToSubcolumnAdapter, DB::NameMapContains>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001289075f in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:20:07.642604 [ 8850 ] {02e5c63b-2ffa-4097-ae4f-ce0981d8b38d} TCPHandler: Code: 43. DB::Exception: Function mapKeys requires at least one argument of type Map: While processing mapContains(b, 'aaa'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b24a833 in /usr/bin/clickhouse 6. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:139: DB::MapAdapterBase, DB::NameMapKeys>::extractNestedTypesAndColumns(std::vector>&) @ 0x000000001288da81 in /usr/bin/clickhouse 7. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:71: DB::FunctionMapToArrayAdapter, DB::MapToSubcolumnAdapter, DB::NameMapContains>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001289075f in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:20:08.017472 [ 8850 ] {d6a13e5a-4dbd-4693-92e1-6f374d2802e1} executeQuery: Code: 43. DB::Exception: First argument for function mapFromArrays must be an Array: While processing mapFromArrays('aa', [4, 5]). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:46300) (comment: 01651_map_functions.sql) (in query: select mapFromArrays('aa', [4, 5]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/map.cpp:173: DB::(anonymous namespace)::FunctionMapFromArrays::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000103233e7 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:20:08.018896 [ 8850 ] {d6a13e5a-4dbd-4693-92e1-6f374d2802e1} TCPHandler: Code: 43. DB::Exception: First argument for function mapFromArrays must be an Array: While processing mapFromArrays('aa', [4, 5]). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/map.cpp:173: DB::(anonymous namespace)::FunctionMapFromArrays::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000103233e7 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:20:08.169386 [ 8850 ] {9e55aaea-9af9-46fc-897a-d5a2dbabd7f3} executeQuery: Code: 43. DB::Exception: Second argument for function mapFromArrays must be Array or Map: While processing mapFromArrays(['aa', 'bb'], 5). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:46300) (comment: 01651_map_functions.sql) (in query: select mapFromArrays(['aa', 'bb'], 5);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/map.cpp:181: DB::(anonymous namespace)::FunctionMapFromArrays::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001032368f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:20:08.170563 [ 8850 ] {9e55aaea-9af9-46fc-897a-d5a2dbabd7f3} TCPHandler: Code: 43. DB::Exception: Second argument for function mapFromArrays must be Array or Map: While processing mapFromArrays(['aa', 'bb'], 5). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/map.cpp:181: DB::(anonymous namespace)::FunctionMapFromArrays::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001032368f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:20:08.180309 [ 8850 ] {925bc5d2-58d2-42b2-988d-c37402507817} executeQuery: Code: 42. DB::Exception: Number of arguments for function mapFromArrays doesn't match: passed 3, should be 2: While processing mapFromArrays(['aa', 'bb'], [4, 5], [6, 7]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:46300) (comment: 01651_map_functions.sql) (in query: select mapFromArrays(['aa', 'bb'], [4, 5], [6, 7]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:20:08.181192 [ 8850 ] {925bc5d2-58d2-42b2-988d-c37402507817} TCPHandler: Code: 42. DB::Exception: Number of arguments for function mapFromArrays doesn't match: passed 3, should be 2: While processing mapFromArrays(['aa', 'bb'], [4, 5], [6, 7]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:20:08.341838 [ 8850 ] {411e3956-51f6-41b0-881a-7048a2ddccb1} executeQuery: Code: 190. DB::Exception: Two arguments for function mapFromArrays must have equal sizes: While processing mapFromArrays(['aa', 'bb'], [4, 5, 6]). (SIZES_OF_ARRAYS_DONT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:46300) (comment: 01651_map_functions.sql) (in query: select mapFromArrays(['aa', 'bb'], [4, 5, 6]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/map.cpp:222: DB::(anonymous namespace)::FunctionMapFromArrays::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010322c99 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:20:08.343416 [ 8850 ] {411e3956-51f6-41b0-881a-7048a2ddccb1} TCPHandler: Code: 190. DB::Exception: Two arguments for function mapFromArrays must have equal sizes: While processing mapFromArrays(['aa', 'bb'], [4, 5, 6]). (SIZES_OF_ARRAYS_DONT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/map.cpp:222: DB::(anonymous namespace)::FunctionMapFromArrays::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010322c99 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:20:08.465597 [ 8850 ] {0da7b334-c86f-4fca-ab68-2385e30427f7} executeQuery: Code: 36. DB::Exception: Type of Map key must be a type, that can be represented by integer or String or FixedString (possibly LowCardinality) or UUID or IPv6, but Array(UInt8) given: While processing mapFromArrays([[1, 2], [3, 4]], [4, 5, 6]). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:46300) (comment: 01651_map_functions.sql) (in query: select mapFromArrays([[1,2], [3,4]], [4, 5, 6]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeMap.cpp:70: DB::DataTypeMap::assertKeyType() const @ 0x000000001b9918c7 in /usr/bin/clickhouse 7. /build/src/DataTypes/DataTypeMap.cpp:53: DB::DataTypeMap::DataTypeMap(std::vector, std::allocator>> const&) @ 0x000000001b991a5b in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeMap* std::construct_at[abi:v15000], std::allocator>>&, DB::DataTypeMap*>(DB::DataTypeMap*, std::vector, std::allocator>>&) @ 0x0000000010323de6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>>&, void, void>(std::allocator&, DB::DataTypeMap*, std::vector, std::allocator>>&) @ 0x0000000010323d61 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>>&>(std::allocator, std::vector, std::allocator>>&) @ 0x0000000010323ce7 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::vector, std::allocator>>&, void>(std::allocator const&, std::vector, std::allocator>>&) @ 0x0000000010323c17 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>>&, void>(std::vector, std::allocator>>&) @ 0x0000000010323bc6 in /usr/bin/clickhouse 13. /build/src/Functions/map.cpp:184: DB::(anonymous namespace)::FunctionMapFromArrays::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000103237d8 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 2024.09.24 01:20:08.466522 [ 8850 ] {0da7b334-c86f-4fca-ab68-2385e30427f7} TCPHandler: Code: 36. DB::Exception: Type of Map key must be a type, that can be represented by integer or String or FixedString (possibly LowCardinality) or UUID or IPv6, but Array(UInt8) given: While processing mapFromArrays([[1, 2], [3, 4]], [4, 5, 6]). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeMap.cpp:70: DB::DataTypeMap::assertKeyType() const @ 0x000000001b9918c7 in /usr/bin/clickhouse 7. /build/src/DataTypes/DataTypeMap.cpp:53: DB::DataTypeMap::DataTypeMap(std::vector, std::allocator>> const&) @ 0x000000001b991a5b in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeMap* std::construct_at[abi:v15000], std::allocator>>&, DB::DataTypeMap*>(DB::DataTypeMap*, std::vector, std::allocator>>&) @ 0x0000000010323de6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>>&, void, void>(std::allocator&, DB::DataTypeMap*, std::vector, std::allocator>>&) @ 0x0000000010323d61 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>>&>(std::allocator, std::vector, std::allocator>>&) @ 0x0000000010323ce7 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::vector, std::allocator>>&, void>(std::allocator const&, std::vector, std::allocator>>&) @ 0x0000000010323c17 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>>&, void>(std::vector, std::allocator>>&) @ 0x0000000010323bc6 in /usr/bin/clickhouse 13. /build/src/Functions/map.cpp:184: DB::(anonymous namespace)::FunctionMapFromArrays::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000103237d8 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 2024.09.24 01:20:08.517632 [ 8850 ] {d829c6f2-c314-4453-ab65-b9337f7143b5} executeQuery: Code: 43. DB::Exception: First argument for function mapFromArrays must be an Array: While processing mapFromArrays(map('a', 4, 'b', 4), ['aa', 'bb']). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:46300) (comment: 01651_map_functions.sql) (in query: select mapFromArrays(map('a', 4, 'b', 4), ['aa', 'bb']) from numbers(2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/map.cpp:173: DB::(anonymous namespace)::FunctionMapFromArrays::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000103233e7 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:20:08.518623 [ 8850 ] {d829c6f2-c314-4453-ab65-b9337f7143b5} TCPHandler: Code: 43. DB::Exception: First argument for function mapFromArrays must be an Array: While processing mapFromArrays(map('a', 4, 'b', 4), ['aa', 'bb']). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/map.cpp:173: DB::(anonymous namespace)::FunctionMapFromArrays::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000103233e7 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:20:08.526857 [ 8850 ] {318f5f46-abe7-442d-801d-709bf53a65e2} executeQuery: Code: 190. DB::Exception: Two arguments for function mapFromArrays must have equal sizes: While processing mapFromArrays(['aa', 'bb'], map('a', 4)). (SIZES_OF_ARRAYS_DONT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:46300) (comment: 01651_map_functions.sql) (in query: select mapFromArrays(['aa', 'bb'], map('a', 4));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/map.cpp:222: DB::(anonymous namespace)::FunctionMapFromArrays::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010322c99 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:20:08.527633 [ 8850 ] {318f5f46-abe7-442d-801d-709bf53a65e2} TCPHandler: Code: 190. DB::Exception: Two arguments for function mapFromArrays must have equal sizes: While processing mapFromArrays(['aa', 'bb'], map('a', 4)). (SIZES_OF_ARRAYS_DONT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/map.cpp:222: DB::(anonymous namespace)::FunctionMapFromArrays::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010322c99 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:20:10.487332 [ 6745 ] {247a2640-c69f-4038-9da4-f1d74b360c79} executeQuery: Code: 43. DB::Exception: Values for sumMap cannot be summed, passed type Nullable(Nothing): While processing initializeAggregation('sumMap', [1, 2, 1], [1, 1, 1], [NULL, NULL, NULL]). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:46378) (comment: 01634_sum_map_nulls.sql) (in query: SELECT initializeAggregation('sumMap', [1, 2, 1], [1, 1, 1], [null, null, null]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:133: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, false, false, true>::createResultType(std::shared_ptr const&, std::vector, std::allocator>> const&, String const&) @ 0x0000000015f59462 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:83: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, false, false, true>::AggregateFunctionMapBase(std::shared_ptr const&, std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) @ 0x0000000015f551bc in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:445: DB::AggregateFunctionSumMap::AggregateFunctionSumMap(std::shared_ptr const&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000015f54855 in /usr/bin/clickhouse 9. /build/src/AggregateFunctions/Helpers.h:18: DB::IAggregateFunction* DB::createWithNumericType::DispatchOnTupleArgument::F, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&>(DB::IDataType const&, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000015e640ff in /usr/bin/clickhouse 10. /build/src/AggregateFunctions/Helpers.h:146: DB::IAggregateFunction* DB::createWithNumericBasedType::DispatchOnTupleArgument::F, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&>(DB::IDataType const&, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000015e633b8 in /usr/bin/clickhouse 11. /build/src/AggregateFunctions/AggregateFunctionSumMap.cpp:93: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionMap::DispatchOnTupleArgument>(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000015e611e6 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 18. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionMap.cpp:124: DB::AggregateFunctionCombinatorMap::transformAggregateFunction(std::shared_ptr const&, DB::AggregateFunctionProperties const&, std::vector, std::allocator>> const&, DB::Array const&) const @ 0x0000000017b3bdd3 in /usr/bin/clickhouse 21. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:200: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac03798 in /usr/bin/clickhouse 22. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 23. /build/src/Functions/initializeAggregation.cpp:86: DB::(anonymous namespace)::FunctionInitializeAggregation::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f1db16d in /usr/bin/clickhouse 24. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:20:10.488642 [ 6745 ] {247a2640-c69f-4038-9da4-f1d74b360c79} TCPHandler: Code: 43. DB::Exception: Values for sumMap cannot be summed, passed type Nullable(Nothing): While processing initializeAggregation('sumMap', [1, 2, 1], [1, 1, 1], [NULL, NULL, NULL]). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:133: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, false, false, true>::createResultType(std::shared_ptr const&, std::vector, std::allocator>> const&, String const&) @ 0x0000000015f59462 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:83: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, false, false, true>::AggregateFunctionMapBase(std::shared_ptr const&, std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) @ 0x0000000015f551bc in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:445: DB::AggregateFunctionSumMap::AggregateFunctionSumMap(std::shared_ptr const&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000015f54855 in /usr/bin/clickhouse 9. /build/src/AggregateFunctions/Helpers.h:18: DB::IAggregateFunction* DB::createWithNumericType::DispatchOnTupleArgument::F, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&>(DB::IDataType const&, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000015e640ff in /usr/bin/clickhouse 10. /build/src/AggregateFunctions/Helpers.h:146: DB::IAggregateFunction* DB::createWithNumericBasedType::DispatchOnTupleArgument::F, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&>(DB::IDataType const&, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000015e633b8 in /usr/bin/clickhouse 11. /build/src/AggregateFunctions/AggregateFunctionSumMap.cpp:93: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionMap::DispatchOnTupleArgument>(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000015e611e6 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 18. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionMap.cpp:124: DB::AggregateFunctionCombinatorMap::transformAggregateFunction(std::shared_ptr const&, DB::AggregateFunctionProperties const&, std::vector, std::allocator>> const&, DB::Array const&) const @ 0x0000000017b3bdd3 in /usr/bin/clickhouse 21. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:200: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac03798 in /usr/bin/clickhouse 22. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 23. /build/src/Functions/initializeAggregation.cpp:86: DB::(anonymous namespace)::FunctionInitializeAggregation::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f1db16d in /usr/bin/clickhouse 24. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:20:10.975748 [ 1123 ] {32e6f7ad-3527-41fe-97e2-05dde04ad9ad} executeQuery: Code: 565. DB::Exception: Too many partitions to read. Current 2, max 1. (TOO_MANY_PARTITIONS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:46402) (comment: 01632_max_partitions_to_read.sql) (in query: select * from p order by i;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception&>(int, FormatStringHelperImpl::type, std::type_identity&>::type>, unsigned long&&, DB::SettingFieldNumber&) @ 0x000000001dfbd0ec in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1154: DB::MergeTreeDataSelectExecutor::checkLimits(DB::MergeTreeData const&, DB::ReadFromMergeTree::AnalysisResult const&, std::shared_ptr const&) @ 0x000000001dfb49b3 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1824: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea5526 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee51b4c in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee780df in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd8cb in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:20:10.976787 [ 1123 ] {32e6f7ad-3527-41fe-97e2-05dde04ad9ad} TCPHandler: Code: 565. DB::Exception: Too many partitions to read. Current 2, max 1. (TOO_MANY_PARTITIONS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception&>(int, FormatStringHelperImpl::type, std::type_identity&>::type>, unsigned long&&, DB::SettingFieldNumber&) @ 0x000000001dfbd0ec in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1154: DB::MergeTreeDataSelectExecutor::checkLimits(DB::MergeTreeData const&, DB::ReadFromMergeTree::AnalysisResult const&, std::shared_ptr const&) @ 0x000000001dfb49b3 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1824: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea5526 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee51b4c in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee780df in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd8cb in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:20:13.892817 [ 6745 ] {a0d004c6-7ce3-4853-b7ed-8c1bee2df525} executeQuery: Code: 43. DB::Exception: Values for sumMapWithOverflow cannot be summed, passed type Nullable(Nothing). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:41840) (comment: 01621_summap_check_types.sql) (in query: SELECT [NULL], sumMapWithOverflow(events, [NULL], [[(NULL)]], counts) FROM sum_map_overflow;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:133: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, true, false, true>::createResultType(std::shared_ptr const&, std::vector, std::allocator>> const&, String const&) @ 0x000000001637ba62 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:83: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, true, false, true>::AggregateFunctionMapBase(std::shared_ptr const&, std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) @ 0x00000000163777bc in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:445: DB::AggregateFunctionSumMap::AggregateFunctionSumMap(std::shared_ptr const&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000016376e55 in /usr/bin/clickhouse 9. /build/src/AggregateFunctions/Helpers.h:18: DB::IAggregateFunction* DB::createWithNumericType::DispatchOnTupleArgument::F, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&>(DB::IDataType const&, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000015e68fbf in /usr/bin/clickhouse 10. /build/src/AggregateFunctions/Helpers.h:146: DB::IAggregateFunction* DB::createWithNumericBasedType::DispatchOnTupleArgument::F, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&>(DB::IDataType const&, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000015e68278 in /usr/bin/clickhouse 11. /build/src/AggregateFunctions/AggregateFunctionSumMap.cpp:93: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionMap::DispatchOnTupleArgument>(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000015e61cc6 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 18. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:20:13.893842 [ 6745 ] {a0d004c6-7ce3-4853-b7ed-8c1bee2df525} TCPHandler: Code: 43. DB::Exception: Values for sumMapWithOverflow cannot be summed, passed type Nullable(Nothing). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:133: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, true, false, true>::createResultType(std::shared_ptr const&, std::vector, std::allocator>> const&, String const&) @ 0x000000001637ba62 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:83: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, true, false, true>::AggregateFunctionMapBase(std::shared_ptr const&, std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) @ 0x00000000163777bc in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:445: DB::AggregateFunctionSumMap::AggregateFunctionSumMap(std::shared_ptr const&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000016376e55 in /usr/bin/clickhouse 9. /build/src/AggregateFunctions/Helpers.h:18: DB::IAggregateFunction* DB::createWithNumericType::DispatchOnTupleArgument::F, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&>(DB::IDataType const&, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000015e68fbf in /usr/bin/clickhouse 10. /build/src/AggregateFunctions/Helpers.h:146: DB::IAggregateFunction* DB::createWithNumericBasedType::DispatchOnTupleArgument::F, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&>(DB::IDataType const&, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000015e68278 in /usr/bin/clickhouse 11. /build/src/AggregateFunctions/AggregateFunctionSumMap.cpp:93: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionMap::DispatchOnTupleArgument>(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000015e61cc6 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 18. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:20:14.880749 [ 12007 ] {27f8428e-d8fd-4372-a637-37563159fd6b} executeQuery: Code: 43. DB::Exception: Argument 'max_width' must not be NaN: While processing bar((greatCircleAngle(65537, 2, 1, 1) - 1) * 65535, 1048576, 1048577, nan). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:41872) (comment: 01621_bar_nan_arguments.sql) (in query: SELECT bar((greatCircleAngle(65537, 2, 1, 1) - 1) * 65535, 1048576, 1048577, nan);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [37]) @ 0x000000000c57937e in /usr/bin/clickhouse 6. /build/src/Functions/bar.cpp:86: DB::(anonymous namespace)::FunctionBar::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c578685 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:20:14.881951 [ 12007 ] {27f8428e-d8fd-4372-a637-37563159fd6b} TCPHandler: Code: 43. DB::Exception: Argument 'max_width' must not be NaN: While processing bar((greatCircleAngle(65537, 2, 1, 1) - 1) * 65535, 1048576, 1048577, nan). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [37]) @ 0x000000000c57937e in /usr/bin/clickhouse 6. /build/src/Functions/bar.cpp:86: DB::(anonymous namespace)::FunctionBar::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c578685 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:20:14.892174 [ 12007 ] {5b4e72df-a2f4-4ff3-bef9-333dd9683554} executeQuery: Code: 43. DB::Exception: Argument 'max_width' must not be NaN: While processing bar(1, 1, 1, nan). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:41872) (comment: 01621_bar_nan_arguments.sql) (in query: select bar(1,1,1,nan);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [37]) @ 0x000000000c57937e in /usr/bin/clickhouse 6. /build/src/Functions/bar.cpp:86: DB::(anonymous namespace)::FunctionBar::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c578685 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:20:14.893298 [ 12007 ] {5b4e72df-a2f4-4ff3-bef9-333dd9683554} TCPHandler: Code: 43. DB::Exception: Argument 'max_width' must not be NaN: While processing bar(1, 1, 1, nan). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [37]) @ 0x000000000c57937e in /usr/bin/clickhouse 6. /build/src/Functions/bar.cpp:86: DB::(anonymous namespace)::FunctionBar::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c578685 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:20:16.804147 [ 8835 ] {f4871889-afb3-47b2-af48-fecd8a109328} executeQuery: Code: 524. DB::Exception: ALTER of key column enum_key from type Enum8('y' = 1, 'x' = 2, 'z' = 3) to type Enum16('y' = 1, 'x' = 2, 'z' = 3) is not safe because it can change the representation of primary key. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:41894) (comment: 01611_string_to_low_cardinality_key_alter.sql) (in query: ALTER TABLE table_with_lc_key MODIFY COLUMN enum_key Enum16('x' = 2, 'y' = 1, 'z' = 3);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3392: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de91d1c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:20:16.805028 [ 8835 ] {f4871889-afb3-47b2-af48-fecd8a109328} TCPHandler: Code: 524. DB::Exception: ALTER of key column enum_key from type Enum8('y' = 1, 'x' = 2, 'z' = 3) to type Enum16('y' = 1, 'x' = 2, 'z' = 3) is not safe because it can change the representation of primary key. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3392: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de91d1c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:20:17.291182 [ 8835 ] {64fd91dc-b502-4e0b-9e62-1739725c5b69} executeQuery: Code: 524. DB::Exception: ALTER of key column int_key from type Int8 to type Enum8('y' = 1, 'x' = 2) is not safe because it can change the representation of primary key. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:41894) (comment: 01611_string_to_low_cardinality_key_alter.sql) (in query: ALTER TABLE table_with_string_key MODIFY COLUMN int_key Enum8('y' = 1, 'x' = 2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3392: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de91d1c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:20:17.292132 [ 8835 ] {64fd91dc-b502-4e0b-9e62-1739725c5b69} TCPHandler: Code: 524. DB::Exception: ALTER of key column int_key from type Int8 to type Enum8('y' = 1, 'x' = 2) is not safe because it can change the representation of primary key. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3392: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de91d1c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:20:19.530579 [ 12043 ] {2b2c0a56-b0a8-47a9-8229-3ff30ce93dd3} executeQuery: Code: 43. DB::Exception: Illegal type Int32 of argument of function countSubstrings: While processing countSubstrings(toModifiedJulianDayOrNull('\0'), ''): While processing (SELECT countSubstrings(toModifiedJulianDayOrNull('\0'), '')) AS n: While processing tryBase64Decode((SELECT countSubstrings(toModifiedJulianDayOrNull('\0'), '')) AS n, (SELECT regionIn('l. ')) AS srocpnuv). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:41956) (comment: 01602_modified_julian_day_msan.sql) (in query: SELECT tryBase64Decode(( SELECT countSubstrings(toModifiedJulianDayOrNull('\0'), '') ) AS n, ( SELECT regionIn('l. ') ) AS srocpnuv);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringSearch.h:109: DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d940cdd in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:484: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0103 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:20:19.532634 [ 12043 ] {2b2c0a56-b0a8-47a9-8229-3ff30ce93dd3} TCPHandler: Code: 43. DB::Exception: Illegal type Int32 of argument of function countSubstrings: While processing countSubstrings(toModifiedJulianDayOrNull('\0'), ''): While processing (SELECT countSubstrings(toModifiedJulianDayOrNull('\0'), '')) AS n: While processing tryBase64Decode((SELECT countSubstrings(toModifiedJulianDayOrNull('\0'), '')) AS n, (SELECT regionIn('l. ')) AS srocpnuv). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringSearch.h:109: DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d940cdd in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:484: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0103 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:20:19.543745 [ 12043 ] {9172df24-0dbc-458b-aba5-cb6fa82e5112} executeQuery: Code: 43. DB::Exception: Illegal type Int32 of argument of function countSubstrings: While processing countSubstrings(toModifiedJulianDayOrNull('\0'), ''). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:41956) (comment: 01602_modified_julian_day_msan.sql) (in query: SELECT countSubstrings(toModifiedJulianDayOrNull('\0'), '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringSearch.h:109: DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d940cdd in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:484: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0103 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:20:19.544831 [ 12043 ] {9172df24-0dbc-458b-aba5-cb6fa82e5112} TCPHandler: Code: 43. DB::Exception: Illegal type Int32 of argument of function countSubstrings: While processing countSubstrings(toModifiedJulianDayOrNull('\0'), ''). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringSearch.h:109: DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d940cdd in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:484: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0103 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:20:19.554142 [ 12043 ] {f07a0f26-c367-475e-a087-4beea29e7d97} executeQuery: Code: 43. DB::Exception: Illegal type Int32 of argument of function countSubstrings: While processing countSubstrings(toInt32OrNull('123qwe123'), ''). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:41956) (comment: 01602_modified_julian_day_msan.sql) (in query: SELECT countSubstrings(toInt32OrNull('123qwe123'), '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringSearch.h:109: DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d940cdd in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:484: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0103 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:20:19.555347 [ 12043 ] {f07a0f26-c367-475e-a087-4beea29e7d97} TCPHandler: Code: 43. DB::Exception: Illegal type Int32 of argument of function countSubstrings: While processing countSubstrings(toInt32OrNull('123qwe123'), ''). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringSearch.h:109: DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d940cdd in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:484: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0103 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:20:20.562202 [ 2930 ] {2348d438-1810-4f06-90e4-a9fa7b7ae16f} executeQuery: Code: 44. DB::Exception: Constant columns are not supported at the moment. (ILLEGAL_COLUMN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:41966) (comment: 01602_runningConcurrency.sql) (in query: -- Constant columns are currently not supported. SELECT runningConcurrency(toDate(arrayJoin([1, 2])), toDate('2000-01-01'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [49]) @ 0x000000000c4c41fe in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:40: DB::ExecutableFunctionRunningConcurrency>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000124f1fd5 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 14. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:20:20.563391 [ 2930 ] {2348d438-1810-4f06-90e4-a9fa7b7ae16f} TCPHandler: Code: 44. DB::Exception: Constant columns are not supported at the moment. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [49]) @ 0x000000000c4c41fe in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:40: DB::ExecutableFunctionRunningConcurrency>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000124f1fd5 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 14. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:20:20.732122 [ 2930 ] {fe70212c-a70b-4ff5-9bcb-230ff938934b} executeQuery: Code: 43. DB::Exception: Arguments for function runningConcurrency must be Date, DateTime, or DateTime64.: While processing runningConcurrency('strings are', 'not supported'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:41966) (comment: 01602_runningConcurrency.sql) (in query: -- Unsupported data types SELECT runningConcurrency('strings are', 'not supported');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:148: void DB::RunningConcurrencyOverloadResolver>::dispatchForSourceType>::buildImpl(std::vector> const&, std::shared_ptr const&) const::'lambda'(auto)>(DB::IDataType const&, auto&&) const @ 0x00000000124f168d in /usr/bin/clickhouse 7. /build/src/Functions/runningConcurrency.cpp:175: DB::RunningConcurrencyOverloadResolver>::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x00000000124f13fa in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:451: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf029e in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 2024.09.24 01:20:20.733658 [ 2930 ] {fe70212c-a70b-4ff5-9bcb-230ff938934b} TCPHandler: Code: 43. DB::Exception: Arguments for function runningConcurrency must be Date, DateTime, or DateTime64.: While processing runningConcurrency('strings are', 'not supported'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:148: void DB::RunningConcurrencyOverloadResolver>::dispatchForSourceType>::buildImpl(std::vector> const&, std::shared_ptr const&) const::'lambda'(auto)>(DB::IDataType const&, auto&&) const @ 0x00000000124f168d in /usr/bin/clickhouse 7. /build/src/Functions/runningConcurrency.cpp:175: DB::RunningConcurrencyOverloadResolver>::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x00000000124f13fa in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:451: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf029e in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 2024.09.24 01:20:20.744288 [ 2930 ] {385e857b-4133-46ab-b889-756adc46be20} executeQuery: Code: 43. DB::Exception: Arguments for function runningConcurrency must be Date, DateTime, or DateTime64.: While processing runningConcurrency(NULL, NULL). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:41966) (comment: 01602_runningConcurrency.sql) (in query: SELECT runningConcurrency(NULL, NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:148: void DB::RunningConcurrencyOverloadResolver>::dispatchForSourceType>::buildImpl(std::vector> const&, std::shared_ptr const&) const::'lambda'(auto)>(DB::IDataType const&, auto&&) const @ 0x00000000124f168d in /usr/bin/clickhouse 7. /build/src/Functions/runningConcurrency.cpp:175: DB::RunningConcurrencyOverloadResolver>::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x00000000124f13fa in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:451: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf029e in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 2024.09.24 01:20:20.745380 [ 2930 ] {385e857b-4133-46ab-b889-756adc46be20} TCPHandler: Code: 43. DB::Exception: Arguments for function runningConcurrency must be Date, DateTime, or DateTime64.: While processing runningConcurrency(NULL, NULL). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:148: void DB::RunningConcurrencyOverloadResolver>::dispatchForSourceType>::buildImpl(std::vector> const&, std::shared_ptr const&) const::'lambda'(auto)>(DB::IDataType const&, auto&&) const @ 0x00000000124f168d in /usr/bin/clickhouse 7. /build/src/Functions/runningConcurrency.cpp:175: DB::RunningConcurrencyOverloadResolver>::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x00000000124f13fa in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:451: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf029e in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 2024.09.24 01:20:20.757208 [ 2930 ] {dc23389f-e675-43cc-bcec-bcccb36659ae} executeQuery: Code: 43. DB::Exception: Arguments for function runningConcurrency must be Date, DateTime, or DateTime64.: While processing runningConcurrency(CAST(NULL, 'Nullable(DateTime)'), CAST(NULL, 'Nullable(DateTime)')). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:41966) (comment: 01602_runningConcurrency.sql) (in query: SELECT runningConcurrency(CAST(NULL, 'Nullable(DateTime)'), CAST(NULL, 'Nullable(DateTime)'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:148: void DB::RunningConcurrencyOverloadResolver>::dispatchForSourceType>::buildImpl(std::vector> const&, std::shared_ptr const&) const::'lambda'(auto)>(DB::IDataType const&, auto&&) const @ 0x00000000124f168d in /usr/bin/clickhouse 7. /build/src/Functions/runningConcurrency.cpp:175: DB::RunningConcurrencyOverloadResolver>::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x00000000124f13fa in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:451: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf029e in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 2024.09.24 01:20:20.758374 [ 2930 ] {dc23389f-e675-43cc-bcec-bcccb36659ae} TCPHandler: Code: 43. DB::Exception: Arguments for function runningConcurrency must be Date, DateTime, or DateTime64.: While processing runningConcurrency(CAST(NULL, 'Nullable(DateTime)'), CAST(NULL, 'Nullable(DateTime)')). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:148: void DB::RunningConcurrencyOverloadResolver>::dispatchForSourceType>::buildImpl(std::vector> const&, std::shared_ptr const&) const::'lambda'(auto)>(DB::IDataType const&, auto&&) const @ 0x00000000124f168d in /usr/bin/clickhouse 7. /build/src/Functions/runningConcurrency.cpp:175: DB::RunningConcurrencyOverloadResolver>::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x00000000124f13fa in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:451: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf029e in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 2024.09.24 01:20:20.942785 [ 2930 ] {6f310927-9558-41c7-b1cb-d667ce19be4f} executeQuery: Code: 43. DB::Exception: Function runningConcurrency must be called with two arguments having the same type.: While processing runningConcurrency(toDate('2000-01-01'), toDateTime('2000-01-01 00:00:00')). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:41966) (comment: 01602_runningConcurrency.sql) (in query: -- Mismatching data types SELECT runningConcurrency(toDate('2000-01-01'), toDateTime('2000-01-01 00:00:00'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:170: DB::RunningConcurrencyOverloadResolver>::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x00000000124f122d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:451: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf029e in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 2024.09.24 01:20:20.944192 [ 2930 ] {6f310927-9558-41c7-b1cb-d667ce19be4f} TCPHandler: Code: 43. DB::Exception: Function runningConcurrency must be called with two arguments having the same type.: While processing runningConcurrency(toDate('2000-01-01'), toDateTime('2000-01-01 00:00:00')). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:170: DB::RunningConcurrencyOverloadResolver>::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x00000000124f122d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:451: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf029e in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 2024.09.24 01:20:21.119583 [ 2930 ] {827d0bed-9dd3-4f50-800f-c0b650b94d3e} executeQuery: Code: 117. DB::Exception: Incorrect order of events: '2000-01-02' > '2000-01-01': While processing runningConcurrency(toDate('2000-01-02'), toDate('2000-01-01')). (INCORRECT_DATA) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:41966) (comment: 01602_runningConcurrency.sql) (in query: -- begin > end SELECT runningConcurrency(toDate('2000-01-02'), toDate('2000-01-01'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&) @ 0x00000000124f2f6c in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:63: DB::ExecutableFunctionRunningConcurrency>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000124f2a55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 2024.09.24 01:20:21.120619 [ 2930 ] {827d0bed-9dd3-4f50-800f-c0b650b94d3e} TCPHandler: Code: 117. DB::Exception: Incorrect order of events: '2000-01-02' > '2000-01-01': While processing runningConcurrency(toDate('2000-01-02'), toDate('2000-01-01')). (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&) @ 0x00000000124f2f6c in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:63: DB::ExecutableFunctionRunningConcurrency>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000124f2a55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 2024.09.24 01:20:24.834666 [ 1124 ] {93ab8402-6cd7-4bd9-9c86-e9c27dd6d559} executeQuery: Code: 201. DB::Exception: Quota for user `quoted_by_ip_test_6ioothu3` for 31556952s has been exceeded: queries = 2/1. Interval will end at 2024-09-26 11:19:25. Name of quota template: `quota_by_ip_test_6ioothu3`. (QUOTA_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:35594) (comment: 01600_quota_by_forwarded_ip.sh) (in query: SELECT count() FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x000000001a509d36 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x000000001b0a64ed in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x000000001b0a4b35 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x000000001b0a389b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x000000001b0a3808 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1054: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0a4f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:20:24.840776 [ 1124 ] {93ab8402-6cd7-4bd9-9c86-e9c27dd6d559} DynamicQueryHandler: Code: 201. DB::Exception: Quota for user `quoted_by_ip_test_6ioothu3` for 31556952s has been exceeded: queries = 2/1. Interval will end at 2024-09-26 11:19:25. Name of quota template: `quota_by_ip_test_6ioothu3`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x000000001a509d36 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x000000001b0a64ed in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x000000001b0a4b35 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x000000001b0a389b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x000000001b0a3808 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1054: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0a4f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:20:25.101619 [ 12043 ] {6bc05f6c-696d-43b8-bff7-c8d9314abefe} executeQuery: Code: 201. DB::Exception: Quota for user `quoted_by_ip_test_6ioothu3` for 31556952s has been exceeded: queries = 3/1. Interval will end at 2024-09-26 11:19:25. Name of quota template: `quota_by_ip_test_6ioothu3`. (QUOTA_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:35608) (comment: 01600_quota_by_forwarded_ip.sh) (in query: SELECT count() FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x000000001a509d36 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x000000001b0a64ed in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x000000001b0a4b35 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x000000001b0a389b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x000000001b0a3808 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1054: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0a4f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:20:25.103290 [ 12043 ] {6bc05f6c-696d-43b8-bff7-c8d9314abefe} DynamicQueryHandler: Code: 201. DB::Exception: Quota for user `quoted_by_ip_test_6ioothu3` for 31556952s has been exceeded: queries = 3/1. Interval will end at 2024-09-26 11:19:25. Name of quota template: `quota_by_ip_test_6ioothu3`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x000000001a509d36 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x000000001b0a64ed in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x000000001b0a4b35 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x000000001b0a389b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x000000001b0a3808 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1054: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0a4f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:20:25.106630 [ 1124 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 104, Connection reset by peer, Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:22: Poco::Exception::Exception(int) @ 0x000000002495eedc in /usr/bin/clickhouse 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(int) @ 0x000000002496235f in /usr/bin/clickhouse 4. /build/base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(int) @ 0x000000002496649f in /usr/bin/clickhouse 5. /build/base/poco/Net/src/NetException.cpp:26: Poco::Net::NetException::NetException(int) @ 0x000000002476d2ff in /usr/bin/clickhouse 6. /build/base/poco/Net/src/NetException.cpp:31: Poco::Net::ConnectionResetException::ConnectionResetException(int) @ 0x000000002476e51f in /usr/bin/clickhouse 7. /build/base/poco/Net/src/SocketImpl.cpp:989: Poco::Net::SocketImpl::error(int, String const&) @ 0x000000002477ca84 in /usr/bin/clickhouse 8. /build/base/poco/Net/src/SocketImpl.cpp:927: Poco::Net::SocketImpl::error(int) @ 0x000000002477d6e4 in /usr/bin/clickhouse 9. /build/base/poco/Net/src/SocketImpl.cpp:0: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x000000002477e2d2 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/StreamSocketImpl.cpp:63: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x0000000024785f7e in /usr/bin/clickhouse 11. /build/base/poco/Net/src/StreamSocket.cpp:114: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x0000000024781dd2 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/HTTPSession.cpp:144: Poco::Net::HTTPSession::write(char const*, long) @ 0x000000002475c84e in /usr/bin/clickhouse 13. /build/base/poco/Net/src/HTTPChunkedStream.cpp:57: Poco::Net::HTTPChunkedStreamBuf::close() @ 0x00000000247463cd in /usr/bin/clickhouse 14. /build/base/poco/Net/src/HTTPChunkedStream.cpp:166: Poco::Net::HTTPChunkedIOS::~HTTPChunkedIOS() @ 0x0000000024746d9a in /usr/bin/clickhouse 15. /build/base/poco/Net/src/HTTPChunkedStream.cpp:208: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x0000000024747481 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/HTTPChunkedStream.cpp:207: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x00000000247474c0 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:64: void std::__destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x000000001e66aa4d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:89: void std::destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x000000001e66a9f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:321: void std::allocator_traits>::destroy[abi:v15000](std::allocator&, Poco::Net::HTTPChunkedOutputStream*) @ 0x000000001e66a9d9 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:309: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x000000001e66a84e in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:175: std::__shared_count::__release_shared[abi:v15000]() @ 0x000000000b193a54 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:215: std::__shared_weak_count::__release_shared[abi:v15000]() @ 0x000000000b1939f9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:703: std::shared_ptr>>::~shared_ptr[abi:v15000]() @ 0x000000001e5cd5ac in /usr/bin/clickhouse 24. /build/src/Server/HTTP/HTTPServerResponse.h:16: DB::HTTPServerResponse::~HTTPServerResponse() @ 0x000000001e664d3b in /usr/bin/clickhouse 25. /build/src/Server/HTTP/HTTPServerConnection.cpp:88: DB::HTTPServerConnection::run() @ 0x000000001e664878 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:20:25.192823 [ 1124 ] {20ffa63b-0199-4f26-b425-d0d39bc319f4} executeQuery: Code: 201. DB::Exception: Quota for user `quoted_by_ip_test_6ioothu3` for 31556952s has been exceeded: queries = 4/1. Interval will end at 2024-09-26 11:19:25. Name of quota template: `quota_by_ip_test_6ioothu3`. (QUOTA_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:35620) (comment: 01600_quota_by_forwarded_ip.sh) (in query: SELECT count() FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x000000001a509d36 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x000000001b0a64ed in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x000000001b0a4b35 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x000000001b0a389b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x000000001b0a3808 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1054: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0a4f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:20:25.194968 [ 1124 ] {20ffa63b-0199-4f26-b425-d0d39bc319f4} DynamicQueryHandler: Code: 201. DB::Exception: Quota for user `quoted_by_ip_test_6ioothu3` for 31556952s has been exceeded: queries = 4/1. Interval will end at 2024-09-26 11:19:25. Name of quota template: `quota_by_ip_test_6ioothu3`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x000000001a509d36 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x000000001b0a64ed in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x000000001b0a4b35 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x000000001b0a389b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x000000001b0a3808 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1054: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0a4f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:20:25.331882 [ 1124 ] {5a9b4760-b8a5-408f-a500-332e59dd5383} executeQuery: Code: 201. DB::Exception: Quota for user `quoted_by_forwarded_ip_test_6ioothu3` for 31556952s has been exceeded: queries = 2/1. Interval will end at 2025-07-04 10:51:24. Name of quota template: `quota_by_forwarded_ip_test_6ioothu3`. (QUOTA_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:35632) (comment: 01600_quota_by_forwarded_ip.sh) (in query: SELECT count() FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x000000001a509d36 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x000000001b0a64ed in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x000000001b0a4b35 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x000000001b0a389b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x000000001b0a3808 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1054: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0a4f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:20:25.333377 [ 1124 ] {5a9b4760-b8a5-408f-a500-332e59dd5383} DynamicQueryHandler: Code: 201. DB::Exception: Quota for user `quoted_by_forwarded_ip_test_6ioothu3` for 31556952s has been exceeded: queries = 2/1. Interval will end at 2025-07-04 10:51:24. Name of quota template: `quota_by_forwarded_ip_test_6ioothu3`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x000000001a509d36 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x000000001b0a64ed in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x000000001b0a4b35 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x000000001b0a389b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x000000001b0a3808 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1054: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0a4f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:20:25.348379 [ 1124 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 104, Connection reset by peer, Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:22: Poco::Exception::Exception(int) @ 0x000000002495eedc in /usr/bin/clickhouse 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(int) @ 0x000000002496235f in /usr/bin/clickhouse 4. /build/base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(int) @ 0x000000002496649f in /usr/bin/clickhouse 5. /build/base/poco/Net/src/NetException.cpp:26: Poco::Net::NetException::NetException(int) @ 0x000000002476d2ff in /usr/bin/clickhouse 6. /build/base/poco/Net/src/NetException.cpp:31: Poco::Net::ConnectionResetException::ConnectionResetException(int) @ 0x000000002476e51f in /usr/bin/clickhouse 7. /build/base/poco/Net/src/SocketImpl.cpp:989: Poco::Net::SocketImpl::error(int, String const&) @ 0x000000002477ca84 in /usr/bin/clickhouse 8. /build/base/poco/Net/src/SocketImpl.cpp:927: Poco::Net::SocketImpl::error(int) @ 0x000000002477d6e4 in /usr/bin/clickhouse 9. /build/base/poco/Net/src/SocketImpl.cpp:0: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x000000002477e2d2 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/StreamSocketImpl.cpp:63: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x0000000024785f7e in /usr/bin/clickhouse 11. /build/base/poco/Net/src/StreamSocket.cpp:114: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x0000000024781dd2 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/HTTPSession.cpp:144: Poco::Net::HTTPSession::write(char const*, long) @ 0x000000002475c84e in /usr/bin/clickhouse 13. /build/base/poco/Net/src/HTTPChunkedStream.cpp:57: Poco::Net::HTTPChunkedStreamBuf::close() @ 0x00000000247463cd in /usr/bin/clickhouse 14. /build/base/poco/Net/src/HTTPChunkedStream.cpp:166: Poco::Net::HTTPChunkedIOS::~HTTPChunkedIOS() @ 0x0000000024746d9a in /usr/bin/clickhouse 15. /build/base/poco/Net/src/HTTPChunkedStream.cpp:208: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x0000000024747481 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/HTTPChunkedStream.cpp:207: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x00000000247474c0 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:64: void std::__destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x000000001e66aa4d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:89: void std::destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x000000001e66a9f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:321: void std::allocator_traits>::destroy[abi:v15000](std::allocator&, Poco::Net::HTTPChunkedOutputStream*) @ 0x000000001e66a9d9 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:309: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x000000001e66a84e in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:175: std::__shared_count::__release_shared[abi:v15000]() @ 0x000000000b193a54 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:215: std::__shared_weak_count::__release_shared[abi:v15000]() @ 0x000000000b1939f9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:703: std::shared_ptr>>::~shared_ptr[abi:v15000]() @ 0x000000001e5cd5ac in /usr/bin/clickhouse 24. /build/src/Server/HTTP/HTTPServerResponse.h:16: DB::HTTPServerResponse::~HTTPServerResponse() @ 0x000000001e664d3b in /usr/bin/clickhouse 25. /build/src/Server/HTTP/HTTPServerConnection.cpp:88: DB::HTTPServerConnection::run() @ 0x000000001e664878 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:20:25.371105 [ 1124 ] {29bf5364-73b4-4c11-8696-7551bd59a2b9} executeQuery: Code: 201. DB::Exception: Quota for user `quoted_by_forwarded_ip_test_6ioothu3` for 31556952s has been exceeded: queries = 3/1. Interval will end at 2025-07-04 10:51:24. Name of quota template: `quota_by_forwarded_ip_test_6ioothu3`. (QUOTA_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:35640) (comment: 01600_quota_by_forwarded_ip.sh) (in query: SELECT count() FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x000000001a509d36 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x000000001b0a64ed in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x000000001b0a4b35 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x000000001b0a389b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x000000001b0a3808 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1054: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0a4f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:20:25.372458 [ 1124 ] {29bf5364-73b4-4c11-8696-7551bd59a2b9} DynamicQueryHandler: Code: 201. DB::Exception: Quota for user `quoted_by_forwarded_ip_test_6ioothu3` for 31556952s has been exceeded: queries = 3/1. Interval will end at 2025-07-04 10:51:24. Name of quota template: `quota_by_forwarded_ip_test_6ioothu3`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x000000001a509d36 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x000000001b0a64ed in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x000000001b0a4b35 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x000000001b0a389b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x000000001b0a3808 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1054: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0a4f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:20:25.446265 [ 2930 ] {0f1f5273-28bc-4006-adf4-1f03599165e8} executeQuery: Code: 201. DB::Exception: Quota for user `quoted_by_forwarded_ip_test_6ioothu3` for 31556952s has been exceeded: queries = 2/1. Interval will end at 2024-10-13 12:50:54. Name of quota template: `quota_by_forwarded_ip_test_6ioothu3`. (QUOTA_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:35654) (comment: 01600_quota_by_forwarded_ip.sh) (in query: SELECT count() FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x000000001a509d36 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x000000001b0a64ed in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x000000001b0a4b35 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x000000001b0a389b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x000000001b0a3808 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1054: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0a4f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:20:25.447407 [ 2930 ] {0f1f5273-28bc-4006-adf4-1f03599165e8} DynamicQueryHandler: Code: 201. DB::Exception: Quota for user `quoted_by_forwarded_ip_test_6ioothu3` for 31556952s has been exceeded: queries = 2/1. Interval will end at 2024-10-13 12:50:54. Name of quota template: `quota_by_forwarded_ip_test_6ioothu3`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x000000001a509d36 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x000000001b0a64ed in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x000000001b0a4b35 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x000000001b0a389b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x000000001b0a3808 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1054: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0a4f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:20:25.617423 [ 2930 ] {5097573e-f0b8-47e3-80e7-ce4401936bef} executeQuery: Code: 201. DB::Exception: Quota for user `quoted_by_forwarded_ip_test_6ioothu3` for 31556952s has been exceeded: queries = 3/1. Interval will end at 2024-10-13 12:50:54. Name of quota template: `quota_by_forwarded_ip_test_6ioothu3`. (QUOTA_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:35670) (comment: 01600_quota_by_forwarded_ip.sh) (in query: SELECT count() FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x000000001a509d36 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x000000001b0a64ed in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x000000001b0a4b35 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x000000001b0a389b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x000000001b0a3808 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1054: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0a4f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:20:25.617630 [ 6138 ] {7e25265b-e16f-4231-9297-a8cd9593f3bf} executeQuery: Code: 63. DB::Exception: Aggregate function sequenceNextNode is experimental. Set `allow_experimental_funnel_functions` setting to enable it. (UNKNOWN_AGGREGATE_FUNCTION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:46232) (comment: 01656_sequence_next_node_long.sql) (in query: SELECT '(backward, first_match, 1, B->C)', id, sequenceNextNode('backward', 'first_match')(dt, action, referrer = '2', action = 'B', action = 'A') AS next_node FROM test_base_condition GROUP BY id ORDER BY id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSequenceNextNode.cpp:45: DB::(anonymous namespace)::createAggregateFunctionSequenceNode(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000017829d02 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:20:25.618804 [ 2930 ] {5097573e-f0b8-47e3-80e7-ce4401936bef} DynamicQueryHandler: Code: 201. DB::Exception: Quota for user `quoted_by_forwarded_ip_test_6ioothu3` for 31556952s has been exceeded: queries = 3/1. Interval will end at 2024-10-13 12:50:54. Name of quota template: `quota_by_forwarded_ip_test_6ioothu3`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x000000001a509d36 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x000000001b0a64ed in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x000000001b0a4b35 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x000000001b0a389b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x000000001b0a3808 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1054: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0a4f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:20:25.618839 [ 6138 ] {7e25265b-e16f-4231-9297-a8cd9593f3bf} TCPHandler: Code: 63. DB::Exception: Aggregate function sequenceNextNode is experimental. Set `allow_experimental_funnel_functions` setting to enable it. (UNKNOWN_AGGREGATE_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSequenceNextNode.cpp:45: DB::(anonymous namespace)::createAggregateFunctionSequenceNode(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000017829d02 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:20:25.640605 [ 2930 ] {1ac79c80-2f81-4a08-bc50-30389a852778} executeQuery: Code: 201. DB::Exception: Quota for user `quoted_by_forwarded_ip_test_6ioothu3` for 31556952s has been exceeded: queries = 4/1. Interval will end at 2024-10-13 12:50:54. Name of quota template: `quota_by_forwarded_ip_test_6ioothu3`. (QUOTA_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:35684) (comment: 01600_quota_by_forwarded_ip.sh) (in query: SELECT count() FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x000000001a509d36 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x000000001b0a64ed in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x000000001b0a4b35 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x000000001b0a389b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x000000001b0a3808 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1054: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0a4f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:20:25.645495 [ 2930 ] {1ac79c80-2f81-4a08-bc50-30389a852778} DynamicQueryHandler: Code: 201. DB::Exception: Quota for user `quoted_by_forwarded_ip_test_6ioothu3` for 31556952s has been exceeded: queries = 4/1. Interval will end at 2024-10-13 12:50:54. Name of quota template: `quota_by_forwarded_ip_test_6ioothu3`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x000000001a509d36 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x000000001b0a64ed in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x000000001b0a4b35 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x000000001b0a389b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x000000001b0a3808 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1054: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0a4f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:20:27.257024 [ 1124 ] {7c978b3d-3cb6-4879-8e52-dd1aedfd8030} executeQuery: Code: 43. DB::Exception: Illegal type UInt8 of first argument (haystack) of function countMatches. Must be String/FixedString.: While processing countMatches(1, 'foo'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:60246) (comment: 01595_countMatches.sql) (in query: select countMatches(1, 'foo') from numbers(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/countMatches.h:43: DB::FunctionCountMatches<(anonymous namespace)::FunctionCountMatchesCaseSensitive>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000d93d202 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:20:27.258485 [ 1124 ] {7c978b3d-3cb6-4879-8e52-dd1aedfd8030} TCPHandler: Code: 43. DB::Exception: Illegal type UInt8 of first argument (haystack) of function countMatches. Must be String/FixedString.: While processing countMatches(1, 'foo'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/countMatches.h:43: DB::FunctionCountMatches<(anonymous namespace)::FunctionCountMatchesCaseSensitive>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000d93d202 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:20:27.421775 [ 1124 ] {d4a67f37-977c-4291-b4a5-bb8ced9c0634} executeQuery: Code: 44. DB::Exception: The second argument of function countMatches should be a constant string with the pattern: While processing countMatches('foobarfoo', toString(number)). (ILLEGAL_COLUMN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:60246) (comment: 01595_countMatches.sql) (in query: select countMatches('foobarfoo', toString(number)) from numbers(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/countMatches.h:48: DB::FunctionCountMatches<(anonymous namespace)::FunctionCountMatchesCaseSensitive>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000d93d37c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:20:27.422788 [ 1124 ] {d4a67f37-977c-4291-b4a5-bb8ced9c0634} TCPHandler: Code: 44. DB::Exception: The second argument of function countMatches should be a constant string with the pattern: While processing countMatches('foobarfoo', toString(number)). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/countMatches.h:48: DB::FunctionCountMatches<(anonymous namespace)::FunctionCountMatchesCaseSensitive>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000d93d37c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:20:28.289153 [ 1124 ] {b5ff7edf-3006-43b4-a156-055cfb39aafb} executeQuery: Code: 252. DB::Exception: Too many partitions for single INSERT block (more than 1). The limit is controlled by 'max_partitions_per_insert_block' setting. Large number of partitions is a common misconception. It will lead to severe negative performance impact, including slow server startup, slow INSERT queries and slow SELECT queries. Recommended total number of partitions for a table is under 1000..10000. Please note, that partitioning is not intended to speed up SELECT queries (ORDER BY key is sufficient to make range queries fast). Partitions are intended for data manipulation (DROP PARTITION, etc). (TOO_MANY_PARTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:60264) (comment: 01593_insert_settings.sql) (in query: insert into data_01593 select * from numbers_mt(10) settings max_partitions_per_insert_block=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000c0bde33 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:85: DB::(anonymous namespace)::buildScatterSelector(std::vector> const&, DB::PODArray, 0ul, 0ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long, std::shared_ptr) @ 0x000000001e1e661d in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:262: DB::MergeTreeDataWriter::splitBlockIntoParts(DB::Block const&, unsigned long, std::shared_ptr const&, std::shared_ptr, std::shared_ptr) @ 0x000000001e1e4b9c in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeSink.cpp:67: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000001e3a8a50 in /usr/bin/clickhouse 9. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2ec62 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:49: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6cec1d in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:90: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x000000001e6ceaaa in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x000000001e6cea55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6cea39 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x000000001e6ce99d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x000000001e6ce8a7 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x000000001e6ce815 in /usr/bin/clickhouse 2024.09.24 01:20:28.290432 [ 1124 ] {b5ff7edf-3006-43b4-a156-055cfb39aafb} TCPHandler: Code: 252. DB::Exception: Too many partitions for single INSERT block (more than 1). The limit is controlled by 'max_partitions_per_insert_block' setting. Large number of partitions is a common misconception. It will lead to severe negative performance impact, including slow server startup, slow INSERT queries and slow SELECT queries. Recommended total number of partitions for a table is under 1000..10000. Please note, that partitioning is not intended to speed up SELECT queries (ORDER BY key is sufficient to make range queries fast). Partitions are intended for data manipulation (DROP PARTITION, etc). (TOO_MANY_PARTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000c0bde33 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:85: DB::(anonymous namespace)::buildScatterSelector(std::vector> const&, DB::PODArray, 0ul, 0ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long, std::shared_ptr) @ 0x000000001e1e661d in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:262: DB::MergeTreeDataWriter::splitBlockIntoParts(DB::Block const&, unsigned long, std::shared_ptr const&, std::shared_ptr, std::shared_ptr) @ 0x000000001e1e4b9c in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeSink.cpp:67: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000001e3a8a50 in /usr/bin/clickhouse 9. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2ec62 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:49: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6cec1d in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:90: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x000000001e6ceaaa in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x000000001e6cea55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6cea39 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x000000001e6ce99d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x000000001e6ce8a7 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x000000001e6ce815 in /usr/bin/clickhouse 2024.09.24 01:20:28.305403 [ 17228 ] {c67988e5-345a-47d5-8bc6-ef3e2f214af9} MergeTreeDataWriter: INSERT query from initial_user default (query ID: c67988e5-345a-47d5-8bc6-ef3e2f214af9) inserted a block that created parts in 10 partitions. This is being logged rather than throwing an exception as throw_on_max_partitions_per_insert_block=false. 2024.09.24 01:20:30.574987 [ 5572 ] {42cb922f-1849-4928-9e71-cb936e309f6c} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 512.00 GiB (attempt to allocate chunk of 549756678616 bytes), maximum: 9.31 GiB.: while executing 'FUNCTION repeat(toString(number) :: 2, 1000000 :: 1) -> repeat(toString(number), 1000000) String : 3'. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:60302) (comment: 01586_columns_pruning.sql) (in query: -- Unneeded column cannot be removed from subquery and the query is out of memory SELECT count() FROM (SELECT number, groupArray(repeat(toString(number), 1000000)) AS agg FROM numbers(1000000) GROUP BY number HAVING notEmpty(agg));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b201225 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b2010b9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b200ea6 in /usr/bin/clickhouse 14. /build/src/Functions/repeat.cpp:61: void DB::(anonymous namespace)::RepeatImpl::vectorStrConstRepeat(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned int) @ 0x00000000124a699a in /usr/bin/clickhouse 15. /build/src/Functions/repeat.cpp:217: auto DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x00000000124a581f in /usr/bin/clickhouse 16. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)>(DB::IDataType const*, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&&) @ 0x00000000124a5267 in /usr/bin/clickhouse 17. /build/src/Functions/repeat.cpp:172: bool DB::(anonymous namespace)::FunctionRepeat::castType> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x00000000124a4ffd in /usr/bin/clickhouse 18. /build/src/Functions/repeat.cpp:211: DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000124a483a in /usr/bin/clickhouse 19. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 25. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 26. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 27. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 2024.09.24 01:20:30.584844 [ 5572 ] {42cb922f-1849-4928-9e71-cb936e309f6c} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 512.00 GiB (attempt to allocate chunk of 549756678616 bytes), maximum: 9.31 GiB.: while executing 'FUNCTION repeat(toString(number) :: 2, 1000000 :: 1) -> repeat(toString(number), 1000000) String : 3'. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b201225 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b2010b9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b200ea6 in /usr/bin/clickhouse 14. /build/src/Functions/repeat.cpp:61: void DB::(anonymous namespace)::RepeatImpl::vectorStrConstRepeat(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned int) @ 0x00000000124a699a in /usr/bin/clickhouse 15. /build/src/Functions/repeat.cpp:217: auto DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x00000000124a581f in /usr/bin/clickhouse 16. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)>(DB::IDataType const*, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&&) @ 0x00000000124a5267 in /usr/bin/clickhouse 17. /build/src/Functions/repeat.cpp:172: bool DB::(anonymous namespace)::FunctionRepeat::castType> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x00000000124a4ffd in /usr/bin/clickhouse 18. /build/src/Functions/repeat.cpp:211: DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000124a483a in /usr/bin/clickhouse 19. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 25. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 26. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 27. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 2024.09.24 01:20:37.862973 [ 12003 ] {961ef9d9-cc22-4462-847f-1ef8bb6f41ed} executeQuery: Code: 42. DB::Exception: Aggregate function any requires single argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39778) (comment: 01560_crash_in_agg_empty_arglist.sql) (in query: SELECT any() as t, substring(query, 1, 70) AS query, avg(memory_usage) usage, count() count FROM system.query_log WHERE current_database = currentDatabase() AND event_date >= toDate(1604295323) AND event_time >= toDateTime(1604295323) AND type in (1,2,3,4) and initial_user in ('') and('all' = 'all' or(positionCaseInsensitive(query, 'all') = 1)) GROUP BY query ORDER BY usage desc LIMIT 5;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013d8ce61 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/HelpersMinMaxAny.h:23: DB::IAggregateFunction* DB::createAggregateFunctionSingleValue(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000157e31f5 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionAny.cpp:14: DB::(anonymous namespace)::createAggregateFunctionAny(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000157e300d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:108: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001af45aaa in /usr/bin/clickhouse 21. /build/src/Storages/MergeTree/KeyCondition.cpp:724: DB::KeyCondition::getBlockWithConstants(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001ddcabcd in /usr/bin/clickhouse 22. /build/src/Storages/MergeTree/MergeTreeWhereOptimizer.cpp:83: DB::MergeTreeWhereOptimizer::optimize(DB::SelectQueryInfo&, std::shared_ptr const&) const @ 0x000000001e1d75ed in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:663: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaeb4f in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 2024.09.24 01:20:37.868693 [ 12003 ] {961ef9d9-cc22-4462-847f-1ef8bb6f41ed} TCPHandler: Code: 42. DB::Exception: Aggregate function any requires single argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013d8ce61 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/HelpersMinMaxAny.h:23: DB::IAggregateFunction* DB::createAggregateFunctionSingleValue(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000157e31f5 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionAny.cpp:14: DB::(anonymous namespace)::createAggregateFunctionAny(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000157e300d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:108: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001af45aaa in /usr/bin/clickhouse 21. /build/src/Storages/MergeTree/KeyCondition.cpp:724: DB::KeyCondition::getBlockWithConstants(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001ddcabcd in /usr/bin/clickhouse 22. /build/src/Storages/MergeTree/MergeTreeWhereOptimizer.cpp:83: DB::MergeTreeWhereOptimizer::optimize(DB::SelectQueryInfo&, std::shared_ptr const&) const @ 0x000000001e1d75ed in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:663: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaeb4f in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 2024.09.24 01:20:45.468463 [ 8853 ] {2bc5f1d4-85f0-4279-9214-64a3ed3c9db4} executeQuery: Code: 44. DB::Exception: Having clause cannot contain arrayJoin. (ILLEGAL_COLUMN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:51532) (comment: 01548_with_totals_having.sql) (in query: SELECT * FROM numbers(4) GROUP BY number WITH TOTALS HAVING sum(number) <= arrayJoin([]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [39]) @ 0x000000000c57947e in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:192: DB::TotalsHavingTransform::transform(DB::Chunk&) @ 0x000000001ecb28f2 in /usr/bin/clickhouse 7. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 8. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:146: DB::TotalsHavingTransform::work() @ 0x000000001ecb213d in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 2024.09.24 01:20:45.472087 [ 8853 ] {2bc5f1d4-85f0-4279-9214-64a3ed3c9db4} TCPHandler: Code: 44. DB::Exception: Having clause cannot contain arrayJoin. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [39]) @ 0x000000000c57947e in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:192: DB::TotalsHavingTransform::transform(DB::Chunk&) @ 0x000000001ecb28f2 in /usr/bin/clickhouse 7. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 8. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:146: DB::TotalsHavingTransform::work() @ 0x000000001ecb213d in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 2024.09.24 01:20:45.522762 [ 8853 ] {bcb503f8-af6b-483e-9f0f-fac99edfa4f3} executeQuery: Code: 44. DB::Exception: Having clause cannot contain arrayJoin. (ILLEGAL_COLUMN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:51532) (comment: 01548_with_totals_having.sql) (in query: SELECT * FROM numbers(4) GROUP BY number WITH TOTALS HAVING sum(number) <= arrayJoin([3, 2, 1, 0]) ORDER BY number;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [39]) @ 0x000000000c57947e in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:192: DB::TotalsHavingTransform::transform(DB::Chunk&) @ 0x000000001ecb28f2 in /usr/bin/clickhouse 7. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 8. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:146: DB::TotalsHavingTransform::work() @ 0x000000001ecb213d in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 2024.09.24 01:20:45.526128 [ 8853 ] {bcb503f8-af6b-483e-9f0f-fac99edfa4f3} TCPHandler: Code: 44. DB::Exception: Having clause cannot contain arrayJoin. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [39]) @ 0x000000000c57947e in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:192: DB::TotalsHavingTransform::transform(DB::Chunk&) @ 0x000000001ecb28f2 in /usr/bin/clickhouse 7. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 8. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:146: DB::TotalsHavingTransform::work() @ 0x000000001ecb213d in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 2024.09.24 01:20:47.668981 [ 1125 ] {3fbe3b84-19ab-45f5-8e46-aaafdbc4283a} executeQuery: Code: 53. DB::Exception: CAST AS Map can only be performed from tuple of arrays with equal sizes.: While processing CAST(([2, 1, 1023], ['', '']), 'Map(UInt8, String)') AS map, map[10]. (TYPE_MISMATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:51508) (comment: 01550_create_map_type.sql) (in query: SELECT CAST(([2, 1, 1023], ['', '']), 'Map(UInt8, String)') AS map, map[10] -- { serverError 53} ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [73]) @ 0x000000000b65357e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3432: DB::FunctionCast::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b8e4e91 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8e4906 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8e48a0 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8e4840 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b8e47eb in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:20:47.670112 [ 1125 ] {3fbe3b84-19ab-45f5-8e46-aaafdbc4283a} TCPHandler: Code: 53. DB::Exception: CAST AS Map can only be performed from tuple of arrays with equal sizes.: While processing CAST(([2, 1, 1023], ['', '']), 'Map(UInt8, String)') AS map, map[10]. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [73]) @ 0x000000000b65357e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3432: DB::FunctionCast::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b8e4e91 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8e4906 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8e48a0 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8e4840 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b8e47eb in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:20:50.224777 [ 8853 ] {3f0de4dd-73ff-42ba-bfa3-227d2e9a4659} executeQuery: Code: 490. DB::Exception: Value cannot be represented as date because it's out of range: While processing fromModifiedJulianDay(-678942). (CANNOT_FORMAT_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:51638) (comment: 01544_fromModifiedJulianDay.sql) (in query: SELECT fromModifiedJulianDay(-678942);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [62]) @ 0x000000000bc6327e in /usr/bin/clickhouse 6. /build/src/Functions/GregorianDate.cpp:280: DB::OrdinalDate::init(long) @ 0x000000000c3d9911 in /usr/bin/clickhouse 7. /build/src/Functions/GregorianDate.cpp:319: DB::OrdinalDate::OrdinalDate(long) @ 0x000000000c3d9b69 in /usr/bin/clickhouse 8. /build/src/Functions/GregorianDate.cpp:168: DB::GregorianDate::init(long) @ 0x000000000c3d9045 in /usr/bin/clickhouse 9. /build/src/Functions/GregorianDate.cpp:193: DB::GregorianDate::GregorianDate(long) @ 0x000000000c3d930b in /usr/bin/clickhouse 10. /build/src/Functions/fromModifiedJulianDay.cpp:66: DB::ExecutableFunctionFromModifiedJulianDay, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e295e61 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 2024.09.24 01:20:50.225883 [ 8853 ] {3f0de4dd-73ff-42ba-bfa3-227d2e9a4659} TCPHandler: Code: 490. DB::Exception: Value cannot be represented as date because it's out of range: While processing fromModifiedJulianDay(-678942). (CANNOT_FORMAT_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [62]) @ 0x000000000bc6327e in /usr/bin/clickhouse 6. /build/src/Functions/GregorianDate.cpp:280: DB::OrdinalDate::init(long) @ 0x000000000c3d9911 in /usr/bin/clickhouse 7. /build/src/Functions/GregorianDate.cpp:319: DB::OrdinalDate::OrdinalDate(long) @ 0x000000000c3d9b69 in /usr/bin/clickhouse 8. /build/src/Functions/GregorianDate.cpp:168: DB::GregorianDate::init(long) @ 0x000000000c3d9045 in /usr/bin/clickhouse 9. /build/src/Functions/GregorianDate.cpp:193: DB::GregorianDate::GregorianDate(long) @ 0x000000000c3d930b in /usr/bin/clickhouse 10. /build/src/Functions/fromModifiedJulianDay.cpp:66: DB::ExecutableFunctionFromModifiedJulianDay, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e295e61 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 2024.09.24 01:20:50.372906 [ 8853 ] {fb39c584-13f6-411d-8dbf-dfa959bc0b9d} executeQuery: Code: 490. DB::Exception: Value cannot be represented as date because it's out of range: While processing fromModifiedJulianDay(2973484). (CANNOT_FORMAT_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:51638) (comment: 01544_fromModifiedJulianDay.sql) (in query: SELECT fromModifiedJulianDay(2973484);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [62]) @ 0x000000000bc6327e in /usr/bin/clickhouse 6. /build/src/Functions/GregorianDate.cpp:280: DB::OrdinalDate::init(long) @ 0x000000000c3d9911 in /usr/bin/clickhouse 7. /build/src/Functions/GregorianDate.cpp:319: DB::OrdinalDate::OrdinalDate(long) @ 0x000000000c3d9b69 in /usr/bin/clickhouse 8. /build/src/Functions/GregorianDate.cpp:168: DB::GregorianDate::init(long) @ 0x000000000c3d9045 in /usr/bin/clickhouse 9. /build/src/Functions/GregorianDate.cpp:193: DB::GregorianDate::GregorianDate(long) @ 0x000000000c3d930b in /usr/bin/clickhouse 10. /build/src/Functions/fromModifiedJulianDay.cpp:66: DB::ExecutableFunctionFromModifiedJulianDay, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e287722 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 2024.09.24 01:20:50.373895 [ 8853 ] {fb39c584-13f6-411d-8dbf-dfa959bc0b9d} TCPHandler: Code: 490. DB::Exception: Value cannot be represented as date because it's out of range: While processing fromModifiedJulianDay(2973484). (CANNOT_FORMAT_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [62]) @ 0x000000000bc6327e in /usr/bin/clickhouse 6. /build/src/Functions/GregorianDate.cpp:280: DB::OrdinalDate::init(long) @ 0x000000000c3d9911 in /usr/bin/clickhouse 7. /build/src/Functions/GregorianDate.cpp:319: DB::OrdinalDate::OrdinalDate(long) @ 0x000000000c3d9b69 in /usr/bin/clickhouse 8. /build/src/Functions/GregorianDate.cpp:168: DB::GregorianDate::init(long) @ 0x000000000c3d9045 in /usr/bin/clickhouse 9. /build/src/Functions/GregorianDate.cpp:193: DB::GregorianDate::GregorianDate(long) @ 0x000000000c3d930b in /usr/bin/clickhouse 10. /build/src/Functions/fromModifiedJulianDay.cpp:66: DB::ExecutableFunctionFromModifiedJulianDay, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e287722 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 2024.09.24 01:20:52.988135 [ 6745 ] {3cd5b0d7-ec39-4463-84c4-492d642a2dbd} executeQuery: Code: 47. DB::Exception: Unknown identifier 'ns' in aggregate function 'sum(ns)'. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:52450) (comment: 01538_fuzz_aggregate.sql) (in query: SELECT count(), sum(ns) FROM ( SELECT intDiv(number, NULL) AS k FROM system.numbers_mt GROUP BY k ) ARRAY JOIN ns;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:571: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac6d7 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:20:52.989423 [ 6745 ] {3cd5b0d7-ec39-4463-84c4-492d642a2dbd} TCPHandler: Code: 47. DB::Exception: Unknown identifier 'ns' in aggregate function 'sum(ns)'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:571: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac6d7 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:20:54.412946 [ 8853 ] {e4bc8785-af4c-4870-a91b-9fa40151c84c} executeQuery: Code: 69. DB::Exception: Scale argument for rounding function is too large: While processing round(toDecimal32(1, 0), -9223372036854775806). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:52478) (comment: 01535_decimal_round_scale_overflow_check.sql) (in query: SELECT round(toDecimal32(1, 0), -9223372036854775806);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [50]) @ 0x000000000b2187de in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsRound.h:569: DB::FunctionRounding::getScaleArg(std::vector> const&) @ 0x000000000c15a835 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsRound.h:582: DB::FunctionRounding::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c159f35 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 2024.09.24 01:20:54.413922 [ 8853 ] {e4bc8785-af4c-4870-a91b-9fa40151c84c} TCPHandler: Code: 69. DB::Exception: Scale argument for rounding function is too large: While processing round(toDecimal32(1, 0), -9223372036854775806). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [50]) @ 0x000000000b2187de in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsRound.h:569: DB::FunctionRounding::getScaleArg(std::vector> const&) @ 0x000000000c15a835 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsRound.h:582: DB::FunctionRounding::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c159f35 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 2024.09.24 01:20:59.537395 [ 8853 ] {f1c30722-b180-494d-b5bd-9a8887cf936b} executeQuery: Code: 36. DB::Exception: Materialized view test_kj0nvava.v cannot point to itself. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:52560) (comment: 01527_materialized_view_stack_overflow.sql) (in query: CREATE MATERIALIZED VIEW v to v AS SELECT c FROM t;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMaterializedView.cpp:97: DB::StorageMaterializedView::StorageMaterializedView(DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool, String const&) @ 0x000000001d7299df in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMaterializedView* std::construct_at[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, DB::StorageMaterializedView*>(DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72fb1a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void, void>(std::allocator&, DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72f88d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72f559 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72f3ae in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72f314 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMaterializedView.cpp:491: DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d72e74d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001d72e6dd in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001d72e67d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001d72e63d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001d72e605 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:20:59.538466 [ 8853 ] {f1c30722-b180-494d-b5bd-9a8887cf936b} TCPHandler: Code: 36. DB::Exception: Materialized view test_kj0nvava.v cannot point to itself. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMaterializedView.cpp:97: DB::StorageMaterializedView::StorageMaterializedView(DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool, String const&) @ 0x000000001d7299df in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMaterializedView* std::construct_at[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, DB::StorageMaterializedView*>(DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72fb1a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void, void>(std::allocator&, DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72f88d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72f559 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72f3ae in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72f314 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMaterializedView.cpp:491: DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d72e74d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001d72e6dd in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001d72e67d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001d72e63d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001d72e605 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:20:59.675846 [ 8853 ] {8a4b846a-308d-44a3-8b4b-93624e28fec5} executeQuery: Code: 60. DB::Exception: Table test_kj0nvava.v does not exist. Maybe you meant t?. (UNKNOWN_TABLE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:52560) (comment: 01527_materialized_view_stack_overflow.sql) (in query: CREATE MATERIALIZED VIEW v to t AS SELECT * FROM v;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53833 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc20756 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:777: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7ea8b0 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f0864 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:20:59.676746 [ 8853 ] {8a4b846a-308d-44a3-8b4b-93624e28fec5} TCPHandler: Code: 60. DB::Exception: Table test_kj0nvava.v does not exist. Maybe you meant t?. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53833 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc20756 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:777: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7ea8b0 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f0864 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:21:00.628922 [ 8853 ] {c35c04de-8a4c-4ad3-b483-ffa4dc941e5a} executeQuery: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f1ab7c91000, frame address: 0x7f1ab8090ee0, stack size: 4194592, maximum stack size: 8388608. (TOO_DEEP_RECURSION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:52560) (comment: 01527_materialized_view_stack_overflow.sql) (in query: INSERT INTO t1 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x0000000013965e64 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:121: checkStackSize() @ 0x00000000139659dc in /usr/bin/clickhouse 7. /build/src/Interpreters/InDepthNodeVisitor.h:43: void DB::InDepthNodeVisitor>, &DB::NeedChild::all(std::shared_ptr const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfa7a9d in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>, &DB::NeedChild::all(std::shared_ptr const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x000000001cfa28a5 in /usr/bin/clickhouse 9. /build/src/Interpreters/TreeRewriter.cpp:1366: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x000000001cf9ef52 in /usr/bin/clickhouse 10. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d467 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:331: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecdf980 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca80132 in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:344: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecdfc34 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca80132 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:344: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecdfc34 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca80132 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:344: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecdfc34 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca80132 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:344: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecdfc34 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca80132 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:344: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecdfc34 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca80132 in /usr/bin/clickhouse 2024.09.24 01:21:00.746698 [ 8836 ] {9ec551f6-5485-47cf-9ba2-5abcf2a6eaf5} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001736 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:52562) (comment: 01529_bad_memory_tracking.sh) (in query: SELECT i FROM generateRandom('i Array(Int8)', 1, 1, 1048577) LIMIT 65536), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b201225 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b2010b9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b200ea6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:369: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6c0b89 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:257: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6bfad9 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:548: DB::(anonymous namespace)::GenerateSource::generate() @ 0x000000001d6bef81 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:21:00.746733 [ 8853 ] {c35c04de-8a4c-4ad3-b483-ffa4dc941e5a} TCPHandler: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f1ab7c91000, frame address: 0x7f1ab8090ee0, stack size: 4194592, maximum stack size: 8388608. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x0000000013965e64 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:121: checkStackSize() @ 0x00000000139659dc in /usr/bin/clickhouse 7. /build/src/Interpreters/InDepthNodeVisitor.h:43: void DB::InDepthNodeVisitor>, &DB::NeedChild::all(std::shared_ptr const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfa7a9d in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>, &DB::NeedChild::all(std::shared_ptr const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x000000001cfa28a5 in /usr/bin/clickhouse 9. /build/src/Interpreters/TreeRewriter.cpp:1366: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x000000001cf9ef52 in /usr/bin/clickhouse 10. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d467 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:331: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecdf980 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca80132 in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:344: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecdfc34 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca80132 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:344: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecdfc34 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca80132 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:344: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecdfc34 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca80132 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:344: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecdfc34 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca80132 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:344: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecdfc34 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca80132 in /usr/bin/clickhouse 2024.09.24 01:21:00.750827 [ 8836 ] {9ec551f6-5485-47cf-9ba2-5abcf2a6eaf5} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001736 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b201225 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b2010b9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b200ea6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:369: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6c0b89 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:257: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6bfad9 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:548: DB::(anonymous namespace)::GenerateSource::generate() @ 0x000000001d6bef81 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:21:01.584900 [ 8853 ] {9875fe7f-c095-4c11-b43e-0282b97d23cb} executeQuery: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f1ab7c91000, frame address: 0x7f1ab8090ee0, stack size: 4194592, maximum stack size: 8388608. (TOO_DEEP_RECURSION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:52560) (comment: 01527_materialized_view_stack_overflow.sql) (in query: INSERT INTO t2 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x0000000013965e64 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:121: checkStackSize() @ 0x00000000139659dc in /usr/bin/clickhouse 7. /build/src/Interpreters/InDepthNodeVisitor.h:43: void DB::InDepthNodeVisitor>, &DB::NeedChild::all(std::shared_ptr const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfa7a9d in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>, &DB::NeedChild::all(std::shared_ptr const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x000000001cfa28a5 in /usr/bin/clickhouse 9. /build/src/Interpreters/TreeRewriter.cpp:1366: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x000000001cf9ef52 in /usr/bin/clickhouse 10. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d467 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:331: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecdf980 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca80132 in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:344: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecdfc34 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca80132 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:344: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecdfc34 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca80132 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:344: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecdfc34 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca80132 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:344: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecdfc34 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca80132 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:344: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecdfc34 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca80132 in /usr/bin/clickhouse 2024.09.24 01:21:01.586235 [ 8853 ] {9875fe7f-c095-4c11-b43e-0282b97d23cb} TCPHandler: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f1ab7c91000, frame address: 0x7f1ab8090ee0, stack size: 4194592, maximum stack size: 8388608. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x0000000013965e64 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:121: checkStackSize() @ 0x00000000139659dc in /usr/bin/clickhouse 7. /build/src/Interpreters/InDepthNodeVisitor.h:43: void DB::InDepthNodeVisitor>, &DB::NeedChild::all(std::shared_ptr const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfa7a9d in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>, &DB::NeedChild::all(std::shared_ptr const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x000000001cfa28a5 in /usr/bin/clickhouse 9. /build/src/Interpreters/TreeRewriter.cpp:1366: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x000000001cf9ef52 in /usr/bin/clickhouse 10. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d467 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:331: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecdf980 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca80132 in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:344: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecdfc34 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca80132 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:344: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecdfc34 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca80132 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:344: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecdfc34 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca80132 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:344: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecdfc34 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca80132 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:344: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecdfc34 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca80132 in /usr/bin/clickhouse 2024.09.24 01:21:02.267523 [ 8835 ] {8f8450e5-752a-4d3a-bf39-78e5ef5dd54f} executeQuery: Code: 6. DB::Exception: Cannot parse string 'some_string' as Int32: syntax error at begin of string. Note: there are toInt32OrZero and toInt32OrNull functions, which returns zero/NULL instead of throwing exception.: While processing _CAST('some_string' AS Value_tmp_alter7404194231578481604, 'Int32') AS Value: default expression and column type are incompatible. (CANNOT_PARSE_TEXT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54266) (comment: 01522_validate_alter_default.sql) (in query: ALTER TABLE table2 MODIFY COLUMN `Value` DEFAULT 'some_string';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b217fb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b3dd357 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b3d8058 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b3c6919 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b3c5c48 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b3c4e5e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b238e10 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238da6 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238d40 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238ce0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b238c8b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 2024.09.24 01:21:02.268455 [ 8835 ] {8f8450e5-752a-4d3a-bf39-78e5ef5dd54f} TCPHandler: Code: 6. DB::Exception: Cannot parse string 'some_string' as Int32: syntax error at begin of string. Note: there are toInt32OrZero and toInt32OrNull functions, which returns zero/NULL instead of throwing exception.: While processing _CAST('some_string' AS Value_tmp_alter7404194231578481604, 'Int32') AS Value: default expression and column type are incompatible. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b217fb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b3dd357 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b3d8058 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b3c6919 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b3c5c48 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b3c4e5e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b238e10 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238da6 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238d40 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238ce0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b238c8b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 2024.09.24 01:21:02.362064 [ 8835 ] {ea0d4891-99e8-45fc-974d-ca6b2032db25} executeQuery: Code: 36. DB::Exception: Data type have to be specified for column `Value2` to add. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54266) (comment: 01522_validate_alter_default.sql) (in query: ALTER TABLE table2 ADD COLUMN `Value2` DEFAULT 'some_string';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1089: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58de62 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:21:02.362743 [ 8835 ] {ea0d4891-99e8-45fc-974d-ca6b2032db25} TCPHandler: Code: 36. DB::Exception: Data type have to be specified for column `Value2` to add. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1089: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58de62 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:21:02.690973 [ 8835 ] {59cebc38-bb7e-4698-99b8-3f4a5a66bc9a} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001736 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54288) (comment: 01529_bad_memory_tracking.sh) (in query: SELECT i FROM generateRandom('i Array(Int8)', 1, 1, 1048577) LIMIT 65536), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b201225 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b2010b9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b200ea6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:369: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6c0b89 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:257: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6bfad9 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:548: DB::(anonymous namespace)::GenerateSource::generate() @ 0x000000001d6bef81 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:21:02.696926 [ 8835 ] {59cebc38-bb7e-4698-99b8-3f4a5a66bc9a} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001736 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b201225 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b2010b9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b200ea6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:369: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6c0b89 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:257: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6bfad9 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:548: DB::(anonymous namespace)::GenerateSource::generate() @ 0x000000001d6bef81 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:21:04.442359 [ 8835 ] {e3c3da7d-6577-40d5-89b9-94ea284bb6e2} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 160.00 GiB (attempt to allocate chunk of 68720001736 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54370) (comment: 01529_bad_memory_tracking.sh) (in query: SELECT i FROM generateRandom('i Array(Int8)', 1, 1, 1048577) LIMIT 65536), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b201225 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b2010b9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b200ea6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:369: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6c0b89 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:257: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6bfad9 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:548: DB::(anonymous namespace)::GenerateSource::generate() @ 0x000000001d6bef81 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:21:04.448470 [ 8835 ] {e3c3da7d-6577-40d5-89b9-94ea284bb6e2} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 160.00 GiB (attempt to allocate chunk of 68720001736 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b201225 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b2010b9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b200ea6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:369: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6c0b89 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:257: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6bfad9 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:548: DB::(anonymous namespace)::GenerateSource::generate() @ 0x000000001d6bef81 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:21:06.263989 [ 12003 ] {b1614516-f323-49d0-9f6f-8d5f6366152c} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001736 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54412) (comment: 01529_bad_memory_tracking.sh) (in query: SELECT i FROM generateRandom('i Array(Int8)', 1, 1, 1048577) LIMIT 65536), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b201225 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b2010b9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b200ea6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:369: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6c0b89 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:257: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6bfad9 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:548: DB::(anonymous namespace)::GenerateSource::generate() @ 0x000000001d6bef81 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:21:06.268117 [ 12003 ] {b1614516-f323-49d0-9f6f-8d5f6366152c} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001736 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b201225 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b2010b9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b200ea6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:369: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6c0b89 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:257: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6bfad9 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:548: DB::(anonymous namespace)::GenerateSource::generate() @ 0x000000001d6bef81 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:21:08.028078 [ 1124 ] {a5bb1cd9-551f-440d-90f9-de77c811dbc4} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001736 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54450) (comment: 01529_bad_memory_tracking.sh) (in query: SELECT i FROM generateRandom('i Array(Int8)', 1, 1, 1048577) LIMIT 65536), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b201225 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b2010b9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b200ea6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:369: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6c0b89 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:257: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6bfad9 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:548: DB::(anonymous namespace)::GenerateSource::generate() @ 0x000000001d6bef81 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:21:08.033886 [ 1124 ] {a5bb1cd9-551f-440d-90f9-de77c811dbc4} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001736 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b201225 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b2010b9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b200ea6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:369: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6c0b89 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:257: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6bfad9 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:548: DB::(anonymous namespace)::GenerateSource::generate() @ 0x000000001d6bef81 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:21:10.014964 [ 12003 ] {b68c9858-d469-41b7-92c9-46f716432f60} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001736 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54458) (comment: 01529_bad_memory_tracking.sh) (in query: SELECT i FROM generateRandom('i Array(Int8)', 1, 1, 1048577) LIMIT 65536), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b201225 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b2010b9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b200ea6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:369: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6c0b89 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:257: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6bfad9 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:548: DB::(anonymous namespace)::GenerateSource::generate() @ 0x000000001d6bef81 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:21:10.021869 [ 12003 ] {b68c9858-d469-41b7-92c9-46f716432f60} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001736 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b201225 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b2010b9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b200ea6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:369: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6c0b89 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:257: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6bfad9 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:548: DB::(anonymous namespace)::GenerateSource::generate() @ 0x000000001d6bef81 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:21:11.867744 [ 5572 ] {59d4aef7-06b7-4cd3-8be5-bd850e84018c} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 128.00 GiB (attempt to allocate chunk of 68720001736 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:50976) (comment: 01529_bad_memory_tracking.sh) (in query: SELECT i FROM generateRandom('i Array(Int8)', 1, 1, 1048577) LIMIT 65536), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b201225 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b2010b9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b200ea6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:369: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6c0b89 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:257: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6bfad9 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:548: DB::(anonymous namespace)::GenerateSource::generate() @ 0x000000001d6bef81 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:21:11.872500 [ 5572 ] {59d4aef7-06b7-4cd3-8be5-bd850e84018c} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 128.00 GiB (attempt to allocate chunk of 68720001736 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b201225 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b2010b9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b200ea6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:369: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6c0b89 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:257: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6bfad9 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:548: DB::(anonymous namespace)::GenerateSource::generate() @ 0x000000001d6bef81 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:21:13.810362 [ 12042 ] {975be6ef-953b-4ef3-847b-e704656e8056} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001736 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:51018) (comment: 01529_bad_memory_tracking.sh) (in query: SELECT i FROM generateRandom('i Array(Int8)', 1, 1, 1048577) LIMIT 65536), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b201225 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b2010b9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b200ea6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:369: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6c0b89 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:257: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6bfad9 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:548: DB::(anonymous namespace)::GenerateSource::generate() @ 0x000000001d6bef81 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:21:13.814790 [ 12042 ] {975be6ef-953b-4ef3-847b-e704656e8056} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001736 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b201225 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b2010b9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b200ea6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:369: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6c0b89 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:257: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6bfad9 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:548: DB::(anonymous namespace)::GenerateSource::generate() @ 0x000000001d6bef81 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:21:14.354298 [ 12042 ] {838ec21b-ef4b-4e00-ac11-ad9b459f5649} executeQuery: Code: 36. DB::Exception: Expected two string literal arguments: zookeeper_path and replica_name. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:51026) (comment: 01512_create_replicate_merge_tree_one_arg.sql) (in query: CREATE TABLE mt (`v` UInt8) ENGINE = ReplicatedMergeTree('/clickhouse/tables/{database}/test_01497/mt') ORDER BY tuple() SETTINGS index_granularity = 27821, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 5502, prefer_fetch_merged_part_size_threshold = 6663963077, vertical_merge_algorithm_min_rows_to_activate = 332767, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 20562258, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 19910, primary_key_compress_block_size = 16196), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [71]) @ 0x000000001855e3de in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:429: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35779b in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 13. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:21:14.355304 [ 12042 ] {838ec21b-ef4b-4e00-ac11-ad9b459f5649} TCPHandler: Code: 36. DB::Exception: Expected two string literal arguments: zookeeper_path and replica_name. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [71]) @ 0x000000001855e3de in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:429: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35779b in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 13. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:21:15.758633 [ 1125 ] {81bf6be6-ad9e-4aa2-bccf-65130d406df5} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001736 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:51042) (comment: 01529_bad_memory_tracking.sh) (in query: SELECT i FROM generateRandom('i Array(Int8)', 1, 1, 1048577) LIMIT 65536), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b201225 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b2010b9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b200ea6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:369: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6c0b89 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:257: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6bfad9 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:548: DB::(anonymous namespace)::GenerateSource::generate() @ 0x000000001d6bef81 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:21:15.764174 [ 1125 ] {81bf6be6-ad9e-4aa2-bccf-65130d406df5} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001736 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b201225 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b2010b9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b200ea6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:369: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6c0b89 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:257: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6bfad9 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:548: DB::(anonymous namespace)::GenerateSource::generate() @ 0x000000001d6bef81 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:21:17.409380 [ 8852 ] {35a13225-4c53-41c1-a690-1475128a24c5} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001736 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:51054) (comment: 01529_bad_memory_tracking.sh) (in query: SELECT i FROM generateRandom('i Array(Int8)', 1, 1, 1048577) LIMIT 65536), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b201225 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b2010b9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b200ea6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:369: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6c0b89 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:257: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6bfad9 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:548: DB::(anonymous namespace)::GenerateSource::generate() @ 0x000000001d6bef81 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:21:17.414327 [ 8852 ] {35a13225-4c53-41c1-a690-1475128a24c5} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001736 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b201225 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b2010b9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b200ea6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:369: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6c0b89 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:257: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6bfad9 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:548: DB::(anonymous namespace)::GenerateSource::generate() @ 0x000000001d6bef81 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:21:18.902303 [ 1313 ] {c5645d4b-b907-4c99-a33e-9b000054c191} HashedDictionary: 'prellocate' attribute is obsolete, consider looking at 'shards' 2024.09.24 01:21:27.054707 [ 12003 ] {9bcbf47c-b486-46b4-8fd7-4255eb432651} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 513.52 MiB (attempt to allocate chunk of 134714904 bytes), maximum: 476.84 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54464) (comment: 01513_optimize_aggregation_in_order_memory_long.sql) (in query: select key, groupArray(repeat('a', 200)), count() from data_01513 group by key format Null settings optimize_aggregation_in_order=0;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/Common/Arena.h:53: DB::Arena::MemoryChunk::MemoryChunk(unsigned long, DB::Arena::MemoryChunk*) @ 0x000000000c4a1d84 in /usr/bin/clickhouse 12. /build/src/Common/Arena.h:122: DB::Arena::addMemoryChunk(unsigned long) @ 0x000000000c4a707a in /usr/bin/clickhouse 13. /build/src/Common/Arena.h:177: DB::Arena::alignedAlloc(unsigned long, unsigned long) @ 0x000000000c4a6f6e in /usr/bin/clickhouse 14. /build/src/Common/Arena.h:285: DB::Arena::alignedRealloc(char const*, unsigned long, unsigned long, unsigned long) @ 0x0000000014556b8d in /usr/bin/clickhouse 15. /build/src/Common/ArenaAllocator.h:69: DB::AlignedArenaAllocator<8ul>::realloc(void*, unsigned long, unsigned long, DB::Arena*) @ 0x0000000014568220 in /usr/bin/clickhouse 16. /build/src/Common/ArenaAllocator.h:101: DB::MixedArenaAllocator<4096ul, Allocator, DB::AlignedArenaAllocator<8ul>, 8ul>::realloc(void*, unsigned long, unsigned long, DB::Arena*) @ 0x0000000014568067 in /usr/bin/clickhouse 17. /build/src/Common/PODArray.h:165: void DB::PODArrayBase<8ul, 32ul, DB::MixedArenaAllocator<4096ul, Allocator, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul>::realloc(unsigned long, DB::Arena*&) @ 0x0000000014567ec7 in /usr/bin/clickhouse 18. /build/src/Common/PODArray.h:196: void DB::PODArrayBase<8ul, 32ul, DB::MixedArenaAllocator<4096ul, Allocator, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul>::reserveForNextSize(DB::Arena*&) @ 0x0000000014567ded in /usr/bin/clickhouse 19. /build/src/Common/PODArray.h:0: void DB::PODArray, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul>::push_back(DB::GroupArrayNodeString*&, DB::Arena*&) @ 0x00000000145b9929 in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionGroupArray.h:530: DB::GroupArrayGeneralImpl>::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x00000000145b7da4 in /usr/bin/clickhouse 21. /build/src/AggregateFunctions/IAggregateFunction.h:478: DB::IAggregateFunctionHelper>>::addBatch(unsigned long, unsigned long, char**, unsigned long, DB::IColumn const**, DB::Arena*, long) const @ 0x00000000145b852b in /usr/bin/clickhouse 22. /build/src/Interpreters/Aggregator.cpp:1303: void DB::Aggregator::executeImplBatch>, false>>(DB::AggregationMethodStringNoCache>, false>&, DB::AggregationMethodStringNoCache>, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c23a54c in /usr/bin/clickhouse 23. /build/src/Interpreters/Aggregator.cpp:1089: void DB::Aggregator::executeImpl>, false>>(DB::AggregationMethodStringNoCache>, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d73df in /usr/bin/clickhouse 24. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01beca in /usr/bin/clickhouse 25. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 27. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 2024.09.24 01:21:27.094511 [ 12003 ] {9bcbf47c-b486-46b4-8fd7-4255eb432651} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 513.52 MiB (attempt to allocate chunk of 134714904 bytes), maximum: 476.84 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/Common/Arena.h:53: DB::Arena::MemoryChunk::MemoryChunk(unsigned long, DB::Arena::MemoryChunk*) @ 0x000000000c4a1d84 in /usr/bin/clickhouse 12. /build/src/Common/Arena.h:122: DB::Arena::addMemoryChunk(unsigned long) @ 0x000000000c4a707a in /usr/bin/clickhouse 13. /build/src/Common/Arena.h:177: DB::Arena::alignedAlloc(unsigned long, unsigned long) @ 0x000000000c4a6f6e in /usr/bin/clickhouse 14. /build/src/Common/Arena.h:285: DB::Arena::alignedRealloc(char const*, unsigned long, unsigned long, unsigned long) @ 0x0000000014556b8d in /usr/bin/clickhouse 15. /build/src/Common/ArenaAllocator.h:69: DB::AlignedArenaAllocator<8ul>::realloc(void*, unsigned long, unsigned long, DB::Arena*) @ 0x0000000014568220 in /usr/bin/clickhouse 16. /build/src/Common/ArenaAllocator.h:101: DB::MixedArenaAllocator<4096ul, Allocator, DB::AlignedArenaAllocator<8ul>, 8ul>::realloc(void*, unsigned long, unsigned long, DB::Arena*) @ 0x0000000014568067 in /usr/bin/clickhouse 17. /build/src/Common/PODArray.h:165: void DB::PODArrayBase<8ul, 32ul, DB::MixedArenaAllocator<4096ul, Allocator, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul>::realloc(unsigned long, DB::Arena*&) @ 0x0000000014567ec7 in /usr/bin/clickhouse 18. /build/src/Common/PODArray.h:196: void DB::PODArrayBase<8ul, 32ul, DB::MixedArenaAllocator<4096ul, Allocator, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul>::reserveForNextSize(DB::Arena*&) @ 0x0000000014567ded in /usr/bin/clickhouse 19. /build/src/Common/PODArray.h:0: void DB::PODArray, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul>::push_back(DB::GroupArrayNodeString*&, DB::Arena*&) @ 0x00000000145b9929 in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionGroupArray.h:530: DB::GroupArrayGeneralImpl>::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x00000000145b7da4 in /usr/bin/clickhouse 21. /build/src/AggregateFunctions/IAggregateFunction.h:478: DB::IAggregateFunctionHelper>>::addBatch(unsigned long, unsigned long, char**, unsigned long, DB::IColumn const**, DB::Arena*, long) const @ 0x00000000145b852b in /usr/bin/clickhouse 22. /build/src/Interpreters/Aggregator.cpp:1303: void DB::Aggregator::executeImplBatch>, false>>(DB::AggregationMethodStringNoCache>, false>&, DB::AggregationMethodStringNoCache>, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c23a54c in /usr/bin/clickhouse 23. /build/src/Interpreters/Aggregator.cpp:1089: void DB::Aggregator::executeImpl>, false>>(DB::AggregationMethodStringNoCache>, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d73df in /usr/bin/clickhouse 24. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01beca in /usr/bin/clickhouse 25. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 27. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 2024.09.24 01:21:32.150116 [ 12042 ] {631cc0ec-0902-44c6-ad97-a6daab702d43} executeQuery: Code: 47. DB::Exception: Unknown qualified identifier: insert_select_src: While processing insert_select_src.* EXCEPT (middle_a, middle_b). (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58340) (comment: 01470_test_insert_select_asterisk.sql) (in query: INSERT INTO insert_select_dst(insert_select_src.* EXCEPT (middle_a, middle_b)) SELECT * FROM insert_select_src;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:170: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTQualifiedAsterisk const&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x000000001d020a59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:225: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x000000001d01f82e in /usr/bin/clickhouse 8. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:112: DB::TranslateQualifiedNamesMatcher::visit(std::shared_ptr&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x000000001d01efb9 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cfae120 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cfae301 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cfae0aa in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cfadf65 in /usr/bin/clickhouse 13. /build/src/Interpreters/processColumnTransformers.cpp:44: DB::processColumnTransformers(String const&, std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d0e4dab in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterInsertQuery.cpp:142: DB::InterpreterInsertQuery::getSampleBlock(DB::ASTInsertQuery const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001ca7f662 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterInsertQuery.cpp:393: DB::InterpreterInsertQuery::execute() @ 0x000000001ca817a6 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:21:32.196898 [ 12042 ] {631cc0ec-0902-44c6-ad97-a6daab702d43} TCPHandler: Code: 47. DB::Exception: Unknown qualified identifier: insert_select_src: While processing insert_select_src.* EXCEPT (middle_a, middle_b). (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:170: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTQualifiedAsterisk const&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x000000001d020a59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:225: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x000000001d01f82e in /usr/bin/clickhouse 8. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:112: DB::TranslateQualifiedNamesMatcher::visit(std::shared_ptr&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x000000001d01efb9 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cfae120 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cfae301 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cfae0aa in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cfadf65 in /usr/bin/clickhouse 13. /build/src/Interpreters/processColumnTransformers.cpp:44: DB::processColumnTransformers(String const&, std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d0e4dab in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterInsertQuery.cpp:142: DB::InterpreterInsertQuery::getSampleBlock(DB::ASTInsertQuery const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001ca7f662 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterInsertQuery.cpp:393: DB::InterpreterInsertQuery::execute() @ 0x000000001ca817a6 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:21:33.038752 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5c937349-a2c9-473c-a209-8f0679d3444c::all_0_15_3}: Code: 234. DB::Exception: No active replica has part all_0_15_3 or covering part (cannot execute queue-0000000032: MERGE_PARTS with virtual parts [all_0_15_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:21:33.115526 [ 922 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {310b9c83-aea3-45b5-91bb-fa8e28ee3d21::all_0_21_4}: Code: 234. DB::Exception: No active replica has part all_0_21_4 or covering part (cannot execute queue-0000000033: MERGE_PARTS with virtual parts [all_0_21_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:21:33.116420 [ 916 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {011d03af-5928-47b7-8c9b-676c2c91bfb1::all_0_21_4}: Code: 234. DB::Exception: No active replica has part all_0_21_4 or covering part (cannot execute queue-0000000033: MERGE_PARTS with virtual parts [all_0_21_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:21:33.616847 [ 12042 ] {0a90acab-3430-40a6-9e1c-78ad238a4a73} executeQuery: Code: 47. DB::Exception: Missing columns: 'j1' while processing query: 'SELECT j, k, j1 FROM columns_transformers', required columns: 'j' 'k' 'j1', maybe you meant: 'j' or 'k'. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:35850) (comment: 01470_columns_transformers.sql) (in query: SELECT * EXCEPT STRICT i, j1 from columns_transformers;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:21:33.617629 [ 12042 ] {0a90acab-3430-40a6-9e1c-78ad238a4a73} TCPHandler: Code: 47. DB::Exception: Missing columns: 'j1' while processing query: 'SELECT j, k, j1 FROM columns_transformers', required columns: 'j' 'k' 'j1', maybe you meant: 'j' or 'k'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:21:33.809469 [ 12042 ] {11119625-dec9-4814-8e74-1ff4e239c23d} executeQuery: Code: 16. DB::Exception: Columns transformer EXCEPT expects following column(s) : j1: While processing . (NO_SUCH_COLUMN_IN_TABLE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:35850) (comment: 01470_columns_transformers.sql) (in query: SELECT * EXCEPT STRICT(i, j1) from columns_transformers;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Parsers/ASTColumnsTransformers.cpp:266: DB::ASTColumnsExceptTransformer::transform(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) const @ 0x000000001f3343cf in /usr/bin/clickhouse 7. /build/src/Parsers/ASTColumnsTransformers.cpp:40: DB::IASTColumnsTransformer::transform(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) @ 0x000000001f32f354 in /usr/bin/clickhouse 8. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:262: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x000000001d01fcb8 in /usr/bin/clickhouse 9. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:112: DB::TranslateQualifiedNamesMatcher::visit(std::shared_ptr&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x000000001d01efb9 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cfae120 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cfae301 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cfae0aa in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cfae3a6 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cfae30e in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cfae0aa in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cfadf65 in /usr/bin/clickhouse 17. /build/src/Interpreters/TreeRewriter.cpp:310: DB::(anonymous namespace)::translateQualifiedNames(std::shared_ptr&, DB::ASTSelectQuery const&, std::unordered_set, std::equal_to, std::allocator> const&, std::vector> const&) @ 0x000000001cf9ecac in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:1200: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d1a6 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 2024.09.24 01:21:33.810612 [ 12042 ] {11119625-dec9-4814-8e74-1ff4e239c23d} TCPHandler: Code: 16. DB::Exception: Columns transformer EXCEPT expects following column(s) : j1: While processing . (NO_SUCH_COLUMN_IN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Parsers/ASTColumnsTransformers.cpp:266: DB::ASTColumnsExceptTransformer::transform(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) const @ 0x000000001f3343cf in /usr/bin/clickhouse 7. /build/src/Parsers/ASTColumnsTransformers.cpp:40: DB::IASTColumnsTransformer::transform(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) @ 0x000000001f32f354 in /usr/bin/clickhouse 8. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:262: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x000000001d01fcb8 in /usr/bin/clickhouse 9. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:112: DB::TranslateQualifiedNamesMatcher::visit(std::shared_ptr&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x000000001d01efb9 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cfae120 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cfae301 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cfae0aa in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cfae3a6 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cfae30e in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cfae0aa in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cfadf65 in /usr/bin/clickhouse 17. /build/src/Interpreters/TreeRewriter.cpp:310: DB::(anonymous namespace)::translateQualifiedNames(std::shared_ptr&, DB::ASTSelectQuery const&, std::unordered_set, std::equal_to, std::allocator> const&, std::vector> const&) @ 0x000000001cf9ecac in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:1200: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d1a6 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 2024.09.24 01:21:34.027347 [ 12042 ] {6ce050a9-327d-4db5-9f44-5302c6b4553e} executeQuery: Code: 16. DB::Exception: Columns transformer REPLACE expects following column(s) : col: While processing . (NO_SUCH_COLUMN_IN_TABLE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:35850) (comment: 01470_columns_transformers.sql) (in query: SELECT * REPLACE STRICT(i + 1 AS col) from columns_transformers;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Parsers/ASTColumnsTransformers.cpp:425: DB::ASTColumnsReplaceTransformer::transform(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) const @ 0x000000001f3369dd in /usr/bin/clickhouse 7. /build/src/Parsers/ASTColumnsTransformers.cpp:0: DB::IASTColumnsTransformer::transform(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) @ 0x000000001f32f387 in /usr/bin/clickhouse 8. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:262: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x000000001d01fcb8 in /usr/bin/clickhouse 9. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:112: DB::TranslateQualifiedNamesMatcher::visit(std::shared_ptr&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x000000001d01efb9 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cfae120 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cfae301 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cfae0aa in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cfae3a6 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cfae30e in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cfae0aa in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cfadf65 in /usr/bin/clickhouse 17. /build/src/Interpreters/TreeRewriter.cpp:310: DB::(anonymous namespace)::translateQualifiedNames(std::shared_ptr&, DB::ASTSelectQuery const&, std::unordered_set, std::equal_to, std::allocator> const&, std::vector> const&) @ 0x000000001cf9ecac in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:1200: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d1a6 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 2024.09.24 01:21:34.028499 [ 12042 ] {6ce050a9-327d-4db5-9f44-5302c6b4553e} TCPHandler: Code: 16. DB::Exception: Columns transformer REPLACE expects following column(s) : col: While processing . (NO_SUCH_COLUMN_IN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Parsers/ASTColumnsTransformers.cpp:425: DB::ASTColumnsReplaceTransformer::transform(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) const @ 0x000000001f3369dd in /usr/bin/clickhouse 7. /build/src/Parsers/ASTColumnsTransformers.cpp:0: DB::IASTColumnsTransformer::transform(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) @ 0x000000001f32f387 in /usr/bin/clickhouse 8. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:262: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x000000001d01fcb8 in /usr/bin/clickhouse 9. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:112: DB::TranslateQualifiedNamesMatcher::visit(std::shared_ptr&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x000000001d01efb9 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cfae120 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cfae301 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cfae0aa in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cfae3a6 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cfae30e in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cfae0aa in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cfadf65 in /usr/bin/clickhouse 17. /build/src/Interpreters/TreeRewriter.cpp:310: DB::(anonymous namespace)::translateQualifiedNames(std::shared_ptr&, DB::ASTSelectQuery const&, std::unordered_set, std::equal_to, std::allocator> const&, std::vector> const&) @ 0x000000001cf9ecac in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:1200: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d1a6 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 2024.09.24 01:21:34.333198 [ 12042 ] {87f89756-8612-4be4-a704-4a3693367893} executeQuery: Code: 43. DB::Exception: Expressions in columns transformer REPLACE should not contain the same replacement more than once: While processing . (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:35850) (comment: 01470_columns_transformers.sql) (in query: SELECT columns_transformers.* REPLACE(j + 1 AS j, j + 2 AS j) APPLY(avg) from columns_transformers;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [98]) @ 0x0000000017a9f61e in /usr/bin/clickhouse 6. /build/src/Parsers/ASTColumnsTransformers.cpp:384: DB::ASTColumnsReplaceTransformer::transform(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) const @ 0x000000001f3362e4 in /usr/bin/clickhouse 7. /build/src/Parsers/ASTColumnsTransformers.cpp:0: DB::IASTColumnsTransformer::transform(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) @ 0x000000001f32f387 in /usr/bin/clickhouse 8. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:314: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x000000001d0204ee in /usr/bin/clickhouse 9. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:112: DB::TranslateQualifiedNamesMatcher::visit(std::shared_ptr&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x000000001d01efb9 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cfae120 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cfae301 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cfae0aa in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cfae3a6 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cfae30e in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cfae0aa in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cfadf65 in /usr/bin/clickhouse 17. /build/src/Interpreters/TreeRewriter.cpp:310: DB::(anonymous namespace)::translateQualifiedNames(std::shared_ptr&, DB::ASTSelectQuery const&, std::unordered_set, std::equal_to, std::allocator> const&, std::vector> const&) @ 0x000000001cf9ecac in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:1200: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d1a6 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 2024.09.24 01:21:34.334493 [ 12042 ] {87f89756-8612-4be4-a704-4a3693367893} TCPHandler: Code: 43. DB::Exception: Expressions in columns transformer REPLACE should not contain the same replacement more than once: While processing . (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [98]) @ 0x0000000017a9f61e in /usr/bin/clickhouse 6. /build/src/Parsers/ASTColumnsTransformers.cpp:384: DB::ASTColumnsReplaceTransformer::transform(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) const @ 0x000000001f3362e4 in /usr/bin/clickhouse 7. /build/src/Parsers/ASTColumnsTransformers.cpp:0: DB::IASTColumnsTransformer::transform(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) @ 0x000000001f32f387 in /usr/bin/clickhouse 8. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:314: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x000000001d0204ee in /usr/bin/clickhouse 9. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:112: DB::TranslateQualifiedNamesMatcher::visit(std::shared_ptr&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x000000001d01efb9 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cfae120 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cfae301 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cfae0aa in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cfae3a6 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cfae30e in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cfae0aa in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cfadf65 in /usr/bin/clickhouse 17. /build/src/Interpreters/TreeRewriter.cpp:310: DB::(anonymous namespace)::translateQualifiedNames(std::shared_ptr&, DB::ASTSelectQuery const&, std::unordered_set, std::equal_to, std::allocator> const&, std::vector> const&) @ 0x000000001cf9ecac in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:1200: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d1a6 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 2024.09.24 01:21:34.559255 [ 12042 ] {bcd0c111-84e3-46db-81da-fe071530198f} executeQuery: Code: 16. DB::Exception: Columns transformer REPLACE expects following column(s) : i: While processing . (NO_SUCH_COLUMN_IN_TABLE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:35850) (comment: 01470_columns_transformers.sql) (in query: SELECT a.* APPLY(toDate) REPLACE STRICT(i + 1 AS i) APPLY(any) from columns_transformers a;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Parsers/ASTColumnsTransformers.cpp:425: DB::ASTColumnsReplaceTransformer::transform(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) const @ 0x000000001f3369dd in /usr/bin/clickhouse 7. /build/src/Parsers/ASTColumnsTransformers.cpp:0: DB::IASTColumnsTransformer::transform(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) @ 0x000000001f32f387 in /usr/bin/clickhouse 8. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:314: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x000000001d0204ee in /usr/bin/clickhouse 9. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:112: DB::TranslateQualifiedNamesMatcher::visit(std::shared_ptr&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x000000001d01efb9 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cfae120 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cfae301 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cfae0aa in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cfae3a6 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cfae30e in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cfae0aa in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cfadf65 in /usr/bin/clickhouse 17. /build/src/Interpreters/TreeRewriter.cpp:310: DB::(anonymous namespace)::translateQualifiedNames(std::shared_ptr&, DB::ASTSelectQuery const&, std::unordered_set, std::equal_to, std::allocator> const&, std::vector> const&) @ 0x000000001cf9ecac in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:1200: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d1a6 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 2024.09.24 01:21:34.560267 [ 12042 ] {bcd0c111-84e3-46db-81da-fe071530198f} TCPHandler: Code: 16. DB::Exception: Columns transformer REPLACE expects following column(s) : i: While processing . (NO_SUCH_COLUMN_IN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Parsers/ASTColumnsTransformers.cpp:425: DB::ASTColumnsReplaceTransformer::transform(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) const @ 0x000000001f3369dd in /usr/bin/clickhouse 7. /build/src/Parsers/ASTColumnsTransformers.cpp:0: DB::IASTColumnsTransformer::transform(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) @ 0x000000001f32f387 in /usr/bin/clickhouse 8. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:314: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x000000001d0204ee in /usr/bin/clickhouse 9. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:112: DB::TranslateQualifiedNamesMatcher::visit(std::shared_ptr&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x000000001d01efb9 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cfae120 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cfae301 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cfae0aa in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cfae3a6 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cfae30e in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cfae0aa in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cfadf65 in /usr/bin/clickhouse 17. /build/src/Interpreters/TreeRewriter.cpp:310: DB::(anonymous namespace)::translateQualifiedNames(std::shared_ptr&, DB::ASTSelectQuery const&, std::unordered_set, std::equal_to, std::allocator> const&, std::vector> const&) @ 0x000000001cf9ecac in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:1200: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d1a6 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 2024.09.24 01:21:37.181859 [ 12043 ] {c4f39b67-653d-452a-99e0-d3ee58290dce} executeQuery: Code: 232. DB::Exception: No part all_100_100_0 in committed state. (NO_SUCH_DATA_PART) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:35896) (comment: 01451_detach_drop_part.sql) (in query: ALTER TABLE mt_01451 DETACH PART 'all_100_100_0';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4984: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x000000001deab7d0 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5138: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001dead5d0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:21:37.182865 [ 12043 ] {c4f39b67-653d-452a-99e0-d3ee58290dce} TCPHandler: Code: 232. DB::Exception: No part all_100_100_0 in committed state. (NO_SUCH_DATA_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4984: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x000000001deab7d0 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5138: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001dead5d0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:21:37.549037 [ 12043 ] {bc665aa7-0e30-40a2-935e-12988c660176} executeQuery: Code: 233. DB::Exception: Detached part "all_4_4_0" not found. (BAD_DATA_PART_NAME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:35896) (comment: 01451_detach_drop_part.sql) (in query: ALTER TABLE mt_01451 ATTACH PART 'all_4_4_0';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7609: DB::MergeTreeData::getDiskForDetachedPart(String const&) const @ 0x000000001deb4cdc in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5924: DB::MergeTreeData::tryLoadPartsToAttach(std::shared_ptr const&, bool, std::shared_ptr, DB::MergeTreeData::PartsTemporaryRename&) @ 0x000000001deb555d in /usr/bin/clickhouse 8. /build/src/Storages/StorageMergeTree.cpp:1967: DB::StorageMergeTree::attachPartition(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001e37c91d in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:5154: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001dead7f0 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 21. ? @ 0x00007f1d281b3ac3 in ? 22. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:21:37.550049 [ 12043 ] {bc665aa7-0e30-40a2-935e-12988c660176} TCPHandler: Code: 233. DB::Exception: Detached part "all_4_4_0" not found. (BAD_DATA_PART_NAME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7609: DB::MergeTreeData::getDiskForDetachedPart(String const&) const @ 0x000000001deb4cdc in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5924: DB::MergeTreeData::tryLoadPartsToAttach(std::shared_ptr const&, bool, std::shared_ptr, DB::MergeTreeData::PartsTemporaryRename&) @ 0x000000001deb555d in /usr/bin/clickhouse 8. /build/src/Storages/StorageMergeTree.cpp:1967: DB::StorageMergeTree::attachPartition(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001e37c91d in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:5154: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001dead7f0 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 21. ? @ 0x00007f1d281b3ac3 in ? 22. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:21:38.031660 [ 12003 ] {896e8213-a671-4fab-8410-f6ba58cf0f6a} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 480.94 MiB (attempt to allocate chunk of 16777216 bytes), maximum: 476.84 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54464) (comment: 01513_optimize_aggregation_in_order_memory_long.sql) (in query: -- for WITH TOTALS previous groups should be kept. select key, groupArray(repeat('a', 200)), count() from data_01513 group by key with totals format Null settings optimize_aggregation_in_order=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x00000000138791cd in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:165: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b201102 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b200ea6 in /usr/bin/clickhouse 13. /build/src/Columns/ColumnString.h:159: DB::ColumnString::insertData(char const*, unsigned long) @ 0x000000000b92710a in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionGroupArray.h:410: DB::GroupArrayNodeString::insertInto(DB::IColumn&) @ 0x0000000014590281 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionGroupArray.h:681: DB::GroupArrayGeneralImpl>::insertResultInto(char*, DB::IColumn&, DB::Arena*) const @ 0x00000000145b83a8 in /usr/bin/clickhouse 16. /build/src/Columns/ColumnAggregateFunction.cpp:168: DB::ColumnAggregateFunction::convertToValues(COW::mutable_ptr) @ 0x000000001d1f352d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/finalizeChunk.cpp:26: DB::finalizeChunk(DB::Chunk&, std::vector> const&) @ 0x000000001ecf4f2c in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:173: DB::TotalsHavingTransform::transform(DB::Chunk&) @ 0x000000001ecb269d in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 20. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:146: DB::TotalsHavingTransform::work() @ 0x000000001ecb213d in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 2024.09.24 01:21:38.058614 [ 12003 ] {896e8213-a671-4fab-8410-f6ba58cf0f6a} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 480.94 MiB (attempt to allocate chunk of 16777216 bytes), maximum: 476.84 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x00000000138791cd in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:165: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b201102 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b200ea6 in /usr/bin/clickhouse 13. /build/src/Columns/ColumnString.h:159: DB::ColumnString::insertData(char const*, unsigned long) @ 0x000000000b92710a in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionGroupArray.h:410: DB::GroupArrayNodeString::insertInto(DB::IColumn&) @ 0x0000000014590281 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionGroupArray.h:681: DB::GroupArrayGeneralImpl>::insertResultInto(char*, DB::IColumn&, DB::Arena*) const @ 0x00000000145b83a8 in /usr/bin/clickhouse 16. /build/src/Columns/ColumnAggregateFunction.cpp:168: DB::ColumnAggregateFunction::convertToValues(COW::mutable_ptr) @ 0x000000001d1f352d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/finalizeChunk.cpp:26: DB::finalizeChunk(DB::Chunk&, std::vector> const&) @ 0x000000001ecf4f2c in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:173: DB::TotalsHavingTransform::transform(DB::Chunk&) @ 0x000000001ecb269d in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 20. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:146: DB::TotalsHavingTransform::work() @ 0x000000001ecb213d in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 2024.09.24 01:21:39.924561 [ 1125 ] {3ea59723-85f2-42ee-8aae-5a32c61b1c7e} executeQuery: Code: 12. DB::Exception: Too large 'k' argument for h3kRing function, maximum 10000: While processing h3kRing(581276613233082367, 65535). (PARAMETER_OUT_OF_BOUND) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:35982) (comment: 01442_h3kring_range_check.sql) (in query: SELECT h3kRing(581276613233082367, 65535);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, int const&) @ 0x000000000eef018c in /usr/bin/clickhouse 6. /build/src/Functions/h3kRing.cpp:112: DB::(anonymous namespace)::FunctionH3KRing::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ef0c44d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:21:39.926037 [ 1125 ] {3ea59723-85f2-42ee-8aae-5a32c61b1c7e} TCPHandler: Code: 12. DB::Exception: Too large 'k' argument for h3kRing function, maximum 10000: While processing h3kRing(581276613233082367, 65535). (PARAMETER_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, int const&) @ 0x000000000eef018c in /usr/bin/clickhouse 6. /build/src/Functions/h3kRing.cpp:112: DB::(anonymous namespace)::FunctionH3KRing::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ef0c44d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:21:40.100064 [ 1125 ] {161badaa-63c1-4b45-8905-15cef702a40c} executeQuery: Code: 43. DB::Exception: Illegal type Int8 of argument 2 of function h3kRing. Must be unsigned native integer.: While processing h3kRing(581276613233082367, -1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:35982) (comment: 01442_h3kring_range_check.sql) (in query: SELECT h3kRing(581276613233082367, -1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, int&&, String&&) @ 0x000000000e478f88 in /usr/bin/clickhouse 6. /build/src/Functions/h3kRing.cpp:56: DB::(anonymous namespace)::FunctionH3KRing::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000ef0cc31 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:21:40.101694 [ 1125 ] {161badaa-63c1-4b45-8905-15cef702a40c} TCPHandler: Code: 43. DB::Exception: Illegal type Int8 of argument 2 of function h3kRing. Must be unsigned native integer.: While processing h3kRing(581276613233082367, -1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, int&&, String&&) @ 0x000000000e478f88 in /usr/bin/clickhouse 6. /build/src/Functions/h3kRing.cpp:56: DB::(anonymous namespace)::FunctionH3KRing::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000ef0cc31 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:21:40.678424 [ 1124 ] {428220a9-2e97-4341-80a4-4524cbe0531a} executeQuery: Code: 41. DB::ParsingException: Cannot read DateTime: neither Date nor Time was parsed successfully: While processing parseDateTimeBestEffort('', 3) AS a, toTypeName(a). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:35978) (comment: 01442_date_time_with_params.sql) (in query: SELECT parseDateTimeBestEffort('', 3) AS a, toTypeName(a);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x000000000b265ab7 in /usr/bin/clickhouse 6. /build/src/IO/parseDateTimeBestEffort.cpp:98: auto void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*)::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x00000000139b1fb8 in /usr/bin/clickhouse 7. /build/src/IO/parseDateTimeBestEffort.cpp:579: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x00000000139ab176 in /usr/bin/clickhouse 8. /build/src/IO/parseDateTimeBestEffort.cpp:664: void DB::(anonymous namespace)::parseDateTime64BestEffortImpl(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x00000000139b1904 in /usr/bin/clickhouse 9. /build/src/IO/parseDateTimeBestEffort.cpp:705: DB::parseDateTime64BestEffort(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x00000000139b18b3 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1374: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000bbefbf6 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2244: COW::immutable_ptr DB::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x000000000bbeda54 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2275: DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bbec6ba in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:21:40.678570 [ 1125 ] {8c3cbf82-5342-4779-aa6d-10a952ad54a4} executeQuery: Code: 43. DB::Exception: Illegal type Float64 of argument 2 of function h3kRing. Must be unsigned native integer.: While processing h3kRing(581276613233082367, nan). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:35982) (comment: 01442_h3kring_range_check.sql) (in query: SELECT h3kRing(581276613233082367, nan);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, int&&, String&&) @ 0x000000000e478f88 in /usr/bin/clickhouse 6. /build/src/Functions/h3kRing.cpp:56: DB::(anonymous namespace)::FunctionH3KRing::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000ef0cc31 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:21:40.679809 [ 1124 ] {428220a9-2e97-4341-80a4-4524cbe0531a} TCPHandler: Code: 41. DB::ParsingException: Cannot read DateTime: neither Date nor Time was parsed successfully: While processing parseDateTimeBestEffort('', 3) AS a, toTypeName(a). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x000000000b265ab7 in /usr/bin/clickhouse 6. /build/src/IO/parseDateTimeBestEffort.cpp:98: auto void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*)::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x00000000139b1fb8 in /usr/bin/clickhouse 7. /build/src/IO/parseDateTimeBestEffort.cpp:579: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x00000000139ab176 in /usr/bin/clickhouse 8. /build/src/IO/parseDateTimeBestEffort.cpp:664: void DB::(anonymous namespace)::parseDateTime64BestEffortImpl(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x00000000139b1904 in /usr/bin/clickhouse 9. /build/src/IO/parseDateTimeBestEffort.cpp:705: DB::parseDateTime64BestEffort(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x00000000139b18b3 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1374: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000bbefbf6 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2244: COW::immutable_ptr DB::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x000000000bbeda54 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2275: DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bbec6ba in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:21:40.679899 [ 1125 ] {8c3cbf82-5342-4779-aa6d-10a952ad54a4} TCPHandler: Code: 43. DB::Exception: Illegal type Float64 of argument 2 of function h3kRing. Must be unsigned native integer.: While processing h3kRing(581276613233082367, nan). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, int&&, String&&) @ 0x000000000e478f88 in /usr/bin/clickhouse 6. /build/src/Functions/h3kRing.cpp:56: DB::(anonymous namespace)::FunctionH3KRing::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000ef0cc31 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:21:42.153188 [ 1124 ] {32569244-0203-470c-a437-52c23484a692} executeQuery: Code: 41. DB::ParsingException: Cannot read DateTime: neither Date nor Time was parsed successfully: While processing parseDateTime32BestEffort('') AS a, toTypeName(a). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:35978) (comment: 01442_date_time_with_params.sql) (in query: SELECT parseDateTime32BestEffort('') AS a, toTypeName(a);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x000000000b265ab7 in /usr/bin/clickhouse 6. /build/src/IO/parseDateTimeBestEffort.cpp:98: auto void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*)::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x00000000139b1fb8 in /usr/bin/clickhouse 7. /build/src/IO/parseDateTimeBestEffort.cpp:579: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x00000000139ab176 in /usr/bin/clickhouse 8. /build/src/IO/parseDateTimeBestEffort.cpp:686: DB::parseDateTimeBestEffort(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x00000000139a92d2 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1380: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000bc0dba6 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2244: COW::immutable_ptr DB::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x000000000bc0d0d4 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2280: DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc0bddc in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 2024.09.24 01:21:42.279190 [ 1125 ] {0dc232c3-4d90-40ee-8a65-e79bdc5aa870} executeQuery: Code: 69. DB::Exception: The argument 'resolution' (100) of function h3ToChildren is out of bounds because the maximum resolution in H3 library is 15: While processing h3ToChildren(599405990164561919, 100). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58810) (comment: 01428_h3_range_check.sql) (in query: SELECT h3ToChildren(599405990164561919, 100);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Functions/h3ToChildren.cpp:108: DB::(anonymous namespace)::FunctionH3ToChildren::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ef02906 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:21:42.279198 [ 1124 ] {32569244-0203-470c-a437-52c23484a692} TCPHandler: Code: 41. DB::ParsingException: Cannot read DateTime: neither Date nor Time was parsed successfully: While processing parseDateTime32BestEffort('') AS a, toTypeName(a). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x000000000b265ab7 in /usr/bin/clickhouse 6. /build/src/IO/parseDateTimeBestEffort.cpp:98: auto void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*)::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x00000000139b1fb8 in /usr/bin/clickhouse 7. /build/src/IO/parseDateTimeBestEffort.cpp:579: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x00000000139ab176 in /usr/bin/clickhouse 8. /build/src/IO/parseDateTimeBestEffort.cpp:686: DB::parseDateTimeBestEffort(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x00000000139a92d2 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1380: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000bc0dba6 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2244: COW::immutable_ptr DB::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x000000000bc0d0d4 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2280: DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc0bddc in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 2024.09.24 01:21:42.280189 [ 1125 ] {0dc232c3-4d90-40ee-8a65-e79bdc5aa870} TCPHandler: Code: 69. DB::Exception: The argument 'resolution' (100) of function h3ToChildren is out of bounds because the maximum resolution in H3 library is 15: While processing h3ToChildren(599405990164561919, 100). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Functions/h3ToChildren.cpp:108: DB::(anonymous namespace)::FunctionH3ToChildren::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ef02906 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:21:42.412803 [ 1125 ] {702388c9-fc19-4883-8482-f3c70c50a231} executeQuery: Code: 69. DB::Exception: The argument 'resolution' (100) of function h3ToParent is out of bounds because the maximum resolution in H3 library is 15: While processing h3ToParent(599405990164561919, 100). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58810) (comment: 01428_h3_range_check.sql) (in query: SELECT h3ToParent(599405990164561919, 100);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Functions/h3ToParent.cpp:99: DB::(anonymous namespace)::FunctionH3ToParent::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ef07310 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:21:42.413801 [ 1125 ] {702388c9-fc19-4883-8482-f3c70c50a231} TCPHandler: Code: 69. DB::Exception: The argument 'resolution' (100) of function h3ToParent is out of bounds because the maximum resolution in H3 library is 15: While processing h3ToParent(599405990164561919, 100). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Functions/h3ToParent.cpp:99: DB::(anonymous namespace)::FunctionH3ToParent::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ef07310 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:21:42.707254 [ 12043 ] {7f295ac9-9cc7-4d36-b760-be3552fb4c19} executeQuery: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: -1e9. Expected to read decimal with scale 0 and precision 9: While processing '-1E9-1E9-1E9-1E9' AS x, toDecimal32(x, 0). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58820) (comment: 01425_decimal_parse_big_negative_exponent.sql) (in query: SELECT '-1E9-1E9-1E9-1E9' AS x, toDecimal32(x, 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, DB::Decimal&, int&, unsigned int&, unsigned int&) @ 0x000000001b9aef5a in /usr/bin/clickhouse 6. /build/src/IO/readDecimalText.h:172: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x000000001b9ab953 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x000000001ba3aebe in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1409: COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000ba53907 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:2013: bool DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000ba4ddb6 in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000ba398b9 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ba38be8 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ba37dfe in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:21:42.708337 [ 12043 ] {7f295ac9-9cc7-4d36-b760-be3552fb4c19} TCPHandler: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: -1e9. Expected to read decimal with scale 0 and precision 9: While processing '-1E9-1E9-1E9-1E9' AS x, toDecimal32(x, 0). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, DB::Decimal&, int&, unsigned int&, unsigned int&) @ 0x000000001b9aef5a in /usr/bin/clickhouse 6. /build/src/IO/readDecimalText.h:172: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x000000001b9ab953 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x000000001ba3aebe in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1409: COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000ba53907 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:2013: bool DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000ba4ddb6 in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000ba398b9 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ba38be8 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ba37dfe in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:21:42.719140 [ 12043 ] {cd5490ae-a085-4cf1-9ebb-89c1e005ef6b} executeQuery: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: -1e9. Expected to read decimal with scale 0 and precision 9: While processing '-1E9' AS x, toDecimal32(x, 0). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58820) (comment: 01425_decimal_parse_big_negative_exponent.sql) (in query: SELECT '-1E9' AS x, toDecimal32(x, 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, DB::Decimal&, int&, unsigned int&, unsigned int&) @ 0x000000001b9aef5a in /usr/bin/clickhouse 6. /build/src/IO/readDecimalText.h:172: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x000000001b9ab953 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x000000001ba3aebe in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1409: COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000ba53907 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:2013: bool DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000ba4ddb6 in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000ba398b9 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ba38be8 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ba37dfe in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:21:42.720314 [ 12043 ] {cd5490ae-a085-4cf1-9ebb-89c1e005ef6b} TCPHandler: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: -1e9. Expected to read decimal with scale 0 and precision 9: While processing '-1E9' AS x, toDecimal32(x, 0). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, DB::Decimal&, int&, unsigned int&, unsigned int&) @ 0x000000001b9aef5a in /usr/bin/clickhouse 6. /build/src/IO/readDecimalText.h:172: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x000000001b9ab953 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x000000001ba3aebe in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1409: COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000ba53907 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:2013: bool DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000ba4ddb6 in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000ba398b9 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ba38be8 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ba37dfe in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:21:43.294050 [ 12043 ] {6e8b8f78-8f8f-4b5b-bb76-803aa104ef45} executeQuery: Code: 69. DB::Exception: Scale 10 is out of bounds (max scale: 9): While processing '1E-9' AS x, toDecimal32(x, 10). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58820) (comment: 01425_decimal_parse_big_negative_exponent.sql) (in query: SELECT '1E-9' AS x, toDecimal32(x, 10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b232e2c in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeDecimalBase.h:78: DB::DataTypeDecimalBase>::DataTypeDecimalBase(unsigned int, unsigned int) @ 0x000000000b4e353b in /usr/bin/clickhouse 7. /build/src/DataTypes/DataTypesDecimal.h:37: DB::DataTypeDecimal>::DataTypeDecimal(unsigned int, unsigned int) @ 0x000000000b4e3165 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeDecimal>* std::construct_at[abi:v15000]>, unsigned long const&, unsigned long&, DB::DataTypeDecimal>*>(DB::DataTypeDecimal>*, unsigned long const&, unsigned long&) @ 0x000000000ba558b4 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>>>::construct[abi:v15000]>, unsigned long const&, unsigned long&, void, void>(std::allocator>>&, DB::DataTypeDecimal>*, unsigned long const&, unsigned long&) @ 0x000000000ba55669 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>, std::allocator>>>::__shared_ptr_emplace[abi:v15000](std::allocator>>, unsigned long const&, unsigned long&) @ 0x000000000ba5534f in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr>> std::allocate_shared[abi:v15000]>, std::allocator>>, unsigned long const&, unsigned long&, void>(std::allocator>> const&, unsigned long const&, unsigned long&) @ 0x000000000ba551c2 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr>> std::make_shared[abi:v15000]>, unsigned long const&, unsigned long&, void>(unsigned long const&, unsigned long&) @ 0x000000000ba550ce in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypesDecimal.h:267: std::shared_ptr DB::createDecimalMaxPrecision>(unsigned long) @ 0x000000000ba5505c in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1872: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000ba54eed in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:1823: auto DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000ba54d00 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval> const&>())) std::__invoke[abi:v15000]>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(auto&&, std::vector> const&) @ 0x000000000ba54cbd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&) @ 0x000000000ba54c7d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) @ 0x000000000ba54c3d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000ba54c05 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) const @ 0x000000000b268ebe in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::vector> const&)>::operator()(std::vector> const&) const @ 0x000000000b267b7d in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:1818: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000ba54a3b in /usr/bin/clickhouse 23. /build/src/Functions/FunctionsConversion.h:1824: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000ba3855a in /usr/bin/clickhouse 24. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:21:43.295089 [ 12043 ] {6e8b8f78-8f8f-4b5b-bb76-803aa104ef45} TCPHandler: Code: 69. DB::Exception: Scale 10 is out of bounds (max scale: 9): While processing '1E-9' AS x, toDecimal32(x, 10). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b232e2c in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeDecimalBase.h:78: DB::DataTypeDecimalBase>::DataTypeDecimalBase(unsigned int, unsigned int) @ 0x000000000b4e353b in /usr/bin/clickhouse 7. /build/src/DataTypes/DataTypesDecimal.h:37: DB::DataTypeDecimal>::DataTypeDecimal(unsigned int, unsigned int) @ 0x000000000b4e3165 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeDecimal>* std::construct_at[abi:v15000]>, unsigned long const&, unsigned long&, DB::DataTypeDecimal>*>(DB::DataTypeDecimal>*, unsigned long const&, unsigned long&) @ 0x000000000ba558b4 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>>>::construct[abi:v15000]>, unsigned long const&, unsigned long&, void, void>(std::allocator>>&, DB::DataTypeDecimal>*, unsigned long const&, unsigned long&) @ 0x000000000ba55669 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>, std::allocator>>>::__shared_ptr_emplace[abi:v15000](std::allocator>>, unsigned long const&, unsigned long&) @ 0x000000000ba5534f in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr>> std::allocate_shared[abi:v15000]>, std::allocator>>, unsigned long const&, unsigned long&, void>(std::allocator>> const&, unsigned long const&, unsigned long&) @ 0x000000000ba551c2 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr>> std::make_shared[abi:v15000]>, unsigned long const&, unsigned long&, void>(unsigned long const&, unsigned long&) @ 0x000000000ba550ce in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypesDecimal.h:267: std::shared_ptr DB::createDecimalMaxPrecision>(unsigned long) @ 0x000000000ba5505c in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1872: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000ba54eed in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:1823: auto DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000ba54d00 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval> const&>())) std::__invoke[abi:v15000]>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(auto&&, std::vector> const&) @ 0x000000000ba54cbd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&) @ 0x000000000ba54c7d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) @ 0x000000000ba54c3d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000ba54c05 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) const @ 0x000000000b268ebe in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::vector> const&)>::operator()(std::vector> const&) const @ 0x000000000b267b7d in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:1818: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000ba54a3b in /usr/bin/clickhouse 23. /build/src/Functions/FunctionsConversion.h:1824: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000ba3855a in /usr/bin/clickhouse 24. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:21:43.306611 [ 12043 ] {ecc7d070-ebab-4158-b96f-b4db1466282a} executeQuery: Code: 69. DB::Exception: Scale 10 is out of bounds (max scale: 9): While processing '1E-10' AS x, toDecimal32(x, 10). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58820) (comment: 01425_decimal_parse_big_negative_exponent.sql) (in query: SELECT '1E-10' AS x, toDecimal32(x, 10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b232e2c in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeDecimalBase.h:78: DB::DataTypeDecimalBase>::DataTypeDecimalBase(unsigned int, unsigned int) @ 0x000000000b4e353b in /usr/bin/clickhouse 7. /build/src/DataTypes/DataTypesDecimal.h:37: DB::DataTypeDecimal>::DataTypeDecimal(unsigned int, unsigned int) @ 0x000000000b4e3165 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeDecimal>* std::construct_at[abi:v15000]>, unsigned long const&, unsigned long&, DB::DataTypeDecimal>*>(DB::DataTypeDecimal>*, unsigned long const&, unsigned long&) @ 0x000000000ba558b4 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>>>::construct[abi:v15000]>, unsigned long const&, unsigned long&, void, void>(std::allocator>>&, DB::DataTypeDecimal>*, unsigned long const&, unsigned long&) @ 0x000000000ba55669 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>, std::allocator>>>::__shared_ptr_emplace[abi:v15000](std::allocator>>, unsigned long const&, unsigned long&) @ 0x000000000ba5534f in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr>> std::allocate_shared[abi:v15000]>, std::allocator>>, unsigned long const&, unsigned long&, void>(std::allocator>> const&, unsigned long const&, unsigned long&) @ 0x000000000ba551c2 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr>> std::make_shared[abi:v15000]>, unsigned long const&, unsigned long&, void>(unsigned long const&, unsigned long&) @ 0x000000000ba550ce in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypesDecimal.h:267: std::shared_ptr DB::createDecimalMaxPrecision>(unsigned long) @ 0x000000000ba5505c in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1872: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000ba54eed in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:1823: auto DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000ba54d00 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval> const&>())) std::__invoke[abi:v15000]>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(auto&&, std::vector> const&) @ 0x000000000ba54cbd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&) @ 0x000000000ba54c7d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) @ 0x000000000ba54c3d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000ba54c05 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) const @ 0x000000000b268ebe in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::vector> const&)>::operator()(std::vector> const&) const @ 0x000000000b267b7d in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:1818: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000ba54a3b in /usr/bin/clickhouse 23. /build/src/Functions/FunctionsConversion.h:1824: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000ba3855a in /usr/bin/clickhouse 24. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:21:43.307899 [ 12043 ] {ecc7d070-ebab-4158-b96f-b4db1466282a} TCPHandler: Code: 69. DB::Exception: Scale 10 is out of bounds (max scale: 9): While processing '1E-10' AS x, toDecimal32(x, 10). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b232e2c in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeDecimalBase.h:78: DB::DataTypeDecimalBase>::DataTypeDecimalBase(unsigned int, unsigned int) @ 0x000000000b4e353b in /usr/bin/clickhouse 7. /build/src/DataTypes/DataTypesDecimal.h:37: DB::DataTypeDecimal>::DataTypeDecimal(unsigned int, unsigned int) @ 0x000000000b4e3165 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeDecimal>* std::construct_at[abi:v15000]>, unsigned long const&, unsigned long&, DB::DataTypeDecimal>*>(DB::DataTypeDecimal>*, unsigned long const&, unsigned long&) @ 0x000000000ba558b4 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>>>::construct[abi:v15000]>, unsigned long const&, unsigned long&, void, void>(std::allocator>>&, DB::DataTypeDecimal>*, unsigned long const&, unsigned long&) @ 0x000000000ba55669 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>, std::allocator>>>::__shared_ptr_emplace[abi:v15000](std::allocator>>, unsigned long const&, unsigned long&) @ 0x000000000ba5534f in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr>> std::allocate_shared[abi:v15000]>, std::allocator>>, unsigned long const&, unsigned long&, void>(std::allocator>> const&, unsigned long const&, unsigned long&) @ 0x000000000ba551c2 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr>> std::make_shared[abi:v15000]>, unsigned long const&, unsigned long&, void>(unsigned long const&, unsigned long&) @ 0x000000000ba550ce in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypesDecimal.h:267: std::shared_ptr DB::createDecimalMaxPrecision>(unsigned long) @ 0x000000000ba5505c in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1872: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000ba54eed in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:1823: auto DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000ba54d00 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval> const&>())) std::__invoke[abi:v15000]>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(auto&&, std::vector> const&) @ 0x000000000ba54cbd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&) @ 0x000000000ba54c7d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) @ 0x000000000ba54c3d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000ba54c05 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) const @ 0x000000000b268ebe in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::vector> const&)>::operator()(std::vector> const&) const @ 0x000000000b267b7d in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:1818: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000ba54a3b in /usr/bin/clickhouse 23. /build/src/Functions/FunctionsConversion.h:1824: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000ba3855a in /usr/bin/clickhouse 24. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:21:44.366741 [ 12043 ] {d993e851-d920-479b-aa18-991473043d44} executeQuery: Code: 41. DB::ParsingException: Cannot read DateTime: unexpected date: 2024-2-55: While processing parseDateTime64BestEffort('2.55'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58834) (comment: 01424_parse_date_time_bad_date.sql) (in query: select parseDateTime64BestEffort('2.55');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned short&, unsigned short&&, unsigned short&&) @ 0x00000000139b52e8 in /usr/bin/clickhouse 6. /build/src/IO/parseDateTimeBestEffort.cpp:98: auto void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*)::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x00000000139b2c33 in /usr/bin/clickhouse 7. /build/src/IO/parseDateTimeBestEffort.cpp:606: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x00000000139ab37e in /usr/bin/clickhouse 8. /build/src/IO/parseDateTimeBestEffort.cpp:664: void DB::(anonymous namespace)::parseDateTime64BestEffortImpl(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x00000000139b1904 in /usr/bin/clickhouse 9. /build/src/IO/parseDateTimeBestEffort.cpp:705: DB::parseDateTime64BestEffort(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x00000000139b18b3 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1374: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000bc1eed6 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2244: COW::immutable_ptr DB::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x000000000bc1cd34 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2275: DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc1b9da in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:21:44.540327 [ 1124 ] {ecbe3e7c-7ac2-4373-8cbc-8b06dd7d5f06} executeQuery: Code: 53. DB::Exception: Type mismatch in IN or VALUES section. Expected: UInt8. Got: Tuple: While processing (1, 2) IN ((1, (2, 3)), (1 + 1, 1)). (TYPE_MISMATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58844) (comment: 01421_assert_in_in.sql) (in query: SELECT (1, 2) IN ((1, (2, 3)), (1 + 1, 1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, DB::Field::Types::Which&&) @ 0x000000001d07a34c in /usr/bin/clickhouse 6. /build/src/Interpreters/convertFieldToType.cpp:81: DB::Field DB::(anonymous namespace)::convertNumericType(DB::Field const&, DB::IDataType const&) @ 0x000000001d06f277 in /usr/bin/clickhouse 7. /build/src/Interpreters/convertFieldToType.cpp:215: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d06acff in /usr/bin/clickhouse 8. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d06a6dd in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:258: DB::createBlockFromAST(std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000001bfef096 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:386: DB::(anonymous namespace)::createBlockForSet(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000001bfe459e in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:425: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x000000001bfe3da8 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x000000001bfedf0e in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe81a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:21:44.540466 [ 12043 ] {d993e851-d920-479b-aa18-991473043d44} TCPHandler: Code: 41. DB::ParsingException: Cannot read DateTime: unexpected date: 2024-2-55: While processing parseDateTime64BestEffort('2.55'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned short&, unsigned short&&, unsigned short&&) @ 0x00000000139b52e8 in /usr/bin/clickhouse 6. /build/src/IO/parseDateTimeBestEffort.cpp:98: auto void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*)::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x00000000139b2c33 in /usr/bin/clickhouse 7. /build/src/IO/parseDateTimeBestEffort.cpp:606: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x00000000139ab37e in /usr/bin/clickhouse 8. /build/src/IO/parseDateTimeBestEffort.cpp:664: void DB::(anonymous namespace)::parseDateTime64BestEffortImpl(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x00000000139b1904 in /usr/bin/clickhouse 9. /build/src/IO/parseDateTimeBestEffort.cpp:705: DB::parseDateTime64BestEffort(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x00000000139b18b3 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1374: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000bc1eed6 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2244: COW::immutable_ptr DB::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x000000000bc1cd34 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2275: DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc1b9da in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:21:44.541992 [ 1124 ] {ecbe3e7c-7ac2-4373-8cbc-8b06dd7d5f06} TCPHandler: Code: 53. DB::Exception: Type mismatch in IN or VALUES section. Expected: UInt8. Got: Tuple: While processing (1, 2) IN ((1, (2, 3)), (1 + 1, 1)). (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, DB::Field::Types::Which&&) @ 0x000000001d07a34c in /usr/bin/clickhouse 6. /build/src/Interpreters/convertFieldToType.cpp:81: DB::Field DB::(anonymous namespace)::convertNumericType(DB::Field const&, DB::IDataType const&) @ 0x000000001d06f277 in /usr/bin/clickhouse 7. /build/src/Interpreters/convertFieldToType.cpp:215: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d06acff in /usr/bin/clickhouse 8. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d06a6dd in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:258: DB::createBlockFromAST(std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000001bfef096 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:386: DB::(anonymous namespace)::createBlockForSet(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000001bfe459e in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:425: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x000000001bfe3da8 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x000000001bfedf0e in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe81a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:21:49.197776 [ 1124 ] {c9d163c8-2b6f-41c7-9ffe-e34708179872} executeQuery: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58946) (comment: 01410_nullable_key_and_index.sql) (in query: CREATE TABLE invalid_null (`id` Nullable(String)) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 52218, min_bytes_for_wide_part = 1017562003, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 6761, prefer_fetch_merged_part_size_threshold = 3858781435, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 2782007746, index_granularity_bytes = 998882, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 59786, primary_key_compress_block_size = 69631), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:477: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x000000001de65c5e in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:611: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de65490 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de62136 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de614ad in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35ecd3 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e89a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e595 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e223 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e035 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35c61b in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35a85f in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 2024.09.24 01:21:49.198870 [ 1124 ] {c9d163c8-2b6f-41c7-9ffe-e34708179872} TCPHandler: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:477: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x000000001de65c5e in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:611: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de65490 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de62136 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de614ad in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35ecd3 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e89a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e595 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e223 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e035 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35c61b in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35a85f in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 2024.09.24 01:21:49.220164 [ 1124 ] {525b3d87-ab22-41c7-88ac-2eca64bddf1a} executeQuery: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58946) (comment: 01410_nullable_key_and_index.sql) (in query: CREATE TABLE invalid_lc_null (`id` LowCardinality(Nullable(String))) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 52218, min_bytes_for_wide_part = 1017562003, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 6761, prefer_fetch_merged_part_size_threshold = 3858781435, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 2782007746, index_granularity_bytes = 998882, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 59786, primary_key_compress_block_size = 69631), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:477: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x000000001de65c5e in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:611: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de65490 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de62136 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de614ad in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35ecd3 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e89a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e595 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e223 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e035 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35c61b in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35a85f in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 2024.09.24 01:21:49.221398 [ 1124 ] {525b3d87-ab22-41c7-88ac-2eca64bddf1a} TCPHandler: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:477: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x000000001de65c5e in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:611: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de65490 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de62136 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de614ad in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35ecd3 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e89a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e595 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e223 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e035 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35c61b in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35a85f in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 2024.09.24 01:21:49.241070 [ 1124 ] {8d1e28e0-dcfb-462a-9b6b-b82abef9e070} executeQuery: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58946) (comment: 01410_nullable_key_and_index.sql) (in query: CREATE TABLE invalid_array_null (`id` Array(Nullable(String))) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 52218, min_bytes_for_wide_part = 1017562003, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 6761, prefer_fetch_merged_part_size_threshold = 3858781435, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 2782007746, index_granularity_bytes = 998882, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 59786, primary_key_compress_block_size = 69631), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:477: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x000000001de65c5e in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:611: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de65490 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de62136 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de614ad in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35ecd3 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e89a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e595 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e223 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e035 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35c61b in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35a85f in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 2024.09.24 01:21:49.242108 [ 1124 ] {8d1e28e0-dcfb-462a-9b6b-b82abef9e070} TCPHandler: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:477: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x000000001de65c5e in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:611: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de65490 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de62136 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de614ad in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35ecd3 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e89a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e595 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e223 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e035 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35c61b in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35a85f in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 2024.09.24 01:21:49.261834 [ 1124 ] {0ed3e298-3218-49f9-9190-78c94972e9e4} executeQuery: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58946) (comment: 01410_nullable_key_and_index.sql) (in query: CREATE TABLE invalid_tuple_null (`id` Tuple(Nullable(String), UInt8)) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 52218, min_bytes_for_wide_part = 1017562003, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 6761, prefer_fetch_merged_part_size_threshold = 3858781435, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 2782007746, index_granularity_bytes = 998882, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 59786, primary_key_compress_block_size = 69631), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:477: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x000000001de65c5e in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:611: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de65490 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de62136 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de614ad in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35ecd3 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e89a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e595 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e223 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e035 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35c61b in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35a85f in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 2024.09.24 01:21:49.263090 [ 1124 ] {0ed3e298-3218-49f9-9190-78c94972e9e4} TCPHandler: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:477: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x000000001de65c5e in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:611: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de65490 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de62136 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de614ad in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35ecd3 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e89a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e595 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e223 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e035 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35c61b in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35a85f in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 2024.09.24 01:21:49.287590 [ 1124 ] {8e869931-5d1c-480e-9119-0509f111c3ac} executeQuery: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58946) (comment: 01410_nullable_key_and_index.sql) (in query: CREATE TABLE invalid_map_null (`id` Map(UInt8, Nullable(String))) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 52218, min_bytes_for_wide_part = 1017562003, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 6761, prefer_fetch_merged_part_size_threshold = 3858781435, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 2782007746, index_granularity_bytes = 998882, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 59786, primary_key_compress_block_size = 69631), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:477: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x000000001de65c5e in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:611: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de65490 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de62136 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de614ad in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35ecd3 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e89a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e595 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e223 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e035 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35c61b in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35a85f in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 2024.09.24 01:21:49.288832 [ 1124 ] {8e869931-5d1c-480e-9119-0509f111c3ac} TCPHandler: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:477: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x000000001de65c5e in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:611: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de65490 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de62136 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de614ad in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35ecd3 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e89a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e595 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e223 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e035 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35c61b in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35a85f in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 2024.09.24 01:21:49.313183 [ 1124 ] {a539e47c-5e41-45ba-8256-9ee16019b04a} executeQuery: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58946) (comment: 01410_nullable_key_and_index.sql) (in query: CREATE TABLE invalid_simple_agg_state_null (`id` SimpleAggregateFunction(sum, Nullable(UInt64))) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 52218, min_bytes_for_wide_part = 1017562003, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 6761, prefer_fetch_merged_part_size_threshold = 3858781435, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 2782007746, index_granularity_bytes = 998882, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 59786, primary_key_compress_block_size = 69631), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:477: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x000000001de65c5e in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:611: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de65490 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de62136 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de614ad in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35ecd3 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e89a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e595 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e223 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e035 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35c61b in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35a85f in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 2024.09.24 01:21:49.314379 [ 1124 ] {a539e47c-5e41-45ba-8256-9ee16019b04a} TCPHandler: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:477: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x000000001de65c5e in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:611: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de65490 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de62136 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de614ad in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35ecd3 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e89a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e595 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e223 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e035 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35c61b in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35a85f in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 2024.09.24 01:21:50.254039 [ 1124 ] {cf0b6d42-c9a8-48b6-a7f7-8f94849bdf71} executeQuery: Code: 691. DB::Exception: Unknown element '' for enum: While processing CAST(CAST('', 'Nullable(String)'), 'Nullable(Enum8(\'Hello\' = 1))'). (UNKNOWN_ELEMENT_OF_ENUM) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:59012) (comment: 01402_cast_nullable_string_to_enum.sql) (in query: -- empty string still not acceptable SELECT CAST(CAST('' AS Nullable(String)) AS Nullable(Enum8('Hello' = 1)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x000000000d9ec76c in /usr/bin/clickhouse 6. /build/src/DataTypes/EnumValues.cpp:72: DB::EnumValues::getValue(StringRef, bool) const @ 0x000000001b9b89ea in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:3777: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b8d37c2 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8d3526 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8d348c in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8d3420 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b8d33c8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:3950: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b8eb74f in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8eb586 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8eb520 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8eb4c0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b8eb46b in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 21. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 2024.09.24 01:21:50.255475 [ 1124 ] {cf0b6d42-c9a8-48b6-a7f7-8f94849bdf71} TCPHandler: Code: 691. DB::Exception: Unknown element '' for enum: While processing CAST(CAST('', 'Nullable(String)'), 'Nullable(Enum8(\'Hello\' = 1))'). (UNKNOWN_ELEMENT_OF_ENUM), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x000000000d9ec76c in /usr/bin/clickhouse 6. /build/src/DataTypes/EnumValues.cpp:72: DB::EnumValues::getValue(StringRef, bool) const @ 0x000000001b9b89ea in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:3777: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b8d37c2 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8d3526 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8d348c in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8d3420 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b8d33c8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:3950: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b8eb74f in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8eb586 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8eb520 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8eb4c0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b8eb46b in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 21. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 2024.09.24 01:21:50.540726 [ 1124 ] {1cb1937d-ef9c-4aba-a118-22f748d31d0f} executeQuery: Code: 691. DB::Exception: Unknown element '' for enum: While processing CAST(CAST('', 'Nullable(FixedString(1))'), 'Nullable(Enum8(\'Hello\' = 1))'). (UNKNOWN_ELEMENT_OF_ENUM) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:59012) (comment: 01402_cast_nullable_string_to_enum.sql) (in query: SELECT CAST(CAST('' AS Nullable(FixedString(1))) AS Nullable(Enum8('Hello' = 1)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x000000000d9ec76c in /usr/bin/clickhouse 6. /build/src/DataTypes/EnumValues.cpp:72: DB::EnumValues::getValue(StringRef, bool) const @ 0x000000001b9b89ea in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:3777: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b8d40a2 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8d3e06 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8d3d6c in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8d3d00 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b8d3ca8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:3950: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b8eb74f in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8eb586 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8eb520 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8eb4c0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b8eb46b in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 21. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 2024.09.24 01:21:50.542406 [ 1124 ] {1cb1937d-ef9c-4aba-a118-22f748d31d0f} TCPHandler: Code: 691. DB::Exception: Unknown element '' for enum: While processing CAST(CAST('', 'Nullable(FixedString(1))'), 'Nullable(Enum8(\'Hello\' = 1))'). (UNKNOWN_ELEMENT_OF_ENUM), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x000000000d9ec76c in /usr/bin/clickhouse 6. /build/src/DataTypes/EnumValues.cpp:72: DB::EnumValues::getValue(StringRef, bool) const @ 0x000000001b9b89ea in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:3777: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b8d40a2 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8d3e06 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8d3d6c in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8d3d00 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b8d3ca8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:3950: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b8eb74f in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8eb586 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8eb520 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8eb4c0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b8eb46b in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 21. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 2024.09.24 01:21:50.773062 [ 1124 ] {a86b89a9-db3f-407f-b927-f843bf7a34e9} executeQuery: Code: 349. DB::Exception: Cannot convert NULL value to non-Nullable type: While processing CAST(CAST(NULL, 'Nullable(String)'), 'Enum8(\'Hello\' = 1)'). (CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:59012) (comment: 01402_cast_nullable_string_to_enum.sql) (in query: -- non-Nullable Enum() still not acceptable SELECT CAST(CAST(NULL AS Nullable(String)) AS Enum8('Hello' = 1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [47]) @ 0x000000000b5b6a9e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3980: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b8ec084 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8ebf06 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8ebea0 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8ebe40 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b8ebdeb in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:21:50.774272 [ 1124 ] {a86b89a9-db3f-407f-b927-f843bf7a34e9} TCPHandler: Code: 349. DB::Exception: Cannot convert NULL value to non-Nullable type: While processing CAST(CAST(NULL, 'Nullable(String)'), 'Enum8(\'Hello\' = 1)'). (CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [47]) @ 0x000000000b5b6a9e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3980: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b8ec084 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8ebf06 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8ebea0 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8ebe40 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b8ebdeb in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:21:50.786698 [ 1124 ] {4fd3b7d1-c77e-471c-883d-474609b2e662} executeQuery: Code: 349. DB::Exception: Cannot convert NULL value to non-Nullable type: While processing CAST(CAST(NULL, 'Nullable(FixedString(1))'), 'Enum8(\'Hello\' = 1)'). (CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:59012) (comment: 01402_cast_nullable_string_to_enum.sql) (in query: SELECT CAST(CAST(NULL AS Nullable(FixedString(1))) AS Enum8('Hello' = 1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [47]) @ 0x000000000b5b6a9e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3980: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b8ec084 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8ebf06 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8ebea0 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8ebe40 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b8ebdeb in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:21:50.787824 [ 1124 ] {4fd3b7d1-c77e-471c-883d-474609b2e662} TCPHandler: Code: 349. DB::Exception: Cannot convert NULL value to non-Nullable type: While processing CAST(CAST(NULL, 'Nullable(FixedString(1))'), 'Enum8(\'Hello\' = 1)'). (CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [47]) @ 0x000000000b5b6a9e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3980: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b8ec084 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8ebf06 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8ebea0 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8ebe40 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b8ebdeb in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:21:51.235144 [ 2930 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: header_test: Authentication failed: Code: 192. DB::Exception: There is no user `header_test` in local_directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f7bec in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:682: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x000000001b0f62f9 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f93fd in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f91af in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b183f89 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x000000001b0f90fa in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb30cc in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf9049 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bdb5f in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5be87b in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:21:51.319326 [ 2930 ] {} DynamicQueryHandler: Code: 516. DB::Exception: header_test: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb34a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf9049 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bdb5f in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5be87b in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:21:51.347238 [ 2930 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: : Authentication failed: Code: 192. DB::Exception: There is no user `` in local_directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f7bec in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:682: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x000000001b0f62f9 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f93fd in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f91af in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b183f89 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x000000001b0f90fa in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb30cc in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf9049 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bdb5f in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5be87b in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:21:51.348182 [ 2930 ] {} DynamicQueryHandler: Code: 516. DB::Exception: : Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb34a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf9049 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bdb5f in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5be87b in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:21:51.374797 [ 2930 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: : Authentication failed: Code: 192. DB::Exception: There is no user `` in local_directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f7bec in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:682: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x000000001b0f62f9 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f93fd in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f91af in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b183f89 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x000000001b0f90fa in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb30cc in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf9049 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bdb5f in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5be87b in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:21:51.375685 [ 2930 ] {} DynamicQueryHandler: Code: 516. DB::Exception: : Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb34a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf9049 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bdb5f in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5be87b in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:21:51.496180 [ 2930 ] {} DynamicQueryHandler: Code: 81. DB::Exception: Database header_test does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:762: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c0743 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 10. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 16. ? @ 0x00007f1d281b3ac3 in ? 17. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:21:51.627249 [ 8852 ] {69e13b2f-52fe-4e51-a295-a75e3a4ebd03} executeQuery: Code: 73. DB::Exception: Unknown format header_test. (UNKNOWN_FORMAT) (version 23.8.16.41.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:38868) (comment: 01399_http_request_headers.sh) (in query: SELECT 1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Formats/FormatFactory.cpp:38: DB::FormatFactory::getCreators(String const&) const @ 0x000000001e66e9dc in /usr/bin/clickhouse 7. /build/src/Formats/FormatFactory.cpp:425: DB::FormatFactory::getOutputFormatParallelIfPossible(String const&, DB::WriteBuffer&, DB::Block const&, std::shared_ptr, std::optional const&) const @ 0x000000001e670d7b in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1376: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b3a69 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:21:51.628500 [ 8852 ] {69e13b2f-52fe-4e51-a295-a75e3a4ebd03} DynamicQueryHandler: Code: 73. DB::Exception: Unknown format header_test. (UNKNOWN_FORMAT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Formats/FormatFactory.cpp:38: DB::FormatFactory::getCreators(String const&) const @ 0x000000001e66e9dc in /usr/bin/clickhouse 7. /build/src/Formats/FormatFactory.cpp:425: DB::FormatFactory::getOutputFormatParallelIfPossible(String const&, DB::WriteBuffer&, DB::Block const&, std::shared_ptr, std::optional const&) const @ 0x000000001e670d7b in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1376: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b3a69 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:21:53.247865 [ 1124 ] {f4364b1d-b96a-476a-88ef-faadb730d9d5} executeQuery: Code: 44. DB::Exception: Cannot drop column `x`, because column `y` depends on it. (ILLEGAL_COLUMN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58168) (comment: 01387_clear_column_default_depends.sql) (in query: ALTER TABLE test DROP COLUMN x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1237: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d5902a9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:21:53.248786 [ 1124 ] {f4364b1d-b96a-476a-88ef-faadb730d9d5} TCPHandler: Code: 44. DB::Exception: Cannot drop column `x`, because column `y` depends on it. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1237: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d5902a9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:21:53.482935 [ 22243 ] {2ca36d1f-025b-403b-b3e2-4152cea1830c} executeQuery: Code: 36. DB::Exception: The size of bloom filter cannot be zero. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58184) (comment: 01384_bloom_filter_bad_arguments.sql) (in query: CREATE TABLE test (`a` String, INDEX a a TYPE tokenbf_v1(0, 2, 0) GRANULARITY 1) ENGINE = MergeTree ORDER BY a SETTINGS index_granularity = 18774, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 8601, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 15243294, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 10076, primary_key_compress_block_size = 74883), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [40]) @ 0x000000000b20795e in /usr/bin/clickhouse 6. /build/src/Interpreters/BloomFilter.cpp:28: DB::BloomFilterParameters::BloomFilterParameters(unsigned long, unsigned long, unsigned long) @ 0x000000001bda492f in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:771: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001e02bae9 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e004d4d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e004d05 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x000000001e004cc5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001e004c70 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x000000001e003c8e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x000000001dffe448 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001dffcf46 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:586: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de64e10 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de62136 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de614ad in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35ecd3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e89a in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e595 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e223 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e035 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35c61b in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35a85f in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 2024.09.24 01:21:53.648662 [ 1124 ] {62a77256-3c59-45bd-9519-87a377feccfb} executeQuery: Code: 44. DB::Exception: Cannot drop column `x`, because column `y` depends on it. (ILLEGAL_COLUMN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58168) (comment: 01387_clear_column_default_depends.sql) (in query: ALTER TABLE test DROP COLUMN x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1237: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d5902a9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:21:53.648713 [ 5572 ] {3ce5c0c7-b2d3-4340-b4fd-12a9c3b62149} executeQuery: Code: 70. DB::Exception: Cannot convert out of range floating point value to integer type: while executing 'FUNCTION and(c0 : 0, -1. : 2) -> and(c0, -1.) UInt8 : 3'. (CANNOT_CONVERT_TYPE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58174) (comment: 01386_negative_float_constant_key_condition.sql) (in query: SELECT t0.c1 FROM t0 WHERE NOT (t0.c1 OR (t0.c0 AND -1.0));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [65]) @ 0x000000000e1cfafe in /usr/bin/clickhouse 6. /build/src/Common/FieldVisitorConvertToNumber.h:74: DB::FieldVisitorConvertToNumber::operator()(double const&) const @ 0x000000001b7ce0cf in /usr/bin/clickhouse 7. /build/src/Core/Field.h:638: auto DB::Field::dispatch, DB::Field const&>(DB::FieldVisitorConvertToNumber&&, DB::Field const&) @ 0x000000001b7cdaa9 in /usr/bin/clickhouse 8. /build/src/Common/FieldVisitors.h:24: auto DB::applyVisitor, DB::Field const&>(DB::FieldVisitorConvertToNumber&&, DB::Field const&) @ 0x000000001b7cd89d in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsLogical.cpp:140: bool DB::(anonymous namespace)::extractConstColumnsAsBool(std::vector>&, char8_t&)::'lambda'(DB::Field const&)::operator()(DB::Field const&) const @ 0x000000001bd32df6 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsLogical.cpp:110: bool DB::(anonymous namespace)::extractConstColumns(std::vector>&, char8_t&)::'lambda'(DB::Field const&)>(std::vector>&, char8_t&, bool DB::(anonymous namespace)::extractConstColumnsAsBool(std::vector>&, char8_t&)::'lambda'(DB::Field const&)&&) @ 0x000000001bd32c96 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsLogical.cpp:136: bool DB::(anonymous namespace)::extractConstColumnsAsBool(std::vector>&, char8_t&) @ 0x000000001bd32821 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsLogical.cpp:459: COW::immutable_ptr DB::(anonymous namespace)::basicExecuteImpl(std::vector>, unsigned long) @ 0x000000001bd2d9e2 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsLogical.cpp:661: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001bd60648 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionActions.cpp:780: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x000000001bf8506e in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1906: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbab62 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 2024.09.24 01:21:53.648776 [ 22243 ] {2ca36d1f-025b-403b-b3e2-4152cea1830c} TCPHandler: Code: 36. DB::Exception: The size of bloom filter cannot be zero. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [40]) @ 0x000000000b20795e in /usr/bin/clickhouse 6. /build/src/Interpreters/BloomFilter.cpp:28: DB::BloomFilterParameters::BloomFilterParameters(unsigned long, unsigned long, unsigned long) @ 0x000000001bda492f in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:771: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001e02bae9 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e004d4d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e004d05 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x000000001e004cc5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001e004c70 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x000000001e003c8e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x000000001dffe448 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001dffcf46 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:586: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de64e10 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de62136 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de614ad in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35ecd3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e89a in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e595 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e223 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e035 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35c61b in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35a85f in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 2024.09.24 01:21:53.649406 [ 1124 ] {62a77256-3c59-45bd-9519-87a377feccfb} TCPHandler: Code: 44. DB::Exception: Cannot drop column `x`, because column `y` depends on it. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1237: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d5902a9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:21:53.649615 [ 5572 ] {3ce5c0c7-b2d3-4340-b4fd-12a9c3b62149} TCPHandler: Code: 70. DB::Exception: Cannot convert out of range floating point value to integer type: while executing 'FUNCTION and(c0 : 0, -1. : 2) -> and(c0, -1.) UInt8 : 3'. (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [65]) @ 0x000000000e1cfafe in /usr/bin/clickhouse 6. /build/src/Common/FieldVisitorConvertToNumber.h:74: DB::FieldVisitorConvertToNumber::operator()(double const&) const @ 0x000000001b7ce0cf in /usr/bin/clickhouse 7. /build/src/Core/Field.h:638: auto DB::Field::dispatch, DB::Field const&>(DB::FieldVisitorConvertToNumber&&, DB::Field const&) @ 0x000000001b7cdaa9 in /usr/bin/clickhouse 8. /build/src/Common/FieldVisitors.h:24: auto DB::applyVisitor, DB::Field const&>(DB::FieldVisitorConvertToNumber&&, DB::Field const&) @ 0x000000001b7cd89d in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsLogical.cpp:140: bool DB::(anonymous namespace)::extractConstColumnsAsBool(std::vector>&, char8_t&)::'lambda'(DB::Field const&)::operator()(DB::Field const&) const @ 0x000000001bd32df6 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsLogical.cpp:110: bool DB::(anonymous namespace)::extractConstColumns(std::vector>&, char8_t&)::'lambda'(DB::Field const&)>(std::vector>&, char8_t&, bool DB::(anonymous namespace)::extractConstColumnsAsBool(std::vector>&, char8_t&)::'lambda'(DB::Field const&)&&) @ 0x000000001bd32c96 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsLogical.cpp:136: bool DB::(anonymous namespace)::extractConstColumnsAsBool(std::vector>&, char8_t&) @ 0x000000001bd32821 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsLogical.cpp:459: COW::immutable_ptr DB::(anonymous namespace)::basicExecuteImpl(std::vector>, unsigned long) @ 0x000000001bd2d9e2 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsLogical.cpp:661: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001bd60648 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionActions.cpp:780: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x000000001bf8506e in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1906: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbab62 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 2024.09.24 01:21:53.874930 [ 1124 ] {3180b599-62e9-4e03-b184-1dade4931ef5} executeQuery: Code: 44. DB::Exception: Cannot drop column `x`, because column `y` depends on it. (ILLEGAL_COLUMN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58168) (comment: 01387_clear_column_default_depends.sql) (in query: ALTER TABLE test DROP COLUMN x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1237: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d5902a9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:21:53.875040 [ 22243 ] {6aba0ddd-7e69-4ee3-8b1d-0159200c4824} executeQuery: Code: 36. DB::Exception: The number of hash functions for bloom filter cannot be zero. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58184) (comment: 01384_bloom_filter_bad_arguments.sql) (in query: CREATE TABLE test (`a` String, INDEX a a TYPE tokenbf_v1(2, 0, 0) GRANULARITY 1) ENGINE = MergeTree ORDER BY a SETTINGS index_granularity = 18774, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 8601, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 15243294, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 10076, primary_key_compress_block_size = 74883), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [61]) @ 0x000000000bc6317e in /usr/bin/clickhouse 6. /build/src/Interpreters/BloomFilter.cpp:30: DB::BloomFilterParameters::BloomFilterParameters(unsigned long, unsigned long, unsigned long) @ 0x000000001bda499d in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:771: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001e02bae9 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e004d4d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e004d05 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x000000001e004cc5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001e004c70 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x000000001e003c8e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x000000001dffe448 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001dffcf46 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:586: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de64e10 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de62136 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de614ad in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35ecd3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e89a in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e595 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e223 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e035 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35c61b in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35a85f in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 2024.09.24 01:21:53.875787 [ 1124 ] {3180b599-62e9-4e03-b184-1dade4931ef5} TCPHandler: Code: 44. DB::Exception: Cannot drop column `x`, because column `y` depends on it. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1237: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d5902a9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:21:53.876387 [ 22243 ] {6aba0ddd-7e69-4ee3-8b1d-0159200c4824} TCPHandler: Code: 36. DB::Exception: The number of hash functions for bloom filter cannot be zero. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [61]) @ 0x000000000bc6317e in /usr/bin/clickhouse 6. /build/src/Interpreters/BloomFilter.cpp:30: DB::BloomFilterParameters::BloomFilterParameters(unsigned long, unsigned long, unsigned long) @ 0x000000001bda499d in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:771: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001e02bae9 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e004d4d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e004d05 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x000000001e004cc5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001e004c70 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x000000001e003c8e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x000000001dffe448 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001dffcf46 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:586: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de64e10 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de62136 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de614ad in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35ecd3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e89a in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e595 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e223 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e035 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35c61b in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35a85f in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 2024.09.24 01:21:53.899327 [ 22243 ] {ff5acb75-6ad5-4464-8fab-78d9cc660e2e} executeQuery: Code: 36. DB::Exception: The size of bloom filter cannot be zero. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58184) (comment: 01384_bloom_filter_bad_arguments.sql) (in query: CREATE TABLE test (`a` String, INDEX a a TYPE tokenbf_v1(0, 1, 1) GRANULARITY 1) ENGINE = MergeTree ORDER BY a SETTINGS index_granularity = 18774, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 8601, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 15243294, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 10076, primary_key_compress_block_size = 74883), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [40]) @ 0x000000000b20795e in /usr/bin/clickhouse 6. /build/src/Interpreters/BloomFilter.cpp:28: DB::BloomFilterParameters::BloomFilterParameters(unsigned long, unsigned long, unsigned long) @ 0x000000001bda492f in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:771: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001e02bae9 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e004d4d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e004d05 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x000000001e004cc5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001e004c70 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x000000001e003c8e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x000000001dffe448 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001dffcf46 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:586: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de64e10 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de62136 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de614ad in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35ecd3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e89a in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e595 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e223 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e035 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35c61b in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35a85f in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 2024.09.24 01:21:53.900863 [ 22243 ] {ff5acb75-6ad5-4464-8fab-78d9cc660e2e} TCPHandler: Code: 36. DB::Exception: The size of bloom filter cannot be zero. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [40]) @ 0x000000000b20795e in /usr/bin/clickhouse 6. /build/src/Interpreters/BloomFilter.cpp:28: DB::BloomFilterParameters::BloomFilterParameters(unsigned long, unsigned long, unsigned long) @ 0x000000001bda492f in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:771: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001e02bae9 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e004d4d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e004d05 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x000000001e004cc5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001e004c70 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x000000001e003c8e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x000000001dffe448 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001dffcf46 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:586: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de64e10 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de62136 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de614ad in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35ecd3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e89a in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e595 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e223 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e035 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35c61b in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35a85f in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 2024.09.24 01:21:53.922845 [ 22243 ] {4d083dd7-9493-4fb2-b32c-9e58ae96389c} executeQuery: Code: 36. DB::Exception: The number of hash functions for bloom filter cannot be zero. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58184) (comment: 01384_bloom_filter_bad_arguments.sql) (in query: CREATE TABLE test (`a` String, INDEX a a TYPE tokenbf_v1(1, 0, 1) GRANULARITY 1) ENGINE = MergeTree ORDER BY a SETTINGS index_granularity = 18774, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 8601, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 15243294, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 10076, primary_key_compress_block_size = 74883), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [61]) @ 0x000000000bc6317e in /usr/bin/clickhouse 6. /build/src/Interpreters/BloomFilter.cpp:30: DB::BloomFilterParameters::BloomFilterParameters(unsigned long, unsigned long, unsigned long) @ 0x000000001bda499d in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:771: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001e02bae9 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e004d4d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e004d05 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x000000001e004cc5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001e004c70 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x000000001e003c8e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x000000001dffe448 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001dffcf46 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:586: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de64e10 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de62136 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de614ad in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35ecd3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e89a in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e595 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e223 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e035 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35c61b in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35a85f in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 2024.09.24 01:21:53.923953 [ 22243 ] {4d083dd7-9493-4fb2-b32c-9e58ae96389c} TCPHandler: Code: 36. DB::Exception: The number of hash functions for bloom filter cannot be zero. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [61]) @ 0x000000000bc6317e in /usr/bin/clickhouse 6. /build/src/Interpreters/BloomFilter.cpp:30: DB::BloomFilterParameters::BloomFilterParameters(unsigned long, unsigned long, unsigned long) @ 0x000000001bda499d in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:771: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001e02bae9 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e004d4d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e004d05 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x000000001e004cc5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001e004c70 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x000000001e003c8e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x000000001dffe448 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001dffcf46 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:586: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de64e10 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de62136 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de614ad in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35ecd3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e89a in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e595 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e223 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e035 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35c61b in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35a85f in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 2024.09.24 01:21:54.144593 [ 22243 ] {1d9ff4c9-3a87-4662-b03f-3c0558e1c1bc} executeQuery: Code: 36. DB::Exception: All parameters to *bf_v1 index must be unsigned integers. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58184) (comment: 01384_bloom_filter_bad_arguments.sql) (in query: CREATE TABLE test (`a` String, INDEX a a TYPE tokenbf_v1(0.1, 2, 0) GRANULARITY 1) ENGINE = MergeTree ORDER BY a SETTINGS index_granularity = 18774, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 8601, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 15243294, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 10076, primary_key_compress_block_size = 74883), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [57]) @ 0x000000000ddb69fe in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:764: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001e02ba19 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e004d4d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e004d05 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x000000001e004cc5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001e004c70 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x000000001e003c8e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x000000001dffe448 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001dffcf46 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeData.cpp:586: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de64e10 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de62136 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de614ad in /usr/bin/clickhouse 17. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35ecd3 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e89a in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e595 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e223 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e035 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35c61b in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35a85f in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 30. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 2024.09.24 01:21:54.145671 [ 22243 ] {1d9ff4c9-3a87-4662-b03f-3c0558e1c1bc} TCPHandler: Code: 36. DB::Exception: All parameters to *bf_v1 index must be unsigned integers. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [57]) @ 0x000000000ddb69fe in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:764: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001e02ba19 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e004d4d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e004d05 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x000000001e004cc5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001e004c70 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x000000001e003c8e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x000000001dffe448 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001dffcf46 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeData.cpp:586: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de64e10 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de62136 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de614ad in /usr/bin/clickhouse 17. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35ecd3 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e89a in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e595 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e223 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e035 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35c61b in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35a85f in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 30. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 2024.09.24 01:21:54.168717 [ 22243 ] {61ba4a68-37f7-410e-98c6-4c1f72dcce9d} executeQuery: Code: 36. DB::Exception: All parameters to *bf_v1 index must be unsigned integers. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58184) (comment: 01384_bloom_filter_bad_arguments.sql) (in query: CREATE TABLE test (`a` String, INDEX a a TYPE tokenbf_v1(-1, 2, 0) GRANULARITY 1) ENGINE = MergeTree ORDER BY a SETTINGS index_granularity = 18774, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 8601, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 15243294, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 10076, primary_key_compress_block_size = 74883), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [57]) @ 0x000000000ddb69fe in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:764: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001e02ba19 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e004d4d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e004d05 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x000000001e004cc5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001e004c70 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x000000001e003c8e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x000000001dffe448 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001dffcf46 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeData.cpp:586: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de64e10 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de62136 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de614ad in /usr/bin/clickhouse 17. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35ecd3 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e89a in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e595 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e223 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e035 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35c61b in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35a85f in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 30. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 2024.09.24 01:21:54.170027 [ 22243 ] {61ba4a68-37f7-410e-98c6-4c1f72dcce9d} TCPHandler: Code: 36. DB::Exception: All parameters to *bf_v1 index must be unsigned integers. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [57]) @ 0x000000000ddb69fe in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:764: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001e02ba19 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e004d4d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e004d05 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x000000001e004cc5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001e004c70 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x000000001e003c8e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x000000001dffe448 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001dffcf46 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeData.cpp:586: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de64e10 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de62136 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de614ad in /usr/bin/clickhouse 17. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35ecd3 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e89a in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e595 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e223 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e035 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35c61b in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35a85f in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 30. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 2024.09.24 01:21:54.375280 [ 22243 ] {f2b9287e-154a-49c7-a398-8ae7b05dd325} executeQuery: Code: 36. DB::Exception: The size of bloom filter cannot be more than 1073741824. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58184) (comment: 01384_bloom_filter_bad_arguments.sql) (in query: CREATE TABLE test (`a` String, INDEX a a TYPE tokenbf_v1(4294967295, 2, 0) GRANULARITY 1) ENGINE = MergeTree ORDER BY a SETTINGS index_granularity = 18774, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 8601, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 15243294, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 10076, primary_key_compress_block_size = 74883), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long const&) @ 0x000000000b93d933 in /usr/bin/clickhouse 6. /build/src/Interpreters/BloomFilter.cpp:32: DB::BloomFilterParameters::BloomFilterParameters(unsigned long, unsigned long, unsigned long) @ 0x000000001bda4a41 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:771: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001e02bae9 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e004d4d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e004d05 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x000000001e004cc5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001e004c70 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x000000001e003c8e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x000000001dffe448 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001dffcf46 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:586: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de64e10 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de62136 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de614ad in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35ecd3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e89a in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e595 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e223 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e035 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35c61b in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35a85f in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 2024.09.24 01:21:54.376510 [ 22243 ] {f2b9287e-154a-49c7-a398-8ae7b05dd325} TCPHandler: Code: 36. DB::Exception: The size of bloom filter cannot be more than 1073741824. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long const&) @ 0x000000000b93d933 in /usr/bin/clickhouse 6. /build/src/Interpreters/BloomFilter.cpp:32: DB::BloomFilterParameters::BloomFilterParameters(unsigned long, unsigned long, unsigned long) @ 0x000000001bda4a41 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:771: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001e02bae9 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e004d4d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e004d05 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x000000001e004cc5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001e004c70 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x000000001e003c8e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x000000001dffe448 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001dffcf46 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:586: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de64e10 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de62136 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de614ad in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35ecd3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e89a in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e595 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e223 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35e035 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35c61b in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35a85f in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 2024.09.24 01:21:59.659911 [ 5572 ] {d878a84b-711f-4efb-876c-71e446e0b0ec} executeQuery: Code: 69. DB::Exception: Too large offset: -9223372036854775808 in function neighbor. (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58306) (comment: 01353_neighbor_overflow.sql) (in query: SELECT neighbor(toString(number), -9223372036854775808) FROM numbers(100);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, long&, String&&) @ 0x0000000011504d2c in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:121: DB::(anonymous namespace)::FunctionNeighbor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001150394b in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 15. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:21:59.660984 [ 5572 ] {d878a84b-711f-4efb-876c-71e446e0b0ec} TCPHandler: Code: 69. DB::Exception: Too large offset: -9223372036854775808 in function neighbor. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, long&, String&&) @ 0x0000000011504d2c in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:121: DB::(anonymous namespace)::FunctionNeighbor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001150394b in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 15. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:21:59.890435 [ 5572 ] {67eed3f8-09af-4ba5-8889-d2acebc31270} executeQuery: Code: 69. DB::Exception: Too large offset: 783054470614313641 in function neighbor: while executing 'FUNCTION neighbor(toString(number) :: 2, toInt64(rand64()) :: 3) -> x String : 1'. (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58306) (comment: 01353_neighbor_overflow.sql) (in query: WITH neighbor(toString(number), toInt64(rand64())) AS x SELECT * FROM system.numbers WHERE NOT ignore(x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, long&, String&&) @ 0x0000000011504d2c in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:184: DB::(anonymous namespace)::FunctionNeighbor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011503d77 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 11. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/FilterTransform.cpp:135: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x000000001ebcd8f3 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/FilterTransform.cpp:120: DB::FilterTransform::transform(DB::Chunk&) @ 0x000000001ebcd7b2 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 2024.09.24 01:22:00.019356 [ 5572 ] {67eed3f8-09af-4ba5-8889-d2acebc31270} TCPHandler: Code: 69. DB::Exception: Too large offset: 783054470614313641 in function neighbor: while executing 'FUNCTION neighbor(toString(number) :: 2, toInt64(rand64()) :: 3) -> x String : 1'. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, long&, String&&) @ 0x0000000011504d2c in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:184: DB::(anonymous namespace)::FunctionNeighbor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011503d77 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 11. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/FilterTransform.cpp:135: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x000000001ebcd8f3 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/FilterTransform.cpp:120: DB::FilterTransform::transform(DB::Chunk&) @ 0x000000001ebcd7b2 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 2024.09.24 01:22:00.019321 [ 22244 ] {0c011942-6412-42c1-803e-943c3f4e51a5} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085327 bytes), maximum: 8.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58322) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d74460a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da51ea4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6efbf in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6edd4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6eb91 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e897 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e70a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5c636 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da54a1d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 2024.09.24 01:22:00.020546 [ 22244 ] {0c011942-6412-42c1-803e-943c3f4e51a5} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085327 bytes), maximum: 8.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d74460a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da51ea4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6efbf in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6edd4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6eb91 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e897 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e70a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5c636 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da54a1d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 2024.09.24 01:22:01.927398 [ 22245 ] {21eb783d-1c0f-48cc-9ea0-8e7b8cb066a5} executeQuery: Code: 128. DB::Exception: Too large array size in GenerateRandom: 9223372036854775807, maximum: 1073741824. (TOO_LARGE_ARRAY_SIZE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56318) (comment: 01352_generate_random_overflow.sql) (in query: SELECT i FROM generateRandom('i Array(Nullable(Enum8(\'hello\' = 1, \'world\' = 5)))', 1025, 65535, 9223372036854775807) LIMIT 10;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long const&) @ 0x000000000c4b2acc in /usr/bin/clickhouse 6. /build/src/Storages/StorageGenerateRandom.cpp:593: DB::StorageGenerateRandom::StorageGenerateRandom(DB::StorageID const&, DB::ColumnsDescription const&, String const&, unsigned long, unsigned long, std::optional const&) @ 0x000000001d6bc52b in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageGenerateRandom* std::construct_at[abi:v15000] const&, DB::StorageGenerateRandom*>(DB::StorageGenerateRandom*, DB::StorageID&&, DB::ColumnsDescription&, String&&, unsigned long const&, unsigned long const&, std::optional const&) @ 0x000000001a98cb73 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, void, void>(std::allocator&, DB::StorageGenerateRandom*, DB::StorageID&&, DB::ColumnsDescription&, String&&, unsigned long const&, unsigned long const&, std::optional const&) @ 0x000000001a98c90d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, String&&, unsigned long const&, unsigned long const&, std::optional const&) @ 0x000000001a98c5d9 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, String, unsigned long const&, unsigned long const&, std::optional const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, String&&, unsigned long const&, unsigned long const&, std::optional const&) @ 0x000000001a98c42e in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, void>(DB::StorageID&&, DB::ColumnsDescription&, String&&, unsigned long const&, unsigned long const&, std::optional const&) @ 0x000000001a98be54 in /usr/bin/clickhouse 12. /build/src/TableFunctions/TableFunctionGenerateRandom.cpp:119: DB::TableFunctionGenerateRandom::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a98bae0 in /usr/bin/clickhouse 13. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 14. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 15. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:22:01.928543 [ 22245 ] {21eb783d-1c0f-48cc-9ea0-8e7b8cb066a5} TCPHandler: Code: 128. DB::Exception: Too large array size in GenerateRandom: 9223372036854775807, maximum: 1073741824. (TOO_LARGE_ARRAY_SIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long const&) @ 0x000000000c4b2acc in /usr/bin/clickhouse 6. /build/src/Storages/StorageGenerateRandom.cpp:593: DB::StorageGenerateRandom::StorageGenerateRandom(DB::StorageID const&, DB::ColumnsDescription const&, String const&, unsigned long, unsigned long, std::optional const&) @ 0x000000001d6bc52b in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageGenerateRandom* std::construct_at[abi:v15000] const&, DB::StorageGenerateRandom*>(DB::StorageGenerateRandom*, DB::StorageID&&, DB::ColumnsDescription&, String&&, unsigned long const&, unsigned long const&, std::optional const&) @ 0x000000001a98cb73 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, void, void>(std::allocator&, DB::StorageGenerateRandom*, DB::StorageID&&, DB::ColumnsDescription&, String&&, unsigned long const&, unsigned long const&, std::optional const&) @ 0x000000001a98c90d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, String&&, unsigned long const&, unsigned long const&, std::optional const&) @ 0x000000001a98c5d9 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, String, unsigned long const&, unsigned long const&, std::optional const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, String&&, unsigned long const&, unsigned long const&, std::optional const&) @ 0x000000001a98c42e in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, void>(DB::StorageID&&, DB::ColumnsDescription&, String&&, unsigned long const&, unsigned long const&, std::optional const&) @ 0x000000001a98be54 in /usr/bin/clickhouse 12. /build/src/TableFunctions/TableFunctionGenerateRandom.cpp:119: DB::TableFunctionGenerateRandom::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a98bae0 in /usr/bin/clickhouse 13. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 14. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 15. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:22:03.576077 [ 22245 ] {6514cf1a-ed27-4281-b0f7-486db7268fd2} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 16.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56396) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d74460a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da51ea4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6efbf in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6edd4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6eb91 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e897 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e70a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5c636 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da54a1d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 2024.09.24 01:22:03.577424 [ 22245 ] {6514cf1a-ed27-4281-b0f7-486db7268fd2} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 16.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d74460a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da51ea4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6efbf in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6edd4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6eb91 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e897 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e70a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5c636 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da54a1d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 2024.09.24 01:22:03.817293 [ 22246 ] {2ca43d29-e1b6-474a-88fa-bb350781c005} executeQuery: Code: 36. DB::Exception: Expression with arrayJoin cannot depend on lambda argument: array(x, 1): While processing arrayMap(x -> arrayJoin([x, 1]), [1, 2]). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56402) (comment: 01330_array_join_in_higher_order_function.sql) (in query: SELECT arrayMap(x -> arrayJoin([x, 1]), [1, 2]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Interpreters/ActionsVisitor.cpp:614: DB::ScopeStack::addArrayJoin(String const&, String) @ 0x000000001bfe5ce0 in /usr/bin/clickhouse 7. /build/src/Interpreters/ActionsVisitor.h:174: DB::ActionsMatcher::Data::addArrayJoin(String const&, String) @ 0x000000001bff25cd in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:859: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6d8b in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:1242: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaf45 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 2024.09.24 01:22:03.818504 [ 22246 ] {2ca43d29-e1b6-474a-88fa-bb350781c005} TCPHandler: Code: 36. DB::Exception: Expression with arrayJoin cannot depend on lambda argument: array(x, 1): While processing arrayMap(x -> arrayJoin([x, 1]), [1, 2]). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Interpreters/ActionsVisitor.cpp:614: DB::ScopeStack::addArrayJoin(String const&, String) @ 0x000000001bfe5ce0 in /usr/bin/clickhouse 7. /build/src/Interpreters/ActionsVisitor.h:174: DB::ActionsMatcher::Data::addArrayJoin(String const&, String) @ 0x000000001bff25cd in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:859: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6d8b in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:1242: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaf45 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 2024.09.24 01:22:07.129387 [ 22250 ] {9c019754-7470-4fda-ba7f-c02802e73a25} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 32.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56492) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d74460a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da51ea4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6efbf in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6edd4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6eb91 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e897 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e70a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5c636 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da54a1d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 2024.09.24 01:22:07.130676 [ 22250 ] {9c019754-7470-4fda-ba7f-c02802e73a25} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 32.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d74460a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da51ea4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6efbf in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6edd4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6eb91 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e897 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e70a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5c636 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da54a1d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 2024.09.24 01:22:08.728377 [ 22247 ] {4696f0b7-2436-4bd9-9f5e-3161945d0bab} executeQuery: Code: 184. DB::Exception: Aggregate function anyLast(number) is found inside another aggregate function in query: While processing anyLast(number). (ILLEGAL_AGGREGATION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56512) (comment: 01322_any_input_optimize.sql) (in query: SELECT any(anyLast(number)) FROM numbers(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Interpreters/GetAggregatesVisitor.h:67: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x000000001bfd84d1 in /usr/bin/clickhouse 7. /build/src/Interpreters/GetAggregatesVisitor.h:59: DB::GetAggregatesMatcher::visit(std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x000000001bfd83e1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfd81e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfd8b01 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfd816a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfc2765 in /usr/bin/clickhouse 12. /build/src/Interpreters/GetAggregatesVisitor.h:112: DB::assertNoAggregates(std::shared_ptr const&, char const*) @ 0x000000001cfada79 in /usr/bin/clickhouse 13. /build/src/Interpreters/TreeRewriter.cpp:755: DB::(anonymous namespace)::getAggregates(std::shared_ptr&, DB::ASTSelectQuery const&) @ 0x000000001cfa1b2e in /usr/bin/clickhouse 14. /build/src/Interpreters/TreeRewriter.cpp:1254: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9da70 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:22:08.729450 [ 22247 ] {4696f0b7-2436-4bd9-9f5e-3161945d0bab} TCPHandler: Code: 184. DB::Exception: Aggregate function anyLast(number) is found inside another aggregate function in query: While processing anyLast(number). (ILLEGAL_AGGREGATION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Interpreters/GetAggregatesVisitor.h:67: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x000000001bfd84d1 in /usr/bin/clickhouse 7. /build/src/Interpreters/GetAggregatesVisitor.h:59: DB::GetAggregatesMatcher::visit(std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x000000001bfd83e1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfd81e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfd8b01 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfd816a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfc2765 in /usr/bin/clickhouse 12. /build/src/Interpreters/GetAggregatesVisitor.h:112: DB::assertNoAggregates(std::shared_ptr const&, char const*) @ 0x000000001cfada79 in /usr/bin/clickhouse 13. /build/src/Interpreters/TreeRewriter.cpp:755: DB::(anonymous namespace)::getAggregates(std::shared_ptr&, DB::ASTSelectQuery const&) @ 0x000000001cfa1b2e in /usr/bin/clickhouse 14. /build/src/Interpreters/TreeRewriter.cpp:1254: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9da70 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:22:09.013477 [ 22247 ] {c70c650c-4c48-4e51-a7c6-c5fa66426736} executeQuery: Code: 184. DB::Exception: Aggregate function anyLast(number) is found inside another aggregate function in query: While processing anyLast(number). (ILLEGAL_AGGREGATION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56512) (comment: 01322_any_input_optimize.sql) (in query: SELECT any(anyLast(number)) FROM numbers(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Interpreters/GetAggregatesVisitor.h:67: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x000000001bfd84d1 in /usr/bin/clickhouse 7. /build/src/Interpreters/GetAggregatesVisitor.h:59: DB::GetAggregatesMatcher::visit(std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x000000001bfd83e1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfd81e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfd8b01 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfd816a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfc2765 in /usr/bin/clickhouse 12. /build/src/Interpreters/GetAggregatesVisitor.h:112: DB::assertNoAggregates(std::shared_ptr const&, char const*) @ 0x000000001cfada79 in /usr/bin/clickhouse 13. /build/src/Interpreters/TreeRewriter.cpp:755: DB::(anonymous namespace)::getAggregates(std::shared_ptr&, DB::ASTSelectQuery const&) @ 0x000000001cfa1b2e in /usr/bin/clickhouse 14. /build/src/Interpreters/TreeRewriter.cpp:1254: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9da70 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:22:09.014502 [ 22247 ] {c70c650c-4c48-4e51-a7c6-c5fa66426736} TCPHandler: Code: 184. DB::Exception: Aggregate function anyLast(number) is found inside another aggregate function in query: While processing anyLast(number). (ILLEGAL_AGGREGATION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Interpreters/GetAggregatesVisitor.h:67: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x000000001bfd84d1 in /usr/bin/clickhouse 7. /build/src/Interpreters/GetAggregatesVisitor.h:59: DB::GetAggregatesMatcher::visit(std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x000000001bfd83e1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfd81e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfd8b01 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfd816a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfc2765 in /usr/bin/clickhouse 12. /build/src/Interpreters/GetAggregatesVisitor.h:112: DB::assertNoAggregates(std::shared_ptr const&, char const*) @ 0x000000001cfada79 in /usr/bin/clickhouse 13. /build/src/Interpreters/TreeRewriter.cpp:755: DB::(anonymous namespace)::getAggregates(std::shared_ptr&, DB::ASTSelectQuery const&) @ 0x000000001cfa1b2e in /usr/bin/clickhouse 14. /build/src/Interpreters/TreeRewriter.cpp:1254: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9da70 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:22:09.440152 [ 22249 ] {2b5bff80-ee75-4cfa-a8ba-9b70a8378314} executeQuery: Code: 44. DB::Exception: Cannot add column value3: column with this name already exists. (ILLEGAL_COLUMN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56538) (comment: 01318_alter_add_column_exists.sql) (in query: ALTER TABLE add_table ADD COLUMN value3 UInt64, ADD COLUMN IF NOT EXISTS value3 UInt32;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Storages/ColumnsDescription.cpp:203: DB::ColumnsDescription::add(DB::ColumnDescription, String const&, bool, bool) @ 0x000000001d5a3dea in /usr/bin/clickhouse 7. /build/src/Storages/AlterCommands.cpp:401: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001d588c12 in /usr/bin/clickhouse 8. /build/src/Storages/AlterCommands.cpp:929: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001d58c785 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8f06c in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 21. ? @ 0x00007f1d281b3ac3 in ? 22. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:22:09.440871 [ 22249 ] {2b5bff80-ee75-4cfa-a8ba-9b70a8378314} TCPHandler: Code: 44. DB::Exception: Cannot add column value3: column with this name already exists. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Storages/ColumnsDescription.cpp:203: DB::ColumnsDescription::add(DB::ColumnDescription, String const&, bool, bool) @ 0x000000001d5a3dea in /usr/bin/clickhouse 7. /build/src/Storages/AlterCommands.cpp:401: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001d588c12 in /usr/bin/clickhouse 8. /build/src/Storages/AlterCommands.cpp:929: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001d58c785 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8f06c in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 21. ? @ 0x00007f1d281b3ac3 in ? 22. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:22:10.771543 [ 22247 ] {0cb29e1b-2548-4980-95ec-b657226779f6} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 64.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:44006) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d74460a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da51ea4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6efbf in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6edd4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6eb91 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e897 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e70a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5c636 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da54a1d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 2024.09.24 01:22:10.772526 [ 22247 ] {0cb29e1b-2548-4980-95ec-b657226779f6} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 64.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d74460a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da51ea4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6efbf in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6edd4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6eb91 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e897 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e70a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5c636 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da54a1d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 2024.09.24 01:22:14.661167 [ 22250 ] {cb69fe2c-f5a2-456c-9bbc-591237e5a57e} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1086127 bytes), maximum: 128.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:44106) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d74460a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da51ea4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6efbf in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6edd4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6eb91 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e897 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e70a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5c636 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da54a1d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 2024.09.24 01:22:14.662604 [ 22250 ] {cb69fe2c-f5a2-456c-9bbc-591237e5a57e} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1086127 bytes), maximum: 128.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d74460a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da51ea4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6efbf in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6edd4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6eb91 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e897 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e70a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5c636 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da54a1d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 2024.09.24 01:22:18.388988 [ 22252 ] {48146208-310b-4459-9480-6e15acc46f49} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 256.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:44230) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d74460a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da51ea4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6efbf in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6edd4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6eb91 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e897 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e70a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5c636 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da54a1d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 2024.09.24 01:22:18.390332 [ 22252 ] {48146208-310b-4459-9480-6e15acc46f49} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 256.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d74460a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da51ea4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6efbf in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6edd4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6eb91 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e897 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e70a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5c636 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da54a1d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 2024.09.24 01:22:22.156601 [ 22251 ] {be9d6fca-2d4a-449e-b601-e0bb5da2ba62} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 512.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:33240) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d74460a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da51ea4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6efbf in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6edd4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6eb91 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e897 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e70a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5c636 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da54a1d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 2024.09.24 01:22:22.157931 [ 22251 ] {be9d6fca-2d4a-449e-b601-e0bb5da2ba62} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 512.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d74460a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da51ea4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6efbf in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6edd4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6eb91 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e897 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e70a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5c636 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da54a1d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 2024.09.24 01:22:23.927060 [ 22253 ] {first-01317_no_password_in_command_line_test_mkmazddk} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:44262) (comment: 01317_no_password_in_command_line.sh) (in query: SELECT sleepEachRow(1) FROM system.numbers LIMIT 100), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f983e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x000000001ccaa25b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6d0a80 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6d115c in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d09f6 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 15. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a610e2 in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:22:23.929809 [ 22253 ] {first-01317_no_password_in_command_line_test_mkmazddk} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f983e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x000000001ccaa25b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6d0a80 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6d115c in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d09f6 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 15. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a610e2 in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:22:25.857667 [ 6138 ] {244561e0-16c7-4cb8-bd22-f1dd2f23ab57} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 1.00 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:33350) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d74460a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da51ea4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6efbf in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6edd4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6eb91 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e897 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e70a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5c636 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da54a1d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 2024.09.24 01:22:25.859028 [ 6138 ] {244561e0-16c7-4cb8-bd22-f1dd2f23ab57} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 1.00 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d74460a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da51ea4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6efbf in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6edd4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6eb91 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e897 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e70a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5c636 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da54a1d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 2024.09.24 01:22:28.687915 [ 22251 ] {second-01317_no_password_in_command_line_test_mkmazddk} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:33332) (comment: 01317_no_password_in_command_line.sh) (in query: SELECT sleepEachRow(1) FROM system.numbers LIMIT 100), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f983e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x000000001ccaa25b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6d0a80 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6d115c in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d09f6 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 15. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a610e2 in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:22:28.690254 [ 22251 ] {second-01317_no_password_in_command_line_test_mkmazddk} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f983e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x000000001ccaa25b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6d0a80 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6d115c in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d09f6 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 15. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a610e2 in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:22:29.627768 [ 12042 ] {34c70b81-026f-4f09-bdba-8dfbfc2aa537} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 7.67 MiB (attempt to allocate chunk of 8005536 bytes), maximum: 2.00 MiB.: While executing Numbers. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:33452) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a54a5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:126: DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc_for_num_elements(unsigned long) @ 0x00000000139141ad in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:341: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x000000001391412a in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:137: DB::ColumnVector::ColumnVector(unsigned long) @ 0x000000001d3cc818 in /usr/bin/clickhouse 15. /build/src/Common/COW.h:284: COW::mutable_ptr> COWHelper>::create(unsigned long&) @ 0x000000000b2d6d3b in /usr/bin/clickhouse 16. /build/src/Storages/System/StorageSystemNumbers.cpp:29: DB::(anonymous namespace)::NumbersSource::generate() @ 0x000000001a9f9d26 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:49: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6cec1d in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:90: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x000000001e6ceaaa in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x000000001e6cea55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6cea39 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x000000001e6ce99d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x000000001e6ce8a7 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x000000001e6ce815 in /usr/bin/clickhouse 2024.09.24 01:22:29.629250 [ 12042 ] {34c70b81-026f-4f09-bdba-8dfbfc2aa537} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 7.67 MiB (attempt to allocate chunk of 8005536 bytes), maximum: 2.00 MiB.: While executing Numbers. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a54a5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:126: DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc_for_num_elements(unsigned long) @ 0x00000000139141ad in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:341: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x000000001391412a in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:137: DB::ColumnVector::ColumnVector(unsigned long) @ 0x000000001d3cc818 in /usr/bin/clickhouse 15. /build/src/Common/COW.h:284: COW::mutable_ptr> COWHelper>::create(unsigned long&) @ 0x000000000b2d6d3b in /usr/bin/clickhouse 16. /build/src/Storages/System/StorageSystemNumbers.cpp:29: DB::(anonymous namespace)::NumbersSource::generate() @ 0x000000001a9f9d26 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:49: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6cec1d in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:90: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x000000001e6ceaaa in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x000000001e6cea55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6cea39 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x000000001e6ce99d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x000000001e6ce8a7 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x000000001e6ce815 in /usr/bin/clickhouse 2024.09.24 01:22:33.097162 [ 22251 ] {de8b4af6-a2f2-41cb-ae4a-a25be439e8fa} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 7.67 MiB (attempt to allocate chunk of 8005536 bytes), maximum: 4.00 MiB.: While executing Numbers. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40664) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a54a5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:126: DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc_for_num_elements(unsigned long) @ 0x00000000139141ad in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:341: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x000000001391412a in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:137: DB::ColumnVector::ColumnVector(unsigned long) @ 0x000000001d3cc818 in /usr/bin/clickhouse 15. /build/src/Common/COW.h:284: COW::mutable_ptr> COWHelper>::create(unsigned long&) @ 0x000000000b2d6d3b in /usr/bin/clickhouse 16. /build/src/Storages/System/StorageSystemNumbers.cpp:29: DB::(anonymous namespace)::NumbersSource::generate() @ 0x000000001a9f9d26 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:49: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6cec1d in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:90: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x000000001e6ceaaa in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x000000001e6cea55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6cea39 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x000000001e6ce99d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x000000001e6ce8a7 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x000000001e6ce815 in /usr/bin/clickhouse 2024.09.24 01:22:33.098559 [ 22251 ] {de8b4af6-a2f2-41cb-ae4a-a25be439e8fa} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 7.67 MiB (attempt to allocate chunk of 8005536 bytes), maximum: 4.00 MiB.: While executing Numbers. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a54a5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:126: DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc_for_num_elements(unsigned long) @ 0x00000000139141ad in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:341: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x000000001391412a in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:137: DB::ColumnVector::ColumnVector(unsigned long) @ 0x000000001d3cc818 in /usr/bin/clickhouse 15. /build/src/Common/COW.h:284: COW::mutable_ptr> COWHelper>::create(unsigned long&) @ 0x000000000b2d6d3b in /usr/bin/clickhouse 16. /build/src/Storages/System/StorageSystemNumbers.cpp:29: DB::(anonymous namespace)::NumbersSource::generate() @ 0x000000001a9f9d26 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:49: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6cec1d in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:90: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x000000001e6ceaaa in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x000000001e6cea55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6cea39 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x000000001e6ce99d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x000000001e6ce8a7 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x000000001e6ce815 in /usr/bin/clickhouse 2024.09.24 01:22:34.692308 [ 8835 ] {097f8b00-2d48-4202-b745-3fe4f28944b4} executeQuery: Code: 160. DB::Exception: Query is executing too slow: 20636000 rows/sec., minimum: 100000000000: While executing Numbers. (TOO_SLOW) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40714) (comment: 01287_max_execution_speed.sql) (in query: SELECT count() FROM system.numbers;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, unsigned long const&) @ 0x000000001b87a04c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:66: DB::ExecutionSpeedLimits::throttle(unsigned long, unsigned long, unsigned long, unsigned long) const @ 0x000000001b879611 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ReadProgressCallback.cpp:133: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x000000001b8783b3 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eced1 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 2024.09.24 01:22:34.696501 [ 8835 ] {097f8b00-2d48-4202-b745-3fe4f28944b4} TCPHandler: Code: 160. DB::Exception: Query is executing too slow: 20636000 rows/sec., minimum: 100000000000: While executing Numbers. (TOO_SLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, unsigned long const&) @ 0x000000001b87a04c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:66: DB::ExecutionSpeedLimits::throttle(unsigned long, unsigned long, unsigned long, unsigned long) const @ 0x000000001b879611 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ReadProgressCallback.cpp:133: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x000000001b8783b3 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eced1 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 2024.09.24 01:22:35.193080 [ 8835 ] {b1812cc4-1b73-481b-b8e0-22b0821a485e} executeQuery: Code: 160. DB::Exception: Query is executing too slow: 165088000 bytes/sec., minimum: 800000000000: While executing Numbers. (TOO_SLOW) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40714) (comment: 01287_max_execution_speed.sql) (in query: SELECT count() FROM system.numbers;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, unsigned long const&) @ 0x000000001b87a04c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:74: DB::ExecutionSpeedLimits::throttle(unsigned long, unsigned long, unsigned long, unsigned long) const @ 0x000000001b879785 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ReadProgressCallback.cpp:133: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x000000001b8783b3 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eced1 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 2024.09.24 01:22:35.198562 [ 8835 ] {b1812cc4-1b73-481b-b8e0-22b0821a485e} TCPHandler: Code: 160. DB::Exception: Query is executing too slow: 165088000 bytes/sec., minimum: 800000000000: While executing Numbers. (TOO_SLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, unsigned long const&) @ 0x000000001b87a04c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:74: DB::ExecutionSpeedLimits::throttle(unsigned long, unsigned long, unsigned long, unsigned long) const @ 0x000000001b879785 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ReadProgressCallback.cpp:133: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x000000001b8783b3 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eced1 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 2024.09.24 01:22:35.771863 [ 8853 ] {dfeff953-14c9-4c34-9177-72b0fdbe8253} executeQuery: Code: 43. DB::Exception: Illegal type FixedString(1) of first argument of function port. Must be String.: While processing port(toFixedString('', 1)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40734) (comment: 01284_port.gen.sql) (in query: -- unsupported /* ILLEGAL_TYPE_OF_ARGUMENT */ select port(toFixedString('', 1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:38: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000001287aafd in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:22:35.772884 [ 8853 ] {dfeff953-14c9-4c34-9177-72b0fdbe8253} TCPHandler: Code: 43. DB::Exception: Illegal type FixedString(1) of first argument of function port. Must be String.: While processing port(toFixedString('', 1)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:38: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000001287aafd in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:22:35.913484 [ 8853 ] {7708bb32-9155-4152-9eba-3e08fa1ed030} executeQuery: Code: 43. DB::Exception: Illegal type UInt8 of second argument of function port. Must be UInt16.: While processing port('', 1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40734) (comment: 01284_port.gen.sql) (in query: /* ILLEGAL_TYPE_OF_ARGUMENT */ select port('', 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:42: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000001287acd0 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:22:35.914447 [ 8853 ] {7708bb32-9155-4152-9eba-3e08fa1ed030} TCPHandler: Code: 43. DB::Exception: Illegal type UInt8 of second argument of function port. Must be UInt16.: While processing port('', 1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:42: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000001287acd0 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:22:36.060256 [ 8853 ] {3dfed498-9352-4192-a8d9-b11d1cd53f1c} executeQuery: Code: 42. DB::Exception: Number of arguments for function port doesn't match: passed 3, should be 1 or 2: While processing port('', 1, 1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40734) (comment: 01284_port.gen.sql) (in query: /* NUMBER_OF_ARGUMENTS_DOESNT_MATCH */ select port('', 1, 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b232e2c in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:33: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000001287a97f in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:22:36.061165 [ 8853 ] {3dfed498-9352-4192-a8d9-b11d1cd53f1c} TCPHandler: Code: 42. DB::Exception: Number of arguments for function port doesn't match: passed 3, should be 1 or 2: While processing port('', 1, 1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b232e2c in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:33: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000001287a97f in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:22:36.392583 [ 8853 ] {a1317dcc-8320-49e2-9c9e-7f4cffc45dfe} executeQuery: Code: 43. DB::Exception: Illegal type FixedString(1) of first argument of function port. Must be String.: While processing port(toFixedString('', 1)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40734) (comment: 01284_port.gen.sql) (in query: -- unsupported /* ILLEGAL_TYPE_OF_ARGUMENT */ select port(toFixedString('', 1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:38: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000001287aafd in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:22:36.393566 [ 8853 ] {a1317dcc-8320-49e2-9c9e-7f4cffc45dfe} TCPHandler: Code: 43. DB::Exception: Illegal type FixedString(1) of first argument of function port. Must be String.: While processing port(toFixedString('', 1)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:38: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000001287aafd in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:22:36.528853 [ 8853 ] {c5413a39-889a-4709-9e48-ff290b50a79b} executeQuery: Code: 43. DB::Exception: Illegal type UInt8 of second argument of function portRFC. Must be UInt16.: While processing portRFC('', 1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40734) (comment: 01284_port.gen.sql) (in query: /* ILLEGAL_TYPE_OF_ARGUMENT */ select portRFC('', 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:42: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000001287c770 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:22:36.529743 [ 8853 ] {c5413a39-889a-4709-9e48-ff290b50a79b} TCPHandler: Code: 43. DB::Exception: Illegal type UInt8 of second argument of function portRFC. Must be UInt16.: While processing portRFC('', 1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:42: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000001287c770 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:22:36.668428 [ 8853 ] {214730f8-5cee-441f-9d34-5c745c0fb471} executeQuery: Code: 42. DB::Exception: Number of arguments for function portRFC doesn't match: passed 3, should be 1 or 2: While processing portRFC('', 1, 1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40734) (comment: 01284_port.gen.sql) (in query: /* NUMBER_OF_ARGUMENTS_DOESNT_MATCH */ select portRFC('', 1, 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b232e2c in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:33: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000001287c41f in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:22:36.797708 [ 12003 ] {c01e323d-f24c-423c-972d-ab7735a1a438} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 8.67 MiB (attempt to allocate chunk of 1050031 bytes), maximum: 8.00 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40752) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Storages/StorageLog.cpp:326: DB::LogSink::Stream::Stream(std::shared_ptr const&, String const&, unsigned long, std::shared_ptr, unsigned long) @ 0x000000001da69041 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1775: std::pair::pair[abi:v15000] const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&, 0ul, 0ul, 1ul, 2ul, 3ul, 4ul>(std::piecewise_construct_t, std::tuple&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&, std::__tuple_indices<0ul>, std::__tuple_indices<0ul, 1ul, 2ul, 3ul, 4ul>) @ 0x000000001da68eae in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__utility/pair.h:259: std::pair::pair[abi:v15000] const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>(std::piecewise_construct_t, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>) @ 0x000000001da68de1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::pair* std::construct_at[abi:v15000], std::piecewise_construct_t const&, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>, std::pair*>(std::pair*, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da68da7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, void*>>>::construct[abi:v15000], std::piecewise_construct_t const&, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>, void, void>(std::allocator, void*>>&, std::pair*, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da68b71 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__tree:2133: std::unique_ptr, void*>, std::__tree_node_destructor, void*>>>> std::__tree, std::__map_value_compare, std::less, true>, std::allocator>>::__construct_node, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>>(std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da68849 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__tree:2096: std::pair, std::__tree_node, void*>*, long>, bool> std::__tree, std::__map_value_compare, std::less, true>, std::allocator>>::__emplace_unique_key_args, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>>(String const&, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da684ce in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/map:1281: std::pair, std::__tree_node, void*>*, long>>, bool> std::map, std::allocator>>::try_emplace[abi:v15000] const&, String const&, unsigned long, std::shared_ptr, unsigned long const&>(String const&, std::shared_ptr const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&) @ 0x000000001da67fcf in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:455: DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001da5885b in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001da584dd in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001da5849d in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001da5845d in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001da58425 in /usr/bin/clickhouse 2024.09.24 01:22:36.797750 [ 8853 ] {214730f8-5cee-441f-9d34-5c745c0fb471} TCPHandler: Code: 42. DB::Exception: Number of arguments for function portRFC doesn't match: passed 3, should be 1 or 2: While processing portRFC('', 1, 1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b232e2c in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:33: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000001287c41f in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:22:36.799433 [ 12003 ] {c01e323d-f24c-423c-972d-ab7735a1a438} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 8.67 MiB (attempt to allocate chunk of 1050031 bytes), maximum: 8.00 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Storages/StorageLog.cpp:326: DB::LogSink::Stream::Stream(std::shared_ptr const&, String const&, unsigned long, std::shared_ptr, unsigned long) @ 0x000000001da69041 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1775: std::pair::pair[abi:v15000] const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&, 0ul, 0ul, 1ul, 2ul, 3ul, 4ul>(std::piecewise_construct_t, std::tuple&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&, std::__tuple_indices<0ul>, std::__tuple_indices<0ul, 1ul, 2ul, 3ul, 4ul>) @ 0x000000001da68eae in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__utility/pair.h:259: std::pair::pair[abi:v15000] const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>(std::piecewise_construct_t, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>) @ 0x000000001da68de1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::pair* std::construct_at[abi:v15000], std::piecewise_construct_t const&, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>, std::pair*>(std::pair*, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da68da7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, void*>>>::construct[abi:v15000], std::piecewise_construct_t const&, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>, void, void>(std::allocator, void*>>&, std::pair*, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da68b71 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__tree:2133: std::unique_ptr, void*>, std::__tree_node_destructor, void*>>>> std::__tree, std::__map_value_compare, std::less, true>, std::allocator>>::__construct_node, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>>(std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da68849 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__tree:2096: std::pair, std::__tree_node, void*>*, long>, bool> std::__tree, std::__map_value_compare, std::less, true>, std::allocator>>::__emplace_unique_key_args, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>>(String const&, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da684ce in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/map:1281: std::pair, std::__tree_node, void*>*, long>>, bool> std::map, std::allocator>>::try_emplace[abi:v15000] const&, String const&, unsigned long, std::shared_ptr, unsigned long const&>(String const&, std::shared_ptr const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&) @ 0x000000001da67fcf in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:455: DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001da5885b in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001da584dd in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001da5849d in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001da5845d in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001da58425 in /usr/bin/clickhouse 2024.09.24 01:22:37.074051 [ 22256 ] {700751d2-d65d-4158-ade6-5dec7a2e2995} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function parseDateTime64BestEffort provided 0, expected 1 to 3 ('string' : String or FixedString, ['precision' : const UInt8, 'timezone' : const String or FixedString]): While processing parseDateTime64BestEffort(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40758) (comment: 01281_parseDateTime64BestEffort.sql) (in query: -- Error cases SELECT parseDateTime64BestEffort();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001abfde7d in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abfbdc5 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2156: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc1beed in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:22:37.075999 [ 22256 ] {700751d2-d65d-4158-ade6-5dec7a2e2995} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function parseDateTime64BestEffort provided 0, expected 1 to 3 ('string' : String or FixedString, ['precision' : const UInt8, 'timezone' : const String or FixedString]): While processing parseDateTime64BestEffort(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001abfde7d in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abfbdc5 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2156: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc1beed in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:22:37.255418 [ 22256 ] {e54399fd-f7ef-4c92-bb8f-0ecaaa8b49ba} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'string' of function parseDateTime64BestEffort, expected String or FixedString, got UInt8: While processing parseDateTime64BestEffort(123). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40758) (comment: 01281_parseDateTime64BestEffort.sql) (in query: SELECT parseDateTime64BestEffort(123);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x000000001abfe65a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001abfc8de in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:193: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abfc060 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2156: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc1beed in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 2024.09.24 01:22:37.256507 [ 22256 ] {e54399fd-f7ef-4c92-bb8f-0ecaaa8b49ba} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'string' of function parseDateTime64BestEffort, expected String or FixedString, got UInt8: While processing parseDateTime64BestEffort(123). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x000000001abfe65a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001abfc8de in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:193: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abfc060 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2156: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc1beed in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 2024.09.24 01:22:37.411065 [ 22256 ] {e8b1b5f8-3ac1-41e7-bee6-cabd6cfc8748} executeQuery: Code: 41. DB::ParsingException: Cannot read DateTime: unexpected word: While processing parseDateTime64BestEffort('foo'). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40758) (comment: 01281_parseDateTime64BestEffort.sql) (in query: SELECT parseDateTime64BestEffort('foo');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x000000000b265ab7 in /usr/bin/clickhouse 6. /build/src/IO/parseDateTimeBestEffort.cpp:98: auto void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*)::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x00000000139b1fb8 in /usr/bin/clickhouse 7. /build/src/IO/parseDateTimeBestEffort.cpp:558: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x00000000139aae8c in /usr/bin/clickhouse 8. /build/src/IO/parseDateTimeBestEffort.cpp:664: void DB::(anonymous namespace)::parseDateTime64BestEffortImpl(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x00000000139b1904 in /usr/bin/clickhouse 9. /build/src/IO/parseDateTimeBestEffort.cpp:705: DB::parseDateTime64BestEffort(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x00000000139b18b3 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1374: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000bc1eed6 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2244: COW::immutable_ptr DB::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x000000000bc1cd34 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2275: DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc1b9da in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:22:37.412284 [ 22256 ] {e8b1b5f8-3ac1-41e7-bee6-cabd6cfc8748} TCPHandler: Code: 41. DB::ParsingException: Cannot read DateTime: unexpected word: While processing parseDateTime64BestEffort('foo'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x000000000b265ab7 in /usr/bin/clickhouse 6. /build/src/IO/parseDateTimeBestEffort.cpp:98: auto void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*)::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x00000000139b1fb8 in /usr/bin/clickhouse 7. /build/src/IO/parseDateTimeBestEffort.cpp:558: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x00000000139aae8c in /usr/bin/clickhouse 8. /build/src/IO/parseDateTimeBestEffort.cpp:664: void DB::(anonymous namespace)::parseDateTime64BestEffortImpl(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x00000000139b1904 in /usr/bin/clickhouse 9. /build/src/IO/parseDateTimeBestEffort.cpp:705: DB::parseDateTime64BestEffort(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x00000000139b18b3 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1374: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000bc1eed6 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2244: COW::immutable_ptr DB::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x000000000bc1cd34 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2275: DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc1b9da in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:22:37.570304 [ 22256 ] {ed8892e4-cdf6-4e5f-85ea-00dcdd1e71d7} executeQuery: Code: 43. DB::Exception: Illegal type of argument #2 'precision' of function parseDateTime64BestEffort, expected const UInt8, got String: While processing parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 'bar'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40758) (comment: 01281_parseDateTime64BestEffort.sql) (in query: SELECT parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 'bar');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x000000001abfe65a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001abfc8de in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:195: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abfc0aa in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2156: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc1beed in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 2024.09.24 01:22:37.571315 [ 22256 ] {ed8892e4-cdf6-4e5f-85ea-00dcdd1e71d7} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #2 'precision' of function parseDateTime64BestEffort, expected const UInt8, got String: While processing parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 'bar'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x000000001abfe65a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001abfc8de in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:195: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abfc0aa in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2156: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc1beed in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 2024.09.24 01:22:37.580431 [ 22256 ] {c5cd129a-99ce-48fe-809a-7a1aa0275994} executeQuery: Code: 43. DB::Exception: Illegal type of argument #3 'timezone' of function parseDateTime64BestEffort, expected const String or FixedString, got UInt8: While processing parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 3, 4). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40758) (comment: 01281_parseDateTime64BestEffort.sql) (in query: SELECT parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 3, 4);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x000000001abfe65a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001abfc8de in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:195: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abfc0aa in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2156: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc1beed in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 2024.09.24 01:22:37.581390 [ 22256 ] {c5cd129a-99ce-48fe-809a-7a1aa0275994} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #3 'timezone' of function parseDateTime64BestEffort, expected const String or FixedString, got UInt8: While processing parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 3, 4). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x000000001abfe65a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001abfc8de in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:195: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abfc0aa in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2156: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc1beed in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 2024.09.24 01:22:37.718354 [ 22256 ] {3e634d02-ce6b-418f-b7b0-2fd0ba16ca5e} executeQuery: Code: 36. DB::Exception: Cannot load time zone baz: While processing parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 3, 'baz'). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40758) (comment: 01281_parseDateTime64BestEffort.sql) (in query: SELECT parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 3, 'baz');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Common/DateLUTImpl.cpp:77: DateLUTImpl::DateLUTImpl(String const&) @ 0x00000000138c5654 in /usr/bin/clickhouse 7. /build/src/Common/DateLUT.cpp:157: DateLUT::getImplementation(String const&) const @ 0x00000000138bff0a in /usr/bin/clickhouse 8. /build/src/Common/DateLUT.h:62: TimezoneMixin::TimezoneMixin(String const&) @ 0x000000001b8af349 in /usr/bin/clickhouse 9. /build/src/DataTypes/DataTypeDateTime64.cpp:22: DB::DataTypeDateTime64::DataTypeDateTime64(unsigned int, String const&) @ 0x000000001b8b03fc in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeDateTime64* std::construct_at[abi:v15000](DB::DataTypeDateTime64*, unsigned long&, String const&) @ 0x000000000b235b8f in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::DataTypeDateTime64*, unsigned long&, String const&) @ 0x000000000b235949 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, unsigned long&, String const&) @ 0x000000000b23562f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], unsigned long&, String const&, void>(std::allocator const&, unsigned long&, String const&) @ 0x000000000b2354a2 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](unsigned long&, String const&) @ 0x000000000b232bee in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2169: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc1c303 in /usr/bin/clickhouse 16. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 2024.09.24 01:22:37.719430 [ 22256 ] {3e634d02-ce6b-418f-b7b0-2fd0ba16ca5e} TCPHandler: Code: 36. DB::Exception: Cannot load time zone baz: While processing parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 3, 'baz'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Common/DateLUTImpl.cpp:77: DateLUTImpl::DateLUTImpl(String const&) @ 0x00000000138c5654 in /usr/bin/clickhouse 7. /build/src/Common/DateLUT.cpp:157: DateLUT::getImplementation(String const&) const @ 0x00000000138bff0a in /usr/bin/clickhouse 8. /build/src/Common/DateLUT.h:62: TimezoneMixin::TimezoneMixin(String const&) @ 0x000000001b8af349 in /usr/bin/clickhouse 9. /build/src/DataTypes/DataTypeDateTime64.cpp:22: DB::DataTypeDateTime64::DataTypeDateTime64(unsigned int, String const&) @ 0x000000001b8b03fc in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeDateTime64* std::construct_at[abi:v15000](DB::DataTypeDateTime64*, unsigned long&, String const&) @ 0x000000000b235b8f in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::DataTypeDateTime64*, unsigned long&, String const&) @ 0x000000000b235949 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, unsigned long&, String const&) @ 0x000000000b23562f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], unsigned long&, String const&, void>(std::allocator const&, unsigned long&, String const&) @ 0x000000000b2354a2 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](unsigned long&, String const&) @ 0x000000000b232bee in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2169: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc1c303 in /usr/bin/clickhouse 16. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 2024.09.24 01:22:37.729205 [ 22256 ] {7fe61055-43c8-48aa-b725-8af03953192b} executeQuery: Code: 44. DB::Exception: Illegal type of argument #2 'precision' of function parseDateTime64BestEffort, expected const UInt8, got UInt8: While processing parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', materialize(3), 4). (ILLEGAL_COLUMN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40758) (comment: 01281_parseDateTime64BestEffort.sql) (in query: SELECT parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', materialize(3), 4);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x000000001abfe65a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001abfc8de in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:195: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abfc0aa in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2156: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc1beed in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 2024.09.24 01:22:37.730089 [ 22256 ] {7fe61055-43c8-48aa-b725-8af03953192b} TCPHandler: Code: 44. DB::Exception: Illegal type of argument #2 'precision' of function parseDateTime64BestEffort, expected const UInt8, got UInt8: While processing parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', materialize(3), 4). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x000000001abfe65a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001abfc8de in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:195: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abfc0aa in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2156: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc1beed in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 2024.09.24 01:22:37.739529 [ 22256 ] {f3c5c32b-9bb5-41aa-9e16-61b926638038} executeQuery: Code: 44. DB::Exception: Illegal type of argument #3 'timezone' of function parseDateTime64BestEffort, expected const String or FixedString, got String: While processing parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 3, materialize('UTC')). (ILLEGAL_COLUMN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40758) (comment: 01281_parseDateTime64BestEffort.sql) (in query: SELECT parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 3, materialize('UTC'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x000000001abfe65a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001abfc8de in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:195: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abfc0aa in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2156: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc1beed in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 2024.09.24 01:22:37.740442 [ 22256 ] {f3c5c32b-9bb5-41aa-9e16-61b926638038} TCPHandler: Code: 44. DB::Exception: Illegal type of argument #3 'timezone' of function parseDateTime64BestEffort, expected const String or FixedString, got String: While processing parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 3, materialize('UTC')). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x000000001abfe65a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001abfc8de in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:195: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abfc0aa in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2156: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc1beed in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 2024.09.24 01:22:37.902938 [ 22256 ] {1a93057c-0adc-4ee1-9b68-4c73fdded41e} executeQuery: Code: 6. DB::Exception: Cannot parse string '2020-05-14T03:37:03.253184012345678910111213141516171819Z' as DateTime64(3, 'UTC'): syntax error at position 39 (parsed just '2020-05-14T03:37:03.2531840123456789101'): While processing parseDateTime64BestEffort('2020-05-14T03:37:03.253184012345678910111213141516171819Z', 3, 'UTC'). (CANNOT_PARSE_TEXT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40758) (comment: 01281_parseDateTime64BestEffort.sql) (in query: SELECT parseDateTime64BestEffort('2020-05-14T03:37:03.253184012345678910111213141516171819Z', 3, 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b217fb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000bc1ef53 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2244: COW::immutable_ptr DB::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x000000000bc1cd34 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:2275: DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc1b9da in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 2024.09.24 01:22:37.904072 [ 22256 ] {1a93057c-0adc-4ee1-9b68-4c73fdded41e} TCPHandler: Code: 6. DB::Exception: Cannot parse string '2020-05-14T03:37:03.253184012345678910111213141516171819Z' as DateTime64(3, 'UTC'): syntax error at position 39 (parsed just '2020-05-14T03:37:03.2531840123456789101'): While processing parseDateTime64BestEffort('2020-05-14T03:37:03.253184012345678910111213141516171819Z', 3, 'UTC'). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b217fb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000bc1ef53 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2244: COW::immutable_ptr DB::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x000000000bc1cd34 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:2275: DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc1b9da in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 2024.09.24 01:22:39.017815 [ 22256 ] {0e4fa959-7fed-42f9-a93c-d37571895c6f} executeQuery: Code: 42. DB::Exception: Function fromUnixTimestamp64Milli takes one or two arguments: While processing fromUnixTimestamp64Milli(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40770) (comment: 01277_fromUnixTimestamp64.sql) (in query: -- -- Error cases SELECT fromUnixTimestamp64Milli();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b24a833 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:120: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e2ae9eb in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:22:39.019027 [ 22256 ] {0e4fa959-7fed-42f9-a93c-d37571895c6f} TCPHandler: Code: 42. DB::Exception: Function fromUnixTimestamp64Milli takes one or two arguments: While processing fromUnixTimestamp64Milli(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b24a833 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:120: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e2ae9eb in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:22:39.027915 [ 22256 ] {53c1770f-c469-4644-a2b9-c5c1bba6978f} executeQuery: Code: 42. DB::Exception: Function fromUnixTimestamp64Micro takes one or two arguments: While processing fromUnixTimestamp64Micro(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40770) (comment: 01277_fromUnixTimestamp64.sql) (in query: SELECT fromUnixTimestamp64Micro();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b24a833 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:120: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e2ae9eb in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:22:39.028981 [ 22256 ] {53c1770f-c469-4644-a2b9-c5c1bba6978f} TCPHandler: Code: 42. DB::Exception: Function fromUnixTimestamp64Micro takes one or two arguments: While processing fromUnixTimestamp64Micro(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b24a833 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:120: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e2ae9eb in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:22:39.036493 [ 22256 ] {adf62cc4-2350-470e-b734-d3ca7fa66037} executeQuery: Code: 42. DB::Exception: Function fromUnixTimestamp64Nano takes one or two arguments: While processing fromUnixTimestamp64Nano(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40770) (comment: 01277_fromUnixTimestamp64.sql) (in query: SELECT fromUnixTimestamp64Nano();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b24a833 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:120: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e2ae9eb in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:22:39.037716 [ 22256 ] {adf62cc4-2350-470e-b734-d3ca7fa66037} TCPHandler: Code: 42. DB::Exception: Function fromUnixTimestamp64Nano takes one or two arguments: While processing fromUnixTimestamp64Nano(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b24a833 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:120: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e2ae9eb in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:22:39.188337 [ 22256 ] {12c41e12-d39e-41ab-a417-46ff12b4b43f} executeQuery: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Milli must be integer: While processing fromUnixTimestamp64Milli('abc'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40770) (comment: 01277_fromUnixTimestamp64.sql) (in query: SELECT fromUnixTimestamp64Milli('abc');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b24a833 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:123: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e2aeaa9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:22:39.189342 [ 22256 ] {12c41e12-d39e-41ab-a417-46ff12b4b43f} TCPHandler: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Milli must be integer: While processing fromUnixTimestamp64Milli('abc'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b24a833 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:123: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e2aeaa9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:22:39.198046 [ 22256 ] {d1e8270d-ce1b-4e0e-9602-19eb787352ee} executeQuery: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Micro must be integer: While processing fromUnixTimestamp64Micro('abc'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40770) (comment: 01277_fromUnixTimestamp64.sql) (in query: SELECT fromUnixTimestamp64Micro('abc');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b24a833 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:123: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e2aeaa9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:22:39.199154 [ 22256 ] {d1e8270d-ce1b-4e0e-9602-19eb787352ee} TCPHandler: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Micro must be integer: While processing fromUnixTimestamp64Micro('abc'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b24a833 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:123: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e2aeaa9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:22:39.209495 [ 22256 ] {4e54d886-9ba5-4875-bded-3f2860b479bc} executeQuery: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Nano must be integer: While processing fromUnixTimestamp64Nano('abc'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40770) (comment: 01277_fromUnixTimestamp64.sql) (in query: SELECT fromUnixTimestamp64Nano('abc');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b24a833 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:123: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e2aeaa9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:22:39.210544 [ 22256 ] {4e54d886-9ba5-4875-bded-3f2860b479bc} TCPHandler: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Nano must be integer: While processing fromUnixTimestamp64Nano('abc'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b24a833 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:123: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e2aeaa9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:22:39.219973 [ 22256 ] {b0179cc0-05c0-4d1e-8720-51b718ee34ca} executeQuery: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Milli must be integer: While processing fromUnixTimestamp64Milli('abc', 123). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40770) (comment: 01277_fromUnixTimestamp64.sql) (in query: SELECT fromUnixTimestamp64Milli('abc', 123);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b24a833 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:123: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e2aeaa9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:22:39.221076 [ 22256 ] {b0179cc0-05c0-4d1e-8720-51b718ee34ca} TCPHandler: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Milli must be integer: While processing fromUnixTimestamp64Milli('abc', 123). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b24a833 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:123: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e2aeaa9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:22:39.230917 [ 22256 ] {14f3321b-8237-4167-86d5-aa4b11442d6d} executeQuery: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Micro must be integer: While processing fromUnixTimestamp64Micro('abc', 123). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40770) (comment: 01277_fromUnixTimestamp64.sql) (in query: SELECT fromUnixTimestamp64Micro('abc', 123);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b24a833 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:123: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e2aeaa9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:22:39.231929 [ 22256 ] {14f3321b-8237-4167-86d5-aa4b11442d6d} TCPHandler: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Micro must be integer: While processing fromUnixTimestamp64Micro('abc', 123). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b24a833 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:123: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e2aeaa9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:22:39.242501 [ 22256 ] {a2bc0059-bab9-4daa-bbcb-43e7be77726c} executeQuery: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Nano must be integer: While processing fromUnixTimestamp64Nano('abc', 123). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40770) (comment: 01277_fromUnixTimestamp64.sql) (in query: SELECT fromUnixTimestamp64Nano('abc', 123);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b24a833 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:123: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e2aeaa9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:22:39.243758 [ 22256 ] {a2bc0059-bab9-4daa-bbcb-43e7be77726c} TCPHandler: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Nano must be integer: While processing fromUnixTimestamp64Nano('abc', 123). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b24a833 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:123: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e2aeaa9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:22:40.783614 [ 22256 ] {42f1ce67-4e71-4dc9-9243-06943d7ee556} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 16.67 MiB (attempt to allocate chunk of 1049487 bytes), maximum: 16.00 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40786) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Storages/StorageLog.cpp:326: DB::LogSink::Stream::Stream(std::shared_ptr const&, String const&, unsigned long, std::shared_ptr, unsigned long) @ 0x000000001da69041 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1775: std::pair::pair[abi:v15000] const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&, 0ul, 0ul, 1ul, 2ul, 3ul, 4ul>(std::piecewise_construct_t, std::tuple&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&, std::__tuple_indices<0ul>, std::__tuple_indices<0ul, 1ul, 2ul, 3ul, 4ul>) @ 0x000000001da68eae in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__utility/pair.h:259: std::pair::pair[abi:v15000] const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>(std::piecewise_construct_t, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>) @ 0x000000001da68de1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::pair* std::construct_at[abi:v15000], std::piecewise_construct_t const&, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>, std::pair*>(std::pair*, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da68da7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, void*>>>::construct[abi:v15000], std::piecewise_construct_t const&, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>, void, void>(std::allocator, void*>>&, std::pair*, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da68b71 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__tree:2133: std::unique_ptr, void*>, std::__tree_node_destructor, void*>>>> std::__tree, std::__map_value_compare, std::less, true>, std::allocator>>::__construct_node, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>>(std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da68849 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__tree:2096: std::pair, std::__tree_node, void*>*, long>, bool> std::__tree, std::__map_value_compare, std::less, true>, std::allocator>>::__emplace_unique_key_args, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>>(String const&, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da684ce in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/map:1281: std::pair, std::__tree_node, void*>*, long>>, bool> std::map, std::allocator>>::try_emplace[abi:v15000] const&, String const&, unsigned long, std::shared_ptr, unsigned long const&>(String const&, std::shared_ptr const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&) @ 0x000000001da67fcf in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:455: DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001da5885b in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001da584dd in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001da5849d in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001da5845d in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001da58425 in /usr/bin/clickhouse 2024.09.24 01:22:40.786360 [ 22256 ] {42f1ce67-4e71-4dc9-9243-06943d7ee556} FileChecker: Will truncate file store/472/472e01f8-7b3f-450d-a00c-6fc1eab17cd4/x.bin that has size 4001641 to size 0 2024.09.24 01:22:40.787772 [ 22256 ] {42f1ce67-4e71-4dc9-9243-06943d7ee556} FileChecker: Will truncate file store/472/472e01f8-7b3f-450d-a00c-6fc1eab17cd4/y.bin that has size 4001641 to size 0 2024.09.24 01:22:40.789942 [ 22256 ] {42f1ce67-4e71-4dc9-9243-06943d7ee556} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 16.67 MiB (attempt to allocate chunk of 1049487 bytes), maximum: 16.00 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Storages/StorageLog.cpp:326: DB::LogSink::Stream::Stream(std::shared_ptr const&, String const&, unsigned long, std::shared_ptr, unsigned long) @ 0x000000001da69041 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1775: std::pair::pair[abi:v15000] const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&, 0ul, 0ul, 1ul, 2ul, 3ul, 4ul>(std::piecewise_construct_t, std::tuple&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&, std::__tuple_indices<0ul>, std::__tuple_indices<0ul, 1ul, 2ul, 3ul, 4ul>) @ 0x000000001da68eae in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__utility/pair.h:259: std::pair::pair[abi:v15000] const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>(std::piecewise_construct_t, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>) @ 0x000000001da68de1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::pair* std::construct_at[abi:v15000], std::piecewise_construct_t const&, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>, std::pair*>(std::pair*, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da68da7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, void*>>>::construct[abi:v15000], std::piecewise_construct_t const&, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>, void, void>(std::allocator, void*>>&, std::pair*, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da68b71 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__tree:2133: std::unique_ptr, void*>, std::__tree_node_destructor, void*>>>> std::__tree, std::__map_value_compare, std::less, true>, std::allocator>>::__construct_node, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>>(std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da68849 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__tree:2096: std::pair, std::__tree_node, void*>*, long>, bool> std::__tree, std::__map_value_compare, std::less, true>, std::allocator>>::__emplace_unique_key_args, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>>(String const&, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da684ce in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/map:1281: std::pair, std::__tree_node, void*>*, long>>, bool> std::map, std::allocator>>::try_emplace[abi:v15000] const&, String const&, unsigned long, std::shared_ptr, unsigned long const&>(String const&, std::shared_ptr const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&) @ 0x000000001da67fcf in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:455: DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001da5885b in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001da584dd in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001da5849d in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001da5845d in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001da58425 in /usr/bin/clickhouse 2024.09.24 01:22:43.790134 [ 12042 ] {02ff918c-9abd-4085-ac04-87e1923d1802} executeQuery: Code: 69. DB::Exception: The argument 'resolution' (100) of function h3EdgeAngle is out of bounds because the maximum resolution in H3 library is 15: While processing h3EdgeAngle(100). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:44986) (comment: 01273_h3EdgeAngle_range_check.sql) (in query: SELECT h3EdgeAngle(100);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, int&&) @ 0x000000000e4791e8 in /usr/bin/clickhouse 6. /build/src/Functions/h3EdgeAngle.cpp:78: DB::(anonymous namespace)::FunctionH3EdgeAngle::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000eed0c3e in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:22:43.791503 [ 12042 ] {02ff918c-9abd-4085-ac04-87e1923d1802} TCPHandler: Code: 69. DB::Exception: The argument 'resolution' (100) of function h3EdgeAngle is out of bounds because the maximum resolution in H3 library is 15: While processing h3EdgeAngle(100). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, int&&) @ 0x000000000e4791e8 in /usr/bin/clickhouse 6. /build/src/Functions/h3EdgeAngle.cpp:78: DB::(anonymous namespace)::FunctionH3EdgeAngle::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000eed0c3e in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:22:47.288600 [ 6138 ] {2891e899-7665-4b68-a82f-1b21ee436a35} executeQuery: Code: 377. DB::Exception: Can't use [NOT] NULL modifier with Nullable type. (ILLEGAL_SYNTAX_FOR_DATA_TYPE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:45032) (comment: 01269_create_with_null.sql) (in query: CREATE TABLE data_null_error ( a Nullable(INT) NULL, b INT NOT NULL, c Nullable(INT) ) engine=Memory();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [49]) @ 0x000000000c4c41fe in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:511: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e7b79 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e9748 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f0864 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:22:47.289341 [ 6138 ] {2891e899-7665-4b68-a82f-1b21ee436a35} TCPHandler: Code: 377. DB::Exception: Can't use [NOT] NULL modifier with Nullable type. (ILLEGAL_SYNTAX_FOR_DATA_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [49]) @ 0x000000000c4c41fe in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:511: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e7b79 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e9748 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f0864 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:22:47.297420 [ 6138 ] {45b7270e-fd74-474f-b1ec-a6f4ff20976d} executeQuery: Code: 377. DB::Exception: Can't use [NOT] NULL modifier with Nullable type. (ILLEGAL_SYNTAX_FOR_DATA_TYPE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:45032) (comment: 01269_create_with_null.sql) (in query: CREATE TABLE data_null_error ( a INT NULL, b Nullable(INT) NOT NULL, c Nullable(INT) ) engine=Memory();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [49]) @ 0x000000000c4c41fe in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:511: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e7b79 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e9748 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f0864 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:22:47.298198 [ 6138 ] {45b7270e-fd74-474f-b1ec-a6f4ff20976d} TCPHandler: Code: 377. DB::Exception: Can't use [NOT] NULL modifier with Nullable type. (ILLEGAL_SYNTAX_FOR_DATA_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [49]) @ 0x000000000c4c41fe in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:511: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e7b79 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e9748 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f0864 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:22:47.518943 [ 6138 ] {b6582c18-ea35-45ad-b8a7-8ee385c96f6f} executeQuery: Code: 43. DB::Exception: Nested type Array(UInt8) cannot be inside Nullable type. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:45032) (comment: 01269_create_with_null.sql) (in query: CREATE TABLE cannot_be_nullable (n Int8, a Array(UInt8)) ENGINE=Memory;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeNullable.cpp:28: DB::DataTypeNullable::DataTypeNullable(std::shared_ptr const&) @ 0x000000001b9962ac in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeNullable* std::construct_at[abi:v15000] const&, DB::DataTypeNullable*>(DB::DataTypeNullable*, std::shared_ptr const&) @ 0x0000000017af4ee6 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, void, void>(std::allocator&, DB::DataTypeNullable*, std::shared_ptr const&) @ 0x0000000017af4e61 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&>(std::allocator, std::shared_ptr const&) @ 0x0000000017af4de7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr const&, void>(std::allocator const&, std::shared_ptr const&) @ 0x0000000017af4d17 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, void>(std::shared_ptr const&) @ 0x0000000017af4cc6 in /usr/bin/clickhouse 12. /build/src/DataTypes/DataTypeNullable.cpp:86: DB::makeNullable(std::shared_ptr const&) @ 0x000000001b99698e in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterCreateQuery.cpp:517: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e7c4b in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e9748 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f0864 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:22:47.519822 [ 6138 ] {b6582c18-ea35-45ad-b8a7-8ee385c96f6f} TCPHandler: Code: 43. DB::Exception: Nested type Array(UInt8) cannot be inside Nullable type. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeNullable.cpp:28: DB::DataTypeNullable::DataTypeNullable(std::shared_ptr const&) @ 0x000000001b9962ac in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeNullable* std::construct_at[abi:v15000] const&, DB::DataTypeNullable*>(DB::DataTypeNullable*, std::shared_ptr const&) @ 0x0000000017af4ee6 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, void, void>(std::allocator&, DB::DataTypeNullable*, std::shared_ptr const&) @ 0x0000000017af4e61 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&>(std::allocator, std::shared_ptr const&) @ 0x0000000017af4de7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr const&, void>(std::allocator const&, std::shared_ptr const&) @ 0x0000000017af4d17 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, void>(std::shared_ptr const&) @ 0x0000000017af4cc6 in /usr/bin/clickhouse 12. /build/src/DataTypes/DataTypeNullable.cpp:86: DB::makeNullable(std::shared_ptr const&) @ 0x000000001b99698e in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterCreateQuery.cpp:517: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e7c4b in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e9748 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f0864 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:22:56.150265 [ 8850 ] {7d5ee3a6-f1fd-4681-93ec-672383b7e6c9} executeQuery: Code: 36. DB::Exception: Cannot rename column from nested struct to normal column and vice versa. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:33352) (comment: 01213_alter_rename_nested.sql) (in query: ALTER TABLE table_for_rename_nested RENAME COLUMN n.renamed_x TO not_nested_x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [72]) @ 0x000000000d91ce5e in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1334: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d5915d6 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:22:56.150936 [ 8850 ] {7d5ee3a6-f1fd-4681-93ec-672383b7e6c9} TCPHandler: Code: 36. DB::Exception: Cannot rename column from nested struct to normal column and vice versa. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [72]) @ 0x000000000d91ce5e in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1334: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d5915d6 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:22:56.258158 [ 8850 ] {48d41701-0ce5-4c8f-9e1c-3daf8c28fb4f} executeQuery: Code: 48. DB::Exception: Cannot rename whole Nested struct. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:33352) (comment: 01213_alter_rename_nested.sql) (in query: -- Currently not implemented ALTER TABLE table_for_rename_nested RENAME COLUMN n TO renamed_n;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [34]) @ 0x000000000b91eede in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1288: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d590c66 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:22:56.258885 [ 8850 ] {48d41701-0ce5-4c8f-9e1c-3daf8c28fb4f} TCPHandler: Code: 48. DB::Exception: Cannot rename whole Nested struct. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [34]) @ 0x000000000b91eede in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1288: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d590c66 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:22:58.629601 [ 22256 ] {22cc6c7e-aa9b-4856-aa58-3c8697a04d46} executeQuery: Code: 36. DB::Exception: Cannot rename column from nested struct to normal column and vice versa. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:33388) (comment: 01213_alter_table_rename_nested.sql) (in query: ALTER TABLE table_for_rename_nested RENAME COLUMN n.renamed_x TO not_nested_x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [72]) @ 0x000000000d91ce5e in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1334: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d5915d6 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:22:58.630395 [ 22256 ] {22cc6c7e-aa9b-4856-aa58-3c8697a04d46} TCPHandler: Code: 36. DB::Exception: Cannot rename column from nested struct to normal column and vice versa. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [72]) @ 0x000000000d91ce5e in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1334: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d5915d6 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:22:58.750341 [ 22256 ] {48388356-e97c-489e-8cf5-d3243b07d306} executeQuery: Code: 36. DB::Exception: Cannot rename column from one nested name to another. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:33388) (comment: 01213_alter_table_rename_nested.sql) (in query: ALTER TABLE table_for_rename_nested RENAME COLUMN n.renamed_x TO q.renamed_x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [53]) @ 0x000000000e483a9e in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1324: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d591459 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:22:58.751045 [ 22256 ] {48388356-e97c-489e-8cf5-d3243b07d306} TCPHandler: Code: 36. DB::Exception: Cannot rename column from one nested name to another. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [53]) @ 0x000000000e483a9e in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1324: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d591459 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:22:58.760881 [ 22256 ] {041e9443-7f32-4dec-8bc2-29ac0e886aff} executeQuery: Code: 36. DB::Exception: Cannot rename column from nested struct to normal column and vice versa. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:33388) (comment: 01213_alter_table_rename_nested.sql) (in query: ALTER TABLE table_for_rename_nested RENAME COLUMN value1 TO q.renamed_x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [72]) @ 0x000000000d91ce5e in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1334: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d5915d6 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:22:58.761706 [ 22256 ] {041e9443-7f32-4dec-8bc2-29ac0e886aff} TCPHandler: Code: 36. DB::Exception: Cannot rename column from nested struct to normal column and vice versa. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [72]) @ 0x000000000d91ce5e in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1334: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d5915d6 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:22:58.771118 [ 22256 ] {cdff9148-9f94-4799-9ce0-c5814239e393} executeQuery: Code: 48. DB::Exception: Cannot rename whole Nested struct. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:33388) (comment: 01213_alter_table_rename_nested.sql) (in query: -- Currently not implemented ALTER TABLE table_for_rename_nested RENAME COLUMN n TO renamed_n;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [34]) @ 0x000000000b91eede in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1288: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d590c66 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:22:58.772016 [ 22256 ] {cdff9148-9f94-4799-9ce0-c5814239e393} TCPHandler: Code: 48. DB::Exception: Cannot rename whole Nested struct. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [34]) @ 0x000000000b91eede in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1288: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d590c66 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:07.079442 [ 5572 ] {} TCPHandler: Code: 164. DB::Exception: Cannot modify 'send_logs_level' setting in readonly mode. (READONLY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b200fea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b200f95 in /usr/bin/clickhouse 6. /build/src/Access/SettingsConstraints.cpp:307: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x000000001b2066dc in /usr/bin/clickhouse 7. /build/src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x000000001b20602d in /usr/bin/clickhouse 8. /build/src/Access/SettingsConstraints.cpp:197: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges&, DB::SettingSource) const::$_0::operator()(DB::SettingChange&) const @ 0x000000001b209a4d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__algorithm/find_if.h:25: std::__wrap_iter std::find_if[abi:v15000], DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges&, DB::SettingSource) const::$_0&>(std::__wrap_iter, std::__wrap_iter, DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges&, DB::SettingSource) const::$_0&) @ 0x000000001b2099cb in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__algorithm/remove_if.h:26: std::__wrap_iter std::remove_if, DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges&, DB::SettingSource) const::$_0>(std::__wrap_iter, std::__wrap_iter, DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges&, DB::SettingSource) const::$_0) @ 0x000000001b2098b5 in /usr/bin/clickhouse 11. /build/contrib/boost/boost/range/algorithm_ext/erase.hpp:50: DB::SettingsChanges& boost::range::remove_erase_if(DB::SettingsChanges&, DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges&, DB::SettingSource) const::$_0) @ 0x000000001b206261 in /usr/bin/clickhouse 12. /build/src/Access/SettingsConstraints.cpp:199: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges&, DB::SettingSource) const @ 0x000000001b2061d5 in /usr/bin/clickhouse 13. /build/src/Interpreters/Context.cpp:1904: DB::Context::checkSettingsConstraints(DB::SettingsChanges&, DB::SettingSource) const @ 0x000000001bdcb8eb in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:1704: DB::TCPHandler::receiveQuery() @ 0x000000001e653613 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:1445: DB::TCPHandler::receivePacket() @ 0x000000001e64ac28 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:348: DB::TCPHandler::runImpl() @ 0x000000001e642e21 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:07.999974 [ 5572 ] {} DynamicQueryHandler: Code: 164. DB::Exception: Cannot modify 'readonly' setting in readonly mode: , while trying to set settings profile readonly: in attempt to set the value of setting 'profile' to 'readonly'. (READONLY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b200fea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b200f95 in /usr/bin/clickhouse 6. /build/src/Access/SettingsConstraints.cpp:307: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x000000001b2066dc in /usr/bin/clickhouse 7. /build/src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x000000001b20602d in /usr/bin/clickhouse 8. /build/src/Access/SettingsConstraints.cpp:183: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingChange const&, DB::SettingSource) const @ 0x000000001b205aee in /usr/bin/clickhouse 9. /build/src/Access/SettingsConstraints.cpp:187: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x000000001b20615c in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x000000001bdc5f2b in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1304: DB::Context::setCurrentProfiles(DB::SettingsProfilesInfo const&, bool) @ 0x000000001bdc46a4 in /usr/bin/clickhouse 12. /build/src/Interpreters/Context.cpp:1297: DB::Context::setCurrentProfile(StrongTypedef, DB::UUIDTag> const&, bool) @ 0x000000001bdc5e94 in /usr/bin/clickhouse 13. /build/src/Interpreters/Context.cpp:1285: DB::Context::setCurrentProfile(String const&, bool) @ 0x000000001bdc5d8b in /usr/bin/clickhouse 14. /build/src/Interpreters/Context.cpp:1854: DB::Context::setSetting(std::basic_string_view>, DB::Field const&) @ 0x000000001bdcb2bd in /usr/bin/clickhouse 15. /build/src/Interpreters/Context.cpp:1866: DB::Context::applySettingChange(DB::SettingChange const&) @ 0x000000001bdcb3e6 in /usr/bin/clickhouse 16. /build/src/Interpreters/Context.cpp:1882: DB::Context::applySettingsChanges(DB::SettingsChanges const&) @ 0x000000001bdc5fd7 in /usr/bin/clickhouse 17. /build/src/Server/HTTPHandler.cpp:769: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c07ca in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 19. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:08.384179 [ 6745 ] {69f488c3-be7e-49e1-b0dd-2ee8d98063e1} executeQuery: Code: 53. DB::Exception: Type mismatch for column n. Column has type String, got type UInt8. (TYPE_MISMATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56344) (comment: 01182_materialized_view_different_structure.sql) (in query: INSERT INTO mv SELECT toString(number + 1000) FROM numbers(1000);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x000000000b5b1368 in /usr/bin/clickhouse 6. /build/src/Storages/StorageInMemoryMetadata.cpp:646: DB::StorageInMemoryMetadata::check(DB::Block const&, bool) const @ 0x000000001d6cb788 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:454: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece1621 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:08.389331 [ 6745 ] {69f488c3-be7e-49e1-b0dd-2ee8d98063e1} TCPHandler: Code: 53. DB::Exception: Type mismatch for column n. Column has type String, got type UInt8. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x000000000b5b1368 in /usr/bin/clickhouse 6. /build/src/Storages/StorageInMemoryMetadata.cpp:646: DB::StorageInMemoryMetadata::check(DB::Block const&, bool) const @ 0x000000001d6cb788 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:454: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece1621 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:08.400612 [ 6745 ] {4990c8c1-f67a-489a-8c02-133a97777dc0} executeQuery: Code: 53. DB::Exception: Type mismatch for column n. Column has type String, got type UInt8. (TYPE_MISMATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56344) (comment: 01182_materialized_view_different_structure.sql) (in query: INSERT INTO mv SELECT arrayJoin(['42', 'test']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x000000000b5b1368 in /usr/bin/clickhouse 6. /build/src/Storages/StorageInMemoryMetadata.cpp:646: DB::StorageInMemoryMetadata::check(DB::Block const&, bool) const @ 0x000000001d6cb788 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:454: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece1621 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:08.401169 [ 6745 ] {4990c8c1-f67a-489a-8c02-133a97777dc0} TCPHandler: Code: 53. DB::Exception: Type mismatch for column n. Column has type String, got type UInt8. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x000000000b5b1368 in /usr/bin/clickhouse 6. /build/src/Storages/StorageInMemoryMetadata.cpp:646: DB::StorageInMemoryMetadata::check(DB::Block const&, bool) const @ 0x000000001d6cb788 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:454: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece1621 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:08.914761 [ 6745 ] {a8a25a65-bd65-49bf-88fb-e5f9be95e4e3} executeQuery: Code: 70. DB::Exception: Conversion from AggregateFunction(max, String) to AggregateFunction(max, Int128) is not supported: While executing Remote. (CANNOT_CONVERT_TYPE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56344) (comment: 01182_materialized_view_different_structure.sql) (in query: SELECT count(), sum(toInt64(n)), max(n), min(n) FROM dist;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3224: DB::FunctionCast::createAggregateFunctionWrapper(std::shared_ptr const&, DB::DataTypeAggregateFunction const*) const @ 0x000000000b1fff4f in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:4192: DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000b1fd5ee in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:3922: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000b1fb87c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:3848: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000b1f686d in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2875: DB::FunctionCast::prepare(std::vector> const&) const @ 0x000000000b1f609c in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1946e0 in /usr/bin/clickhouse 12. /build/src/Interpreters/castColumn.cpp:35: COW::immutable_ptr DB::castColumn<(DB::CastType)0>(DB::ColumnWithTypeAndName const&, std::shared_ptr const&) @ 0x000000001d0515a3 in /usr/bin/clickhouse 13. /build/src/Interpreters/castColumn.cpp:41: DB::castColumn(DB::ColumnWithTypeAndName const&, std::shared_ptr const&) @ 0x000000001d051188 in /usr/bin/clickhouse 14. /build/src/QueryPipeline/RemoteQueryExecutor.cpp:215: DB::adaptBlockStructure(DB::Block const&, DB::Block const&) @ 0x000000001b87ff12 in /usr/bin/clickhouse 15. /build/src/QueryPipeline/RemoteQueryExecutor.cpp:464: DB::RemoteQueryExecutor::processPacket(DB::Packet) @ 0x000000001b87dc73 in /usr/bin/clickhouse 16. /build/src/QueryPipeline/RemoteQueryExecutor.cpp:390: DB::RemoteQueryExecutor::readAsync() @ 0x000000001b87f05f in /usr/bin/clickhouse 17. /build/src/Processors/Sources/RemoteSource.cpp:121: DB::RemoteSource::tryGenerate() @ 0x000000001ed19328 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:23:09.011169 [ 2329 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:60638). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000013cee00c in /usr/bin/clickhouse 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000013ced280 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2189bc in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:105: DB::TCPHandler::runImpl() @ 0x000000001e6425a1 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:09.011207 [ 6745 ] {a8a25a65-bd65-49bf-88fb-e5f9be95e4e3} TCPHandler: Code: 70. DB::Exception: Conversion from AggregateFunction(max, String) to AggregateFunction(max, Int128) is not supported: While executing Remote. (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3224: DB::FunctionCast::createAggregateFunctionWrapper(std::shared_ptr const&, DB::DataTypeAggregateFunction const*) const @ 0x000000000b1fff4f in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:4192: DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000b1fd5ee in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:3922: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000b1fb87c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:3848: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000b1f686d in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2875: DB::FunctionCast::prepare(std::vector> const&) const @ 0x000000000b1f609c in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1946e0 in /usr/bin/clickhouse 12. /build/src/Interpreters/castColumn.cpp:35: COW::immutable_ptr DB::castColumn<(DB::CastType)0>(DB::ColumnWithTypeAndName const&, std::shared_ptr const&) @ 0x000000001d0515a3 in /usr/bin/clickhouse 13. /build/src/Interpreters/castColumn.cpp:41: DB::castColumn(DB::ColumnWithTypeAndName const&, std::shared_ptr const&) @ 0x000000001d051188 in /usr/bin/clickhouse 14. /build/src/QueryPipeline/RemoteQueryExecutor.cpp:215: DB::adaptBlockStructure(DB::Block const&, DB::Block const&) @ 0x000000001b87ff12 in /usr/bin/clickhouse 15. /build/src/QueryPipeline/RemoteQueryExecutor.cpp:464: DB::RemoteQueryExecutor::processPacket(DB::Packet) @ 0x000000001b87dc73 in /usr/bin/clickhouse 16. /build/src/QueryPipeline/RemoteQueryExecutor.cpp:390: DB::RemoteQueryExecutor::readAsync() @ 0x000000001b87f05f in /usr/bin/clickhouse 17. /build/src/Processors/Sources/RemoteSource.cpp:121: DB::RemoteSource::tryGenerate() @ 0x000000001ed19328 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:23:09.011940 [ 671 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:44616). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000013cee00c in /usr/bin/clickhouse 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000013ced280 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2189bc in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:105: DB::TCPHandler::runImpl() @ 0x000000001e6425a1 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:09.239102 [ 8836 ] {5ba2d8d1-ef77-4654-96ca-9af4cbaabbcb} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.03 MiB (attempt to allocate chunk of 1085119 bytes), maximum: 8.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56376) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:175: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ee3c in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ecb4 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ea71 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7e777 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7e5ea in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da793d6 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:403: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da74f5d in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 2024.09.24 01:23:09.240156 [ 8836 ] {5ba2d8d1-ef77-4654-96ca-9af4cbaabbcb} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.03 MiB (attempt to allocate chunk of 1085119 bytes), maximum: 8.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:175: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ee3c in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ecb4 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ea71 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7e777 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7e5ea in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da793d6 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:403: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da74f5d in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 2024.09.24 01:23:10.134987 [ 22255 ] {046209b0-c06c-4f4a-ba07-70158ddeef94} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 10.00046803 seconds, maximum: 10. (TIMEOUT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:51948) (comment: 01249_flush_interactive.sh) (in query: SELECT DISTINCT number % 5 FROM system.numbers), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b87a98c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b879dd3 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x000000001b879ce8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x000000001ccaa2b9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6d0a80 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6d115c in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d09f6 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ce1c8 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b3ee0 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:10.136676 [ 22255 ] {046209b0-c06c-4f4a-ba07-70158ddeef94} DynamicQueryHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 10.00046803 seconds, maximum: 10. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b87a98c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b879dd3 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x000000001b879ce8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x000000001ccaa2b9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6d0a80 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6d115c in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d09f6 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ce1c8 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b3ee0 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:10.138110 [ 22255 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(String const&, int) @ 0x00000000249623a7 in /usr/bin/clickhouse 4. /build/base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x00000000249664e7 in /usr/bin/clickhouse 5. /build/base/poco/Net/src/SocketImpl.cpp:1008: Poco::Net::SocketImpl::error(int, String const&) @ 0x000000002477d04d in /usr/bin/clickhouse 6. /build/base/poco/Net/src/SocketImpl.cpp:927: Poco::Net::SocketImpl::error(int) @ 0x000000002477d6e4 in /usr/bin/clickhouse 7. /build/base/poco/Net/src/SocketImpl.cpp:0: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x000000002477e2d2 in /usr/bin/clickhouse 8. /build/base/poco/Net/src/StreamSocketImpl.cpp:63: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x0000000024785f7e in /usr/bin/clickhouse 9. /build/base/poco/Net/src/StreamSocket.cpp:114: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x0000000024781dd2 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/HTTPSession.cpp:144: Poco::Net::HTTPSession::write(char const*, long) @ 0x000000002475c84e in /usr/bin/clickhouse 11. /build/base/poco/Net/src/HTTPChunkedStream.cpp:57: Poco::Net::HTTPChunkedStreamBuf::close() @ 0x00000000247463cd in /usr/bin/clickhouse 12. /build/base/poco/Net/src/HTTPChunkedStream.cpp:166: Poco::Net::HTTPChunkedIOS::~HTTPChunkedIOS() @ 0x0000000024746d9a in /usr/bin/clickhouse 13. /build/base/poco/Net/src/HTTPChunkedStream.cpp:208: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x0000000024747481 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/HTTPChunkedStream.cpp:207: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x00000000247474c0 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:64: void std::__destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x000000001e66aa4d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:89: void std::destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x000000001e66a9f5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:321: void std::allocator_traits>::destroy[abi:v15000](std::allocator&, Poco::Net::HTTPChunkedOutputStream*) @ 0x000000001e66a9d9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:309: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x000000001e66a84e in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:175: std::__shared_count::__release_shared[abi:v15000]() @ 0x000000000b193a54 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:215: std::__shared_weak_count::__release_shared[abi:v15000]() @ 0x000000000b1939f9 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:703: std::shared_ptr>>::~shared_ptr[abi:v15000]() @ 0x000000001e5cd5ac in /usr/bin/clickhouse 22. /build/src/Server/HTTP/HTTPServerResponse.h:16: DB::HTTPServerResponse::~HTTPServerResponse() @ 0x000000001e664d3b in /usr/bin/clickhouse 23. /build/src/Server/HTTP/HTTPServerConnection.cpp:88: DB::HTTPServerConnection::run() @ 0x000000001e664878 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:10.291899 [ 8836 ] {mysql:0:b5e27db8-5f6a-4384-b3ea-b7433c8dda5c} executeQuery: Code: 60. DB::Exception: Table system.table_that_does_not_exist does not exist. (UNKNOWN_TABLE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:43534) (in query: select * from table_that_does_not_exist), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53612 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc20756 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 19. /build/src/Server/MySQLHandler.cpp:367: DB::MySQLHandler::comQuery(DB::ReadBuffer&) @ 0x000000001e60f739 in /usr/bin/clickhouse 20. /build/src/Server/MySQLHandler.cpp:176: DB::MySQLHandler::run() @ 0x000000001e60ca85 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:10.293034 [ 8836 ] {} MySQLHandler: MySQLHandler: Cannot read packet: : Code: 60. DB::Exception: Table system.table_that_does_not_exist does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53612 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc20756 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 19. /build/src/Server/MySQLHandler.cpp:367: DB::MySQLHandler::comQuery(DB::ReadBuffer&) @ 0x000000001e60f739 in /usr/bin/clickhouse 20. /build/src/Server/MySQLHandler.cpp:176: DB::MySQLHandler::run() @ 0x000000001e60ca85 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:10.452392 [ 8836 ] {mysql:0:23dc3ecc-3f5e-4fce-86db-15265103e928} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(number :: 0) -> throwIf(number) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:43534) (in query: select throwIf(number) from numbers(2) settings max_block_size=1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000012603da3 in /usr/bin/clickhouse 7. /build/src/Functions/throwIf.cpp:107: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012602316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ce1c8 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b3ee0 in /usr/bin/clickhouse 25. /build/src/Server/MySQLHandler.cpp:367: DB::MySQLHandler::comQuery(DB::ReadBuffer&) @ 0x000000001e60f739 in /usr/bin/clickhouse 26. /build/src/Server/MySQLHandler.cpp:176: DB::MySQLHandler::run() @ 0x000000001e60ca85 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:23:10.453975 [ 8836 ] {} MySQLHandler: MySQLHandler: Cannot read packet: : Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(number :: 0) -> throwIf(number) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000012603da3 in /usr/bin/clickhouse 7. /build/src/Functions/throwIf.cpp:107: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012602316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ce1c8 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b3ee0 in /usr/bin/clickhouse 25. /build/src/Server/MySQLHandler.cpp:367: DB::MySQLHandler::comQuery(DB::ReadBuffer&) @ 0x000000001e60f739 in /usr/bin/clickhouse 26. /build/src/Server/MySQLHandler.cpp:176: DB::MySQLHandler::run() @ 0x000000001e60ca85 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:10.575402 [ 8836 ] {mysql:0:15f0dc11-83ef-41f6-9580-8130218a9560} executeQuery: Code: 1. DB::Exception: MySQL protocol does not support custom output formats. (UNSUPPORTED_METHOD) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:43534) (in query: select * from system.one format TSV), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [54]) @ 0x000000001150b0de in /usr/bin/clickhouse 6. /build/src/Server/MySQLHandler.cpp:361: DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_1::operator()(DB::QueryResultDetails const&) const @ 0x000000001e6119a4 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_1&, DB::QueryResultDetails const&) @ 0x000000001e6118fd in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_1&, DB::QueryResultDetails const&) @ 0x000000001e6118bd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::QueryResultDetails const&) @ 0x000000001e61187d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::QueryResultDetails const&) @ 0x000000001e611845 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::QueryResultDetails const&) const @ 0x000000001d0c025e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::QueryResultDetails const&) const @ 0x000000001d0b9a1d in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1414: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b3e59 in /usr/bin/clickhouse 14. /build/src/Server/MySQLHandler.cpp:367: DB::MySQLHandler::comQuery(DB::ReadBuffer&) @ 0x000000001e60f739 in /usr/bin/clickhouse 15. /build/src/Server/MySQLHandler.cpp:176: DB::MySQLHandler::run() @ 0x000000001e60ca85 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 21. ? @ 0x00007f1d281b3ac3 in ? 22. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:10.577077 [ 8836 ] {} MySQLHandler: MySQLHandler: Cannot read packet: : Code: 1. DB::Exception: MySQL protocol does not support custom output formats. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [54]) @ 0x000000001150b0de in /usr/bin/clickhouse 6. /build/src/Server/MySQLHandler.cpp:361: DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_1::operator()(DB::QueryResultDetails const&) const @ 0x000000001e6119a4 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_1&, DB::QueryResultDetails const&) @ 0x000000001e6118fd in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_1&, DB::QueryResultDetails const&) @ 0x000000001e6118bd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::QueryResultDetails const&) @ 0x000000001e61187d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::QueryResultDetails const&) @ 0x000000001e611845 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::QueryResultDetails const&) const @ 0x000000001d0c025e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::QueryResultDetails const&) const @ 0x000000001d0b9a1d in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1414: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b3e59 in /usr/bin/clickhouse 14. /build/src/Server/MySQLHandler.cpp:367: DB::MySQLHandler::comQuery(DB::ReadBuffer&) @ 0x000000001e60f739 in /usr/bin/clickhouse 15. /build/src/Server/MySQLHandler.cpp:176: DB::MySQLHandler::run() @ 0x000000001e60ca85 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 21. ? @ 0x00007f1d281b3ac3 in ? 22. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:10.584007 [ 8836 ] {mysql:0:6acc23bb-8f3c-4c4a-b091-fccb48bf166a} executeQuery: Code: 1. DB::Exception: MySQL protocol does not support custom output formats. (UNSUPPORTED_METHOD) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:43534) (in query: select * from system.one format JSON), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [54]) @ 0x000000001150b0de in /usr/bin/clickhouse 6. /build/src/Server/MySQLHandler.cpp:361: DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_1::operator()(DB::QueryResultDetails const&) const @ 0x000000001e6119a4 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_1&, DB::QueryResultDetails const&) @ 0x000000001e6118fd in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_1&, DB::QueryResultDetails const&) @ 0x000000001e6118bd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::QueryResultDetails const&) @ 0x000000001e61187d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::QueryResultDetails const&) @ 0x000000001e611845 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::QueryResultDetails const&) const @ 0x000000001d0c025e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::QueryResultDetails const&) const @ 0x000000001d0b9a1d in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1414: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b3e59 in /usr/bin/clickhouse 14. /build/src/Server/MySQLHandler.cpp:367: DB::MySQLHandler::comQuery(DB::ReadBuffer&) @ 0x000000001e60f739 in /usr/bin/clickhouse 15. /build/src/Server/MySQLHandler.cpp:176: DB::MySQLHandler::run() @ 0x000000001e60ca85 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 21. ? @ 0x00007f1d281b3ac3 in ? 22. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:10.585274 [ 8836 ] {} MySQLHandler: MySQLHandler: Cannot read packet: : Code: 1. DB::Exception: MySQL protocol does not support custom output formats. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [54]) @ 0x000000001150b0de in /usr/bin/clickhouse 6. /build/src/Server/MySQLHandler.cpp:361: DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_1::operator()(DB::QueryResultDetails const&) const @ 0x000000001e6119a4 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_1&, DB::QueryResultDetails const&) @ 0x000000001e6118fd in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_1&, DB::QueryResultDetails const&) @ 0x000000001e6118bd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::QueryResultDetails const&) @ 0x000000001e61187d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::QueryResultDetails const&) @ 0x000000001e611845 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::QueryResultDetails const&) const @ 0x000000001d0c025e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::QueryResultDetails const&) const @ 0x000000001d0b9a1d in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1414: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b3e59 in /usr/bin/clickhouse 14. /build/src/Server/MySQLHandler.cpp:367: DB::MySQLHandler::comQuery(DB::ReadBuffer&) @ 0x000000001e60f739 in /usr/bin/clickhouse 15. /build/src/Server/MySQLHandler.cpp:176: DB::MySQLHandler::run() @ 0x000000001e60ca85 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 21. ? @ 0x00007f1d281b3ac3 in ? 22. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:13.130825 [ 22250 ] {0552ef8d-65f7-4ba7-9e8f-eaec30f07b82} executeQuery: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:55742) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t1 ANY RIGHT JOIN t0 USING (x) ORDER BY x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001bfd0c13 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1012: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb41ad in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfb1106 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfb039c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba7bd in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:13.131740 [ 22250 ] {0552ef8d-65f7-4ba7-9e8f-eaec30f07b82} TCPHandler: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001bfd0c13 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1012: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb41ad in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfb1106 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfb039c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba7bd in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:13.294651 [ 22250 ] {99096ca4-8a8d-4645-8fe2-dc6447895b1f} executeQuery: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:55742) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t1 ANY FULL JOIN t0 USING (x) ORDER BY x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [35]) @ 0x000000000b204c1e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:548: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x000000001cfa0f64 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d8f0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:13.295784 [ 22250 ] {99096ca4-8a8d-4645-8fe2-dc6447895b1f} TCPHandler: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [35]) @ 0x000000000b204c1e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:548: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x000000001cfa0f64 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d8f0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:13.298104 [ 22254 ] {f4c7f001-ff5b-4258-8d4d-18894f7059b0} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.03 MiB (attempt to allocate chunk of 1085103 bytes), maximum: 16.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:55764) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:175: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ee3c in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ecb4 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ea71 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7e777 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7e5ea in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da793d6 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:403: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da74f5d in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 2024.09.24 01:23:13.299423 [ 22254 ] {f4c7f001-ff5b-4258-8d4d-18894f7059b0} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.03 MiB (attempt to allocate chunk of 1085103 bytes), maximum: 16.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:175: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ee3c in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ecb4 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ea71 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7e777 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7e5ea in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da793d6 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:403: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da74f5d in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 2024.09.24 01:23:13.428846 [ 22250 ] {d3dd3fab-4602-46f6-aa80-f1574dc020f4} executeQuery: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:55742) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t1 ANY RIGHT JOIN t0 ON t1.x = t0.x ORDER BY x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001bfd0c13 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1012: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb41ad in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfb1106 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfb039c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba7bd in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:13.430046 [ 22250 ] {d3dd3fab-4602-46f6-aa80-f1574dc020f4} TCPHandler: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001bfd0c13 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1012: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb41ad in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfb1106 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfb039c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba7bd in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:13.444344 [ 22250 ] {7c801737-12c8-4f81-86a5-f7940d725e9a} executeQuery: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:55742) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t1 ANY FULL JOIN t0 ON t1.x = t0.x ORDER BY x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [35]) @ 0x000000000b204c1e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:548: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x000000001cfa0f64 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d8f0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:13.445465 [ 22250 ] {7c801737-12c8-4f81-86a5-f7940d725e9a} TCPHandler: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [35]) @ 0x000000000b204c1e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:548: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x000000001cfa0f64 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d8f0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:13.587238 [ 22250 ] {46998aa0-5853-4690-9c35-65331f49acf7} executeQuery: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:55742) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t0 ANY RIGHT JOIN t1 USING (x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001bfd0c13 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1012: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb41ad in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfb1106 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfb039c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba7bd in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:13.587972 [ 22250 ] {46998aa0-5853-4690-9c35-65331f49acf7} TCPHandler: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001bfd0c13 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1012: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb41ad in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfb1106 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfb039c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba7bd in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:13.599791 [ 22250 ] {04d7c5b7-76f8-4aaf-adfa-3d2e6756a4c4} executeQuery: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:55742) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t0 ANY FULL JOIN t1 USING (x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [35]) @ 0x000000000b204c1e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:548: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x000000001cfa0f64 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d8f0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:13.600828 [ 22250 ] {04d7c5b7-76f8-4aaf-adfa-3d2e6756a4c4} TCPHandler: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [35]) @ 0x000000000b204c1e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:548: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x000000001cfa0f64 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d8f0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:13.736739 [ 22250 ] {2aa57a6f-8520-49d6-9a73-454efeef3e22} executeQuery: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:55742) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t0 ANY RIGHT JOIN t1 ON t1.x = t0.x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001bfd0c13 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1012: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb41ad in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfb1106 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfb039c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba7bd in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:13.737812 [ 22250 ] {2aa57a6f-8520-49d6-9a73-454efeef3e22} TCPHandler: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001bfd0c13 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1012: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb41ad in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfb1106 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfb039c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba7bd in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:13.751491 [ 22250 ] {d24c1894-d5c5-4edd-9a75-70f52931246b} executeQuery: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:55742) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t0 ANY FULL JOIN t1 ON t1.x = t0.x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [35]) @ 0x000000000b204c1e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:548: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x000000001cfa0f64 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d8f0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:13.752426 [ 22250 ] {d24c1894-d5c5-4edd-9a75-70f52931246b} TCPHandler: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [35]) @ 0x000000000b204c1e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:548: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x000000001cfa0f64 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d8f0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:13.911292 [ 22250 ] {153f7104-5b98-445e-95a7-c83fd0442f95} executeQuery: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:55742) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t1 ANY RIGHT JOIN t0 USING (x) ORDER BY x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001bfd0c13 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1012: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb41ad in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfb1106 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfb039c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba7bd in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:13.912266 [ 22250 ] {153f7104-5b98-445e-95a7-c83fd0442f95} TCPHandler: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001bfd0c13 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1012: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb41ad in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfb1106 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfb039c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba7bd in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:13.926500 [ 22250 ] {464addc5-1bc7-4fa0-a640-ba39a134da8c} executeQuery: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:55742) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t1 ANY FULL JOIN t0 USING (x) ORDER BY x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [35]) @ 0x000000000b204c1e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:548: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x000000001cfa0f64 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d8f0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:13.927510 [ 22250 ] {464addc5-1bc7-4fa0-a640-ba39a134da8c} TCPHandler: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [35]) @ 0x000000000b204c1e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:548: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x000000001cfa0f64 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d8f0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:14.082110 [ 22250 ] {ed3b3467-47b4-49c4-a6a0-9224569eda53} executeQuery: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:55742) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t1 ANY RIGHT JOIN t0 ON t1.x = t0.x ORDER BY x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001bfd0c13 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1012: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb41ad in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfb1106 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfb039c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba7bd in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:14.083050 [ 22250 ] {ed3b3467-47b4-49c4-a6a0-9224569eda53} TCPHandler: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001bfd0c13 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1012: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb41ad in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfb1106 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfb039c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba7bd in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:14.097815 [ 22250 ] {a4a8a879-9986-4526-a600-2f35bf32ae2f} executeQuery: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:55742) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t1 ANY FULL JOIN t0 ON t1.x = t0.x ORDER BY x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [35]) @ 0x000000000b204c1e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:548: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x000000001cfa0f64 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d8f0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:14.098633 [ 22250 ] {a4a8a879-9986-4526-a600-2f35bf32ae2f} TCPHandler: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [35]) @ 0x000000000b204c1e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:548: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x000000001cfa0f64 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d8f0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:14.253216 [ 22250 ] {f5cb4966-a973-4e05-a370-3a88564df437} executeQuery: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:55742) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t0 ANY RIGHT JOIN t1 USING (x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001bfd0c13 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1012: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb41ad in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfb1106 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfb039c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba7bd in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:14.254376 [ 22250 ] {f5cb4966-a973-4e05-a370-3a88564df437} TCPHandler: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001bfd0c13 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1012: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb41ad in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfb1106 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfb039c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba7bd in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:14.267392 [ 22250 ] {86e853c1-e027-4192-af87-1098f84e825a} executeQuery: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:55742) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t0 ANY FULL JOIN t1 USING (x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [35]) @ 0x000000000b204c1e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:548: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x000000001cfa0f64 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d8f0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:14.268597 [ 22250 ] {86e853c1-e027-4192-af87-1098f84e825a} TCPHandler: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [35]) @ 0x000000000b204c1e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:548: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x000000001cfa0f64 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d8f0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:14.411525 [ 22250 ] {2bd040f9-555d-4514-885b-70d32a5e82fa} executeQuery: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:55742) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t0 ANY RIGHT JOIN t1 ON t1.x = t0.x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001bfd0c13 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1012: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb41ad in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfb1106 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfb039c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba7bd in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:14.412546 [ 22250 ] {2bd040f9-555d-4514-885b-70d32a5e82fa} TCPHandler: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001bfd0c13 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1012: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb41ad in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfb1106 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfb039c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba7bd in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:14.425108 [ 22250 ] {7ac7c765-745f-4b9f-99f1-80bb2a60bcef} executeQuery: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:55742) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t0 ANY FULL JOIN t1 ON t1.x = t0.x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [35]) @ 0x000000000b204c1e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:548: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x000000001cfa0f64 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d8f0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:14.426264 [ 22250 ] {7ac7c765-745f-4b9f-99f1-80bb2a60bcef} TCPHandler: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [35]) @ 0x000000000b204c1e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:548: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x000000001cfa0f64 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d8f0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:16.359115 [ 22249 ] {3f064d02-711c-4b44-98bb-4e451c392efb} executeQuery: Code: 169. DB::Exception: ASOF join not supported for type: String. (BAD_TYPE_OF_FIELD) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:55812) (comment: 01139_asof_join_types.sql) (in query: select * from (select 0 as k, 'x' as v) t1 asof join (select 0 as k, 'x' as v) t2 using(k, v);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/RowRefs.cpp:267: DB::SortedLookupVectorBase::getTypeSize(DB::IColumn const&, unsigned long&) @ 0x000000001ccd4204 in /usr/bin/clickhouse 7. /build/src/Interpreters/HashJoin.cpp:288: DB::HashJoin::HashJoin(std::shared_ptr, DB::Block const&, bool, unsigned long) @ 0x000000001c583fec in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::HashJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::HashJoin*>(DB::HashJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfd27e7 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::HashJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfd2589 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x000000001bfd228f in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x000000001bfd2102 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x000000001bfd06ae in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionAnalyzer.cpp:983: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb3b26 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfb1106 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfb039c in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba7bd in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 2024.09.24 01:23:16.360842 [ 22249 ] {3f064d02-711c-4b44-98bb-4e451c392efb} TCPHandler: Code: 169. DB::Exception: ASOF join not supported for type: String. (BAD_TYPE_OF_FIELD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/RowRefs.cpp:267: DB::SortedLookupVectorBase::getTypeSize(DB::IColumn const&, unsigned long&) @ 0x000000001ccd4204 in /usr/bin/clickhouse 7. /build/src/Interpreters/HashJoin.cpp:288: DB::HashJoin::HashJoin(std::shared_ptr, DB::Block const&, bool, unsigned long) @ 0x000000001c583fec in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::HashJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::HashJoin*>(DB::HashJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfd27e7 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::HashJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfd2589 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x000000001bfd228f in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x000000001bfd2102 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x000000001bfd06ae in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionAnalyzer.cpp:983: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb3b26 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfb1106 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfb039c in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba7bd in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 2024.09.24 01:23:16.868556 [ 22253 ] {91d93d3f-84e8-4d4f-b893-511d5f8b82d2} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.03 MiB (attempt to allocate chunk of 1085103 bytes), maximum: 32.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:55828) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:175: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ee3c in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ecb4 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ea71 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7e777 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7e5ea in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da793d6 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:403: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da74f5d in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 2024.09.24 01:23:16.869403 [ 22253 ] {91d93d3f-84e8-4d4f-b893-511d5f8b82d2} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.03 MiB (attempt to allocate chunk of 1085103 bytes), maximum: 32.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:175: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ee3c in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ecb4 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ea71 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7e777 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7e5ea in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da793d6 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:403: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da74f5d in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 2024.09.24 01:23:18.408887 [ 22250 ] {30031a0d-df64-44be-a275-f507524121a6} executeQuery: Code: 158. DB::Exception: Limit for rows to GROUP BY exceeded: has 11 rows, maximum: 10: While executing AggregatingTransform. (TOO_MANY_ROWS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:55868) (comment: 01134_max_rows_to_group_by.sql) (in query: SELECT 'test1', number FROM system.numbers GROUP BY number;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long const&) @ 0x000000000c4b2acc in /usr/bin/clickhouse 6. /build/src/Interpreters/Aggregator.cpp:1806: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x000000001c00fbed in /usr/bin/clickhouse 7. /build/src/Interpreters/Aggregator.cpp:1615: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c021353 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 2024.09.24 01:23:18.567442 [ 22249 ] {599dcf2e-5a6e-4ccf-859a-8124150de5cd} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max rows: 100.00, current rows: 16.03 thousand. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:55878) (comment: 01131_max_rows_to_sort.sql) (in query: SELECT * FROM system.numbers ORDER BY number;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x000000001b8a1f28 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x000000001b8a1a4c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001b8a1d99 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/LimitsCheckingTransform.cpp:46: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001ebde95c in /usr/bin/clickhouse 9. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 10. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 2024.09.24 01:23:18.567452 [ 22250 ] {30031a0d-df64-44be-a275-f507524121a6} TCPHandler: Code: 158. DB::Exception: Limit for rows to GROUP BY exceeded: has 11 rows, maximum: 10: While executing AggregatingTransform. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long const&) @ 0x000000000c4b2acc in /usr/bin/clickhouse 6. /build/src/Interpreters/Aggregator.cpp:1806: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x000000001c00fbed in /usr/bin/clickhouse 7. /build/src/Interpreters/Aggregator.cpp:1615: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c021353 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 2024.09.24 01:23:18.569656 [ 22249 ] {599dcf2e-5a6e-4ccf-859a-8124150de5cd} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max rows: 100.00, current rows: 16.03 thousand. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x000000001b8a1f28 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x000000001b8a1a4c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001b8a1d99 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/LimitsCheckingTransform.cpp:46: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001ebde95c in /usr/bin/clickhouse 9. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 10. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 2024.09.24 01:23:19.199441 [ 22250 ] {b62a893c-5c6f-4397-a4ca-ea68be10f953} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 500.00, current rows: 1.00 thousand: While executing Numbers. (TOO_MANY_ROWS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:55868) (comment: 01134_max_rows_to_group_by.sql) (in query: SELECT 'test4', number FROM numbers(1000) GROUP BY number ORDER BY number;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x000000001b8a1f28 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x000000001b8a1a4c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x000000001b878204 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eced1 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a610e2 in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:23:19.201185 [ 22250 ] {b62a893c-5c6f-4397-a4ca-ea68be10f953} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 500.00, current rows: 1.00 thousand: While executing Numbers. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x000000001b8a1f28 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x000000001b8a1a4c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x000000001b878204 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eced1 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a610e2 in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:23:20.217617 [ 22252 ] {631c9063-57e1-4dfe-9ab5-0915275a81aa} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.03 MiB (attempt to allocate chunk of 1085103 bytes), maximum: 64.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:55900) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:175: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ee3c in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ecb4 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ea71 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7e777 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7e5ea in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da793d6 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:403: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da74f5d in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 2024.09.24 01:23:20.218523 [ 22252 ] {631c9063-57e1-4dfe-9ab5-0915275a81aa} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.03 MiB (attempt to allocate chunk of 1085103 bytes), maximum: 64.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:175: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ee3c in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ecb4 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ea71 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7e777 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7e5ea in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da793d6 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:403: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da74f5d in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 2024.09.24 01:23:21.659750 [ 22253 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f983e in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:751: DB::IAccessStorage::throwInvalidCredentials() @ 0x000000001b0f9671 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:535: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f939d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f91af in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b183f89 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x000000001b0f90fa in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb30cc in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf9049 in /usr/bin/clickhouse 13. /build/src/Interpreters/Session.cpp:333: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf8529 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:1362: DB::TCPHandler::receiveHello() @ 0x000000001e64a0ff in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:247: DB::TCPHandler::runImpl() @ 0x000000001e640eb6 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:21.660730 [ 22253 ] {} ServerErrorHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb34a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf9049 in /usr/bin/clickhouse 8. /build/src/Interpreters/Session.cpp:333: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf8529 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1362: DB::TCPHandler::receiveHello() @ 0x000000001e64a0ff in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:247: DB::TCPHandler::runImpl() @ 0x000000001e640eb6 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:21.736947 [ 22252 ] {ac1be20a-2ed8-41a9-a7cf-1120cf1506d7} executeQuery: Code: 516. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb34a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf9049 in /usr/bin/clickhouse 8. /build/src/Interpreters/Session.cpp:333: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf8529 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1362: DB::TCPHandler::receiveHello() @ 0x000000001e64a0ff in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:247: DB::TCPHandler::runImpl() @ 0x000000001e640eb6 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? . (AUTHENTICATION_FAILED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:33228) (comment: 01119_session_log.sql) (in query: SELECT * FROM remote('127.0.0.2', system, one, 'default', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b200fea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b200f95 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1364: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x0000000013983722 in /usr/bin/clickhouse 7. /build/src/Client/Connection.cpp:1150: DB::Connection::receiveException() const @ 0x000000001e4c6199 in /usr/bin/clickhouse 8. /build/src/Client/Connection.cpp:375: DB::Connection::receiveHello(Poco::Timespan const&) @ 0x000000001e4c5c01 in /usr/bin/clickhouse 9. /build/src/Client/Connection.cpp:191: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000001e4c46d1 in /usr/bin/clickhouse 10. /build/src/Client/Connection.cpp:0: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000001e4c6533 in /usr/bin/clickhouse 11. /build/src/Client/ConnectionEstablisher.cpp:46: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000001e4f54d9 in /usr/bin/clickhouse 12. /build/src/Client/ConnectionEstablisher.cpp:128: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000001e4f6ea4 in /usr/bin/clickhouse 13. /build/src/Common/AsyncTaskExecutor.cpp:88: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x000000001b89db01 in /usr/bin/clickhouse 14. /build/src/Common/Fiber.h:70: Fiber::RoutineImpl::operator()(boost::context::fiber&&) @ 0x000000001b89da18 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval())) std::__invoke[abi:v15000]&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x000000001b89d9a8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x000000001b89d968 in /usr/bin/clickhouse 17. /build/contrib/boost/boost/context/fiber_fcontext.hpp:157: boost::context::detail::fiber_record>::run(void*) @ 0x000000001b89d89e in /usr/bin/clickhouse 18. /build/contrib/boost/boost/context/fiber_fcontext.hpp:97: void boost::context::detail::fiber_entry>>(boost::context::detail::transfer_t) @ 0x000000001b89d71d in /usr/bin/clickhouse 2024.09.24 01:23:21.737828 [ 22252 ] {ac1be20a-2ed8-41a9-a7cf-1120cf1506d7} TCPHandler: Code: 516. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb34a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf9049 in /usr/bin/clickhouse 8. /build/src/Interpreters/Session.cpp:333: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf8529 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1362: DB::TCPHandler::receiveHello() @ 0x000000001e64a0ff in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:247: DB::TCPHandler::runImpl() @ 0x000000001e640eb6 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b200fea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b200f95 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1364: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x0000000013983722 in /usr/bin/clickhouse 7. /build/src/Client/Connection.cpp:1150: DB::Connection::receiveException() const @ 0x000000001e4c6199 in /usr/bin/clickhouse 8. /build/src/Client/Connection.cpp:375: DB::Connection::receiveHello(Poco::Timespan const&) @ 0x000000001e4c5c01 in /usr/bin/clickhouse 9. /build/src/Client/Connection.cpp:191: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000001e4c46d1 in /usr/bin/clickhouse 10. /build/src/Client/Connection.cpp:0: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000001e4c6533 in /usr/bin/clickhouse 11. /build/src/Client/ConnectionEstablisher.cpp:46: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000001e4f54d9 in /usr/bin/clickhouse 12. /build/src/Client/ConnectionEstablisher.cpp:128: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000001e4f6ea4 in /usr/bin/clickhouse 13. /build/src/Common/AsyncTaskExecutor.cpp:88: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x000000001b89db01 in /usr/bin/clickhouse 14. /build/src/Common/Fiber.h:70: Fiber::RoutineImpl::operator()(boost::context::fiber&&) @ 0x000000001b89da18 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval())) std::__invoke[abi:v15000]&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x000000001b89d9a8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x000000001b89d968 in /usr/bin/clickhouse 17. /build/contrib/boost/boost/context/fiber_fcontext.hpp:157: boost::context::detail::fiber_record>::run(void*) @ 0x000000001b89d89e in /usr/bin/clickhouse 18. /build/contrib/boost/boost/context/fiber_fcontext.hpp:97: void boost::context::detail::fiber_entry>>(boost::context::detail::transfer_t) @ 0x000000001b89d71d in /usr/bin/clickhouse 2024.09.24 01:23:21.747976 [ 22251 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: nonexistsnt_user_1119: Authentication failed: Code: 192. DB::Exception: There is no user `nonexistsnt_user_1119` in local_directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f7bec in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:682: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x000000001b0f62f9 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f93fd in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f91af in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b183f89 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x000000001b0f90fa in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb30cc in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf9049 in /usr/bin/clickhouse 13. /build/src/Interpreters/Session.cpp:333: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf8529 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:1362: DB::TCPHandler::receiveHello() @ 0x000000001e64a0ff in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:247: DB::TCPHandler::runImpl() @ 0x000000001e640eb6 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:21.749207 [ 22251 ] {} ServerErrorHandler: Code: 516. DB::Exception: nonexistsnt_user_1119: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb34a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf9049 in /usr/bin/clickhouse 8. /build/src/Interpreters/Session.cpp:333: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf8529 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1362: DB::TCPHandler::receiveHello() @ 0x000000001e64a0ff in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:247: DB::TCPHandler::runImpl() @ 0x000000001e640eb6 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:21.750417 [ 22252 ] {26f8facf-dfd2-4adf-81c4-b544b9ea7f8d} executeQuery: Code: 516. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: nonexistsnt_user_1119: Authentication failed: password is incorrect, or there is no user with such name.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb34a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf9049 in /usr/bin/clickhouse 8. /build/src/Interpreters/Session.cpp:333: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf8529 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1362: DB::TCPHandler::receiveHello() @ 0x000000001e64a0ff in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:247: DB::TCPHandler::runImpl() @ 0x000000001e640eb6 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? . (AUTHENTICATION_FAILED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:33228) (comment: 01119_session_log.sql) (in query: SELECT * FROM remote('127.0.0.2', system, one, 'nonexistsnt_user_1119', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b200fea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b200f95 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1364: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x0000000013983722 in /usr/bin/clickhouse 7. /build/src/Client/Connection.cpp:1150: DB::Connection::receiveException() const @ 0x000000001e4c6199 in /usr/bin/clickhouse 8. /build/src/Client/Connection.cpp:375: DB::Connection::receiveHello(Poco::Timespan const&) @ 0x000000001e4c5c01 in /usr/bin/clickhouse 9. /build/src/Client/Connection.cpp:191: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000001e4c46d1 in /usr/bin/clickhouse 10. /build/src/Client/Connection.cpp:0: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000001e4c6533 in /usr/bin/clickhouse 11. /build/src/Client/ConnectionEstablisher.cpp:46: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000001e4f54d9 in /usr/bin/clickhouse 12. /build/src/Client/ConnectionEstablisher.cpp:128: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000001e4f6ea4 in /usr/bin/clickhouse 13. /build/src/Common/AsyncTaskExecutor.cpp:88: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x000000001b89db01 in /usr/bin/clickhouse 14. /build/src/Common/Fiber.h:70: Fiber::RoutineImpl::operator()(boost::context::fiber&&) @ 0x000000001b89da18 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval())) std::__invoke[abi:v15000]&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x000000001b89d9a8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x000000001b89d968 in /usr/bin/clickhouse 17. /build/contrib/boost/boost/context/fiber_fcontext.hpp:157: boost::context::detail::fiber_record>::run(void*) @ 0x000000001b89d89e in /usr/bin/clickhouse 18. /build/contrib/boost/boost/context/fiber_fcontext.hpp:97: void boost::context::detail::fiber_entry>>(boost::context::detail::transfer_t) @ 0x000000001b89d71d in /usr/bin/clickhouse 2024.09.24 01:23:21.751124 [ 22252 ] {26f8facf-dfd2-4adf-81c4-b544b9ea7f8d} TCPHandler: Code: 516. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: nonexistsnt_user_1119: Authentication failed: password is incorrect, or there is no user with such name.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb34a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf9049 in /usr/bin/clickhouse 8. /build/src/Interpreters/Session.cpp:333: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf8529 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1362: DB::TCPHandler::receiveHello() @ 0x000000001e64a0ff in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:247: DB::TCPHandler::runImpl() @ 0x000000001e640eb6 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b200fea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b200f95 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1364: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x0000000013983722 in /usr/bin/clickhouse 7. /build/src/Client/Connection.cpp:1150: DB::Connection::receiveException() const @ 0x000000001e4c6199 in /usr/bin/clickhouse 8. /build/src/Client/Connection.cpp:375: DB::Connection::receiveHello(Poco::Timespan const&) @ 0x000000001e4c5c01 in /usr/bin/clickhouse 9. /build/src/Client/Connection.cpp:191: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000001e4c46d1 in /usr/bin/clickhouse 10. /build/src/Client/Connection.cpp:0: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000001e4c6533 in /usr/bin/clickhouse 11. /build/src/Client/ConnectionEstablisher.cpp:46: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000001e4f54d9 in /usr/bin/clickhouse 12. /build/src/Client/ConnectionEstablisher.cpp:128: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000001e4f6ea4 in /usr/bin/clickhouse 13. /build/src/Common/AsyncTaskExecutor.cpp:88: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x000000001b89db01 in /usr/bin/clickhouse 14. /build/src/Common/Fiber.h:70: Fiber::RoutineImpl::operator()(boost::context::fiber&&) @ 0x000000001b89da18 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval())) std::__invoke[abi:v15000]&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x000000001b89d9a8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x000000001b89d968 in /usr/bin/clickhouse 17. /build/contrib/boost/boost/context/fiber_fcontext.hpp:157: boost::context::detail::fiber_record>::run(void*) @ 0x000000001b89d89e in /usr/bin/clickhouse 18. /build/contrib/boost/boost/context/fiber_fcontext.hpp:97: void boost::context::detail::fiber_entry>>(boost::context::detail::transfer_t) @ 0x000000001b89d71d in /usr/bin/clickhouse 2024.09.24 01:23:23.856631 [ 22251 ] {f916661c-9e75-4a47-a130-0c544e73532a} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.03 MiB (attempt to allocate chunk of 1085103 bytes), maximum: 128.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:33358) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:175: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ee3c in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ecb4 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ea71 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7e777 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7e5ea in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da793d6 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:403: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da74f5d in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 2024.09.24 01:23:23.858057 [ 22251 ] {f916661c-9e75-4a47-a130-0c544e73532a} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.03 MiB (attempt to allocate chunk of 1085103 bytes), maximum: 128.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:175: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ee3c in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ecb4 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ea71 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7e777 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7e5ea in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da793d6 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:403: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da74f5d in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 2024.09.24 01:23:27.545101 [ 22251 ] {a1ff8db0-7dbe-4918-856a-693f046d5371} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.03 MiB (attempt to allocate chunk of 1085103 bytes), maximum: 256.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:33434) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:175: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ee3c in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ecb4 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ea71 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7e777 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7e5ea in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da793d6 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:403: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da74f5d in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 2024.09.24 01:23:27.546343 [ 22251 ] {a1ff8db0-7dbe-4918-856a-693f046d5371} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.03 MiB (attempt to allocate chunk of 1085103 bytes), maximum: 256.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:175: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ee3c in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ecb4 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ea71 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7e777 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7e5ea in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da793d6 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:403: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da74f5d in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 2024.09.24 01:23:28.963581 [ 22251 ] {084615ce-7475-4dd1-933d-780c7722ceb1} executeQuery: Code: 352. DB::Exception: Block structure mismatch in (columns with identical name must have identical structure) stream: different values of constants in column '1': actual: 1, expected: 3. (AMBIGUOUS_COLUMN_NAME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:33504) (comment: 01101_literal_column_clash.sql) (in query: with 3 as "1" select 1, "1";), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>&, String const&, String, String>(int, FormatStringHelperImpl>&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, std::basic_string_view>&, String const&, String&&, String&&) @ 0x000000001b3f1104 in /usr/bin/clickhouse 6. /build/src/Core/Block.cpp:38: void DB::onError>&, String const&, String, String>(int, FormatStringHelperImpl>&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, std::basic_string_view>&, String const&, String&&, String&&) @ 0x000000001b3e84d7 in /usr/bin/clickhouse 7. /build/src/Core/Block.cpp:99: void DB::checkColumnStructure(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&, std::basic_string_view>, bool, int) @ 0x000000001b3e318b in /usr/bin/clickhouse 8. /build/src/Core/Block.cpp:0: DB::Block::insert(DB::ColumnWithTypeAndName) @ 0x000000001b3e33f3 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionActions.cpp:445: DB::ExpressionActions::linearizeActions(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001bf81e60 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionActions.cpp:65: DB::ExpressionActions::ExpressionActions(std::shared_ptr, DB::ExpressionActionsSettings const&) @ 0x000000001bf80a77 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::ExpressionActions* std::construct_at[abi:v15000]&, DB::ExpressionActionsSettings const&, DB::ExpressionActions*>(DB::ExpressionActions*, std::shared_ptr&, DB::ExpressionActionsSettings const&) @ 0x000000001e1339df in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::ExpressionActionsSettings const&, void, void>(std::allocator&, DB::ExpressionActions*, std::shared_ptr&, DB::ExpressionActionsSettings const&) @ 0x000000001e133949 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::ExpressionActionsSettings const&>(std::allocator, std::shared_ptr&, DB::ExpressionActionsSettings const&) @ 0x000000001e1338cf in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::ExpressionActionsSettings const&, void>(std::allocator const&, std::shared_ptr&, DB::ExpressionActionsSettings const&) @ 0x000000001e1337e2 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::ExpressionActionsSettings const&, void>(std::shared_ptr&, DB::ExpressionActionsSettings const&) @ 0x000000001e12f26e in /usr/bin/clickhouse 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:39: DB::ExpressionStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee2fdc7 in /usr/bin/clickhouse 17. /build/src/Processors/QueryPlan/ITransformingStep.cpp:41: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee5203c in /usr/bin/clickhouse 18. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee780df in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd8cb in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:28.964583 [ 22251 ] {084615ce-7475-4dd1-933d-780c7722ceb1} TCPHandler: Code: 352. DB::Exception: Block structure mismatch in (columns with identical name must have identical structure) stream: different values of constants in column '1': actual: 1, expected: 3. (AMBIGUOUS_COLUMN_NAME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>&, String const&, String, String>(int, FormatStringHelperImpl>&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, std::basic_string_view>&, String const&, String&&, String&&) @ 0x000000001b3f1104 in /usr/bin/clickhouse 6. /build/src/Core/Block.cpp:38: void DB::onError>&, String const&, String, String>(int, FormatStringHelperImpl>&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, std::basic_string_view>&, String const&, String&&, String&&) @ 0x000000001b3e84d7 in /usr/bin/clickhouse 7. /build/src/Core/Block.cpp:99: void DB::checkColumnStructure(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&, std::basic_string_view>, bool, int) @ 0x000000001b3e318b in /usr/bin/clickhouse 8. /build/src/Core/Block.cpp:0: DB::Block::insert(DB::ColumnWithTypeAndName) @ 0x000000001b3e33f3 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionActions.cpp:445: DB::ExpressionActions::linearizeActions(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001bf81e60 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionActions.cpp:65: DB::ExpressionActions::ExpressionActions(std::shared_ptr, DB::ExpressionActionsSettings const&) @ 0x000000001bf80a77 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::ExpressionActions* std::construct_at[abi:v15000]&, DB::ExpressionActionsSettings const&, DB::ExpressionActions*>(DB::ExpressionActions*, std::shared_ptr&, DB::ExpressionActionsSettings const&) @ 0x000000001e1339df in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::ExpressionActionsSettings const&, void, void>(std::allocator&, DB::ExpressionActions*, std::shared_ptr&, DB::ExpressionActionsSettings const&) @ 0x000000001e133949 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::ExpressionActionsSettings const&>(std::allocator, std::shared_ptr&, DB::ExpressionActionsSettings const&) @ 0x000000001e1338cf in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::ExpressionActionsSettings const&, void>(std::allocator const&, std::shared_ptr&, DB::ExpressionActionsSettings const&) @ 0x000000001e1337e2 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::ExpressionActionsSettings const&, void>(std::shared_ptr&, DB::ExpressionActionsSettings const&) @ 0x000000001e12f26e in /usr/bin/clickhouse 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:39: DB::ExpressionStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee2fdc7 in /usr/bin/clickhouse 17. /build/src/Processors/QueryPlan/ITransformingStep.cpp:41: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee5203c in /usr/bin/clickhouse 18. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee780df in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd8cb in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:29.162958 [ 22251 ] {a1e8ca06-354b-4f91-b786-82f9d3e1eefc} executeQuery: Code: 403. DB::Exception: Cannot get JOIN keys from JOIN ON section: 'b = ignore('UInt8')', found keys: [Left keys: [] Right keys [] Condition columns: '', 'equals(b, ignore('UInt8'))']. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:33504) (comment: 01101_literal_column_clash.sql) (in query: -- other cases with joins and constants select cast(1, 'UInt8') from (select arrayJoin([1, 2]) as a) t1 left join (select 1 as b) t2 on b = ignore('UInt8');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:658: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cfa15fd in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9da52 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:29.163832 [ 22251 ] {a1e8ca06-354b-4f91-b786-82f9d3e1eefc} TCPHandler: Code: 403. DB::Exception: Cannot get JOIN keys from JOIN ON section: 'b = ignore('UInt8')', found keys: [Left keys: [] Right keys [] Condition columns: '', 'equals(b, ignore('UInt8'))']. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:658: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cfa15fd in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9da52 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:29.183300 [ 22251 ] {6e2e85d6-0d40-4b5b-b02c-066498c51aa5} executeQuery: Code: 403. DB::Exception: Cannot get JOIN keys from JOIN ON section: 'b = ignore('UInt8')', found keys: [Left keys: [] Right keys [] Condition columns: '', 'equals(b, ignore('UInt8'))']. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:33504) (comment: 01101_literal_column_clash.sql) (in query: select isConstant('UInt8'), toFixedString('hello', toUInt8(substring('UInt8', 5, 1))) from (select arrayJoin([1, 2]) as a) t1 left join (select 1 as b) t2 on b = ignore('UInt8');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:658: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cfa15fd in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9da52 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:29.184162 [ 22251 ] {6e2e85d6-0d40-4b5b-b02c-066498c51aa5} TCPHandler: Code: 403. DB::Exception: Cannot get JOIN keys from JOIN ON section: 'b = ignore('UInt8')', found keys: [Left keys: [] Right keys [] Condition columns: '', 'equals(b, ignore('UInt8'))']. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:658: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cfa15fd in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9da52 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:30.077931 [ 22256 ] {d461f1ba-83af-4621-9a2b-45f59a407a3b} executeQuery: Code: 253. DB::Exception: Replica 0 of shard 0 of replicated database at /test/01111/01111_create_drop_replicated_db_stress_test_swzlnoc2 already exists. Replica host ID: 'b96667adc7fc:9000:2e3d641f-175d-4d18-84b2-e82e8be6700b', current host ID: 'b96667adc7fc:9000:b47a4335-a611-4a99-88a6-9910532ea2ec'. (REPLICA_ALREADY_EXISTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:33568) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: create database if not exists test_swzlnoc2_repl_01111_13 engine=Replicated('/test/01111/01111_create_drop_replicated_db_stress_test_swzlnoc2', '0', '0')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&, String&, String&) @ 0x000000001bb23f3a in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicated.cpp:346: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x000000001bb06890 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:495: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x000000001bb09063 in /usr/bin/clickhouse 8. /build/src/Databases/TablesLoader.cpp:61: DB::TablesLoader::loadTables() @ 0x000000001c8ad2a2 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:328: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x000000001c7e5fae in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1728: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f939f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:30.254036 [ 12042 ] {6ac78c47-a824-4ae3-b7a0-fcee08cb0475} executeQuery: Code: 36. DB::Exception: Macro 'uuid' and empty arguments of ReplicatedMergeTree are supported only for ON CLUSTER queries with Atomic database engine. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:33580) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: CREATE TABLE test_swzlnoc2.rmt_24300_6410_27085 (`n` int) ENGINE = ReplicatedMergeTree ORDER BY tuple() SETTINGS index_granularity = 52235, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0.19091622531414032, merge_max_block_size = 12915, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 5429212014, index_granularity_bytes = 10480022, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 79073, primary_key_compress_block_size = 24594), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [126]) @ 0x000000000b19c2fe in /usr/bin/clickhouse 6. /build/src/Common/Macros.cpp:101: DB::Macros::expand(String const&, DB::Macros::MacroExpansionInfo&) const @ 0x00000000138f5804 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:353: DB::create(DB::StorageFactory::Arguments const&)::$_2::operator()(DB::ASTLiteral*, DB::ASTLiteral*) const @ 0x000000001e35aff6 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:420: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e357601 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 15. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:30.342463 [ 8850 ] {b74f24ef-7323-46ac-b79e-51d8e2f3c1e9} executeQuery: Code: 36. DB::Exception: SYSTEM SYNC DATABASE REPLICA query is intended to work only with Replicated engine. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:33594) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: system sync database replica test_swzlnoc2), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [83]) @ 0x000000000bc5dcbe in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSystemQuery.cpp:1052: DB::InterpreterSystemQuery::syncReplicatedDatabase(DB::ASTSystemQuery&) @ 0x000000001cbe7956 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:586: DB::InterpreterSystemQuery::execute() @ 0x000000001cbdccc2 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:30.342505 [ 22256 ] {d461f1ba-83af-4621-9a2b-45f59a407a3b} TCPHandler: Code: 253. DB::Exception: Replica 0 of shard 0 of replicated database at /test/01111/01111_create_drop_replicated_db_stress_test_swzlnoc2 already exists. Replica host ID: 'b96667adc7fc:9000:2e3d641f-175d-4d18-84b2-e82e8be6700b', current host ID: 'b96667adc7fc:9000:b47a4335-a611-4a99-88a6-9910532ea2ec'. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&, String&, String&) @ 0x000000001bb23f3a in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicated.cpp:346: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x000000001bb06890 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:495: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x000000001bb09063 in /usr/bin/clickhouse 8. /build/src/Databases/TablesLoader.cpp:61: DB::TablesLoader::loadTables() @ 0x000000001c8ad2a2 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:328: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x000000001c7e5fae in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1728: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f939f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:30.342922 [ 12042 ] {6ac78c47-a824-4ae3-b7a0-fcee08cb0475} TCPHandler: Code: 36. DB::Exception: Macro 'uuid' and empty arguments of ReplicatedMergeTree are supported only for ON CLUSTER queries with Atomic database engine. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [126]) @ 0x000000000b19c2fe in /usr/bin/clickhouse 6. /build/src/Common/Macros.cpp:101: DB::Macros::expand(String const&, DB::Macros::MacroExpansionInfo&) const @ 0x00000000138f5804 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:353: DB::create(DB::StorageFactory::Arguments const&)::$_2::operator()(DB::ASTLiteral*, DB::ASTLiteral*) const @ 0x000000001e35aff6 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:420: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e357601 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 15. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:30.343947 [ 8850 ] {b74f24ef-7323-46ac-b79e-51d8e2f3c1e9} TCPHandler: Code: 36. DB::Exception: SYSTEM SYNC DATABASE REPLICA query is intended to work only with Replicated engine. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [83]) @ 0x000000000bc5dcbe in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSystemQuery.cpp:1052: DB::InterpreterSystemQuery::syncReplicatedDatabase(DB::ASTSystemQuery&) @ 0x000000001cbe7956 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:586: DB::InterpreterSystemQuery::execute() @ 0x000000001cbdccc2 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:31.334756 [ 12007 ] {fe8c9c03-596f-4ad5-8ec7-ee4a99d40026} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.03 MiB (attempt to allocate chunk of 1085103 bytes), maximum: 512.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58228) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:175: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ee3c in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ecb4 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ea71 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7e777 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7e5ea in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da793d6 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:403: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da74f5d in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 2024.09.24 01:23:31.335786 [ 12007 ] {fe8c9c03-596f-4ad5-8ec7-ee4a99d40026} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.03 MiB (attempt to allocate chunk of 1085103 bytes), maximum: 512.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:175: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ee3c in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ecb4 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ea71 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7e777 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7e5ea in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da793d6 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:403: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da74f5d in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 2024.09.24 01:23:31.764408 [ 22252 ] {0ae209b9-d14a-4911-af93-74b69a32bb25} HedgedConnectionsFactory: Connection failed at try â„–1, reason: Timeout exceeded while reading from socket (socket (127.0.0.2:9000), receive timeout 10000 ms) 2024.09.24 01:23:33.491150 [ 8835 ] {339dab67-af65-46c9-8b1f-64cae65dae6b} executeQuery: Code: 47. DB::Exception: Missing columns: 'p_partkey' while processing query: 'SELECT min(ps_supplycost) FROM (SELECT `--.s`.*, n_regionkey, n_nationkey FROM (SELECT ps_suppkey, ps_partkey, ps_supplycost, s_nationkey, s_suppkey FROM partsupp ALL INNER JOIN supplier ON s_suppkey = ps_suppkey) AS `--.s` ALL INNER JOIN nation ON s_nationkey = n_nationkey HAVING (s_nationkey = n_nationkey) AND ((s_suppkey = ps_suppkey) AND (p_partkey = ps_partkey))) AS `--.s` ALL INNER JOIN (SELECT * FROM region HAVING r_name = 'EUROPE') AS region ON n_regionkey = r_regionkey WHERE (p_partkey = ps_partkey) AND (s_suppkey = ps_suppkey) AND (s_nationkey = n_nationkey) AND (n_regionkey = r_regionkey) AND (r_name = 'EUROPE')', required columns: 'n_regionkey' 'r_regionkey' 'p_partkey' 's_suppkey' 'ps_supplycost' 'ps_partkey' 'ps_suppkey' 's_nationkey' 'n_nationkey' 'r_name' 'n_regionkey' 'r_regionkey' 'p_partkey' 's_suppkey' 'ps_supplycost' 'ps_partkey' 'ps_suppkey' 's_nationkey' 'n_nationkey' 'r_name', joined columns: 'r_regionkey' 'r_name' 'r_comment' '_part' '_part_index' '_part_uuid' '_partition_id' '_partition_value' '_sample_factor' '_part_offset' '_row_exists': While processing (SELECT min(ps_supplycost) FROM partsupp, supplier, nation, region WHERE (p_partkey = ps_partkey) AND (s_suppkey = ps_suppkey) AND (s_nationkey = n_nationkey) AND (n_regionkey = r_regionkey) AND (r_name = 'EUROPE')) AS _subquery439: While processing ps_supplycost = ((SELECT min(ps_supplycost) FROM partsupp, supplier, nation, region WHERE (p_partkey = ps_partkey) AND (s_suppkey = ps_suppkey) AND (s_nationkey = n_nationkey) AND (n_regionkey = r_regionkey) AND (r_name = 'EUROPE')) AS _subquery439): While processing (p_partkey = ps_partkey) AND (s_suppkey = ps_suppkey) AND (p_size = 15) AND (p_type LIKE '%BRASS') AND (s_nationkey = n_nationkey) AND (n_regionkey = r_regionkey) AND (r_name = 'EUROPE') AND (ps_supplycost = ((SELECT min(ps_supplycost) FROM partsupp, supplier, nation, region WHERE (p_partkey = ps_partkey) AND (s_suppkey = ps_suppkey) AND (s_nationkey = n_nationkey) AND (n_regionkey = r_regionkey) AND (r_name = 'EUROPE')) AS _subquery439)). (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58264) (comment: 01095_tpch_like_smoke.sql) (in query: select s_acctbal, s_name, n_name, p_partkey, p_mfgr, s_address, s_phone, s_comment from part, supplier, partsupp, nation, region where p_partkey = ps_partkey and s_suppkey = ps_suppkey and p_size = 15 and p_type like '%BRASS' and s_nationkey = n_nationkey and n_regionkey = r_regionkey and r_name = 'EUROPE' and ps_supplycost = ( select min(ps_supplycost) from partsupp, supplier, nation, region where p_partkey = ps_partkey and s_suppkey = ps_suppkey and s_nationkey = n_nationkey and n_regionkey = r_regionkey and r_name = 'EUROPE' ) order by s_acctbal desc, n_name, s_name, p_partkey limit 100;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8dec5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9173d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f0b7 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 2024.09.24 01:23:33.493105 [ 8835 ] {339dab67-af65-46c9-8b1f-64cae65dae6b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'p_partkey' while processing query: 'SELECT min(ps_supplycost) FROM (SELECT `--.s`.*, n_regionkey, n_nationkey FROM (SELECT ps_suppkey, ps_partkey, ps_supplycost, s_nationkey, s_suppkey FROM partsupp ALL INNER JOIN supplier ON s_suppkey = ps_suppkey) AS `--.s` ALL INNER JOIN nation ON s_nationkey = n_nationkey HAVING (s_nationkey = n_nationkey) AND ((s_suppkey = ps_suppkey) AND (p_partkey = ps_partkey))) AS `--.s` ALL INNER JOIN (SELECT * FROM region HAVING r_name = 'EUROPE') AS region ON n_regionkey = r_regionkey WHERE (p_partkey = ps_partkey) AND (s_suppkey = ps_suppkey) AND (s_nationkey = n_nationkey) AND (n_regionkey = r_regionkey) AND (r_name = 'EUROPE')', required columns: 'n_regionkey' 'r_regionkey' 'p_partkey' 's_suppkey' 'ps_supplycost' 'ps_partkey' 'ps_suppkey' 's_nationkey' 'n_nationkey' 'r_name' 'n_regionkey' 'r_regionkey' 'p_partkey' 's_suppkey' 'ps_supplycost' 'ps_partkey' 'ps_suppkey' 's_nationkey' 'n_nationkey' 'r_name', joined columns: 'r_regionkey' 'r_name' 'r_comment' '_part' '_part_index' '_part_uuid' '_partition_id' '_partition_value' '_sample_factor' '_part_offset' '_row_exists': While processing (SELECT min(ps_supplycost) FROM partsupp, supplier, nation, region WHERE (p_partkey = ps_partkey) AND (s_suppkey = ps_suppkey) AND (s_nationkey = n_nationkey) AND (n_regionkey = r_regionkey) AND (r_name = 'EUROPE')) AS _subquery439: While processing ps_supplycost = ((SELECT min(ps_supplycost) FROM partsupp, supplier, nation, region WHERE (p_partkey = ps_partkey) AND (s_suppkey = ps_suppkey) AND (s_nationkey = n_nationkey) AND (n_regionkey = r_regionkey) AND (r_name = 'EUROPE')) AS _subquery439): While processing (p_partkey = ps_partkey) AND (s_suppkey = ps_suppkey) AND (p_size = 15) AND (p_type LIKE '%BRASS') AND (s_nationkey = n_nationkey) AND (n_regionkey = r_regionkey) AND (r_name = 'EUROPE') AND (ps_supplycost = ((SELECT min(ps_supplycost) FROM partsupp, supplier, nation, region WHERE (p_partkey = ps_partkey) AND (s_suppkey = ps_suppkey) AND (s_nationkey = n_nationkey) AND (n_regionkey = r_regionkey) AND (r_name = 'EUROPE')) AS _subquery439)). (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8dec5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9173d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f0b7 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 2024.09.24 01:23:33.973367 [ 2329 ] {439fbda5-19f7-47d0-95c7-9211afabbb36} executeQuery: Code: 253. DB::Exception: Replica 0 of shard 0 of replicated database at /test/01111/01111_create_drop_replicated_db_stress_test_swzlnoc2 already exists. Replica host ID: 'b96667adc7fc:9000:2e3d641f-175d-4d18-84b2-e82e8be6700b', current host ID: 'b96667adc7fc:9000:5c7fff2b-3b5a-4c6a-b673-04c1fadd64d7'. (REPLICA_ALREADY_EXISTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58338) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: create database if not exists test_swzlnoc2_repl_01111_5 engine=Replicated('/test/01111/01111_create_drop_replicated_db_stress_test_swzlnoc2', '0', '0')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&, String&, String&) @ 0x000000001bb23f3a in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicated.cpp:346: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x000000001bb06890 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:495: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x000000001bb09063 in /usr/bin/clickhouse 8. /build/src/Databases/TablesLoader.cpp:61: DB::TablesLoader::loadTables() @ 0x000000001c8ad2a2 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:328: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x000000001c7e5fae in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1728: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f939f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:33.975493 [ 2329 ] {439fbda5-19f7-47d0-95c7-9211afabbb36} TCPHandler: Code: 253. DB::Exception: Replica 0 of shard 0 of replicated database at /test/01111/01111_create_drop_replicated_db_stress_test_swzlnoc2 already exists. Replica host ID: 'b96667adc7fc:9000:2e3d641f-175d-4d18-84b2-e82e8be6700b', current host ID: 'b96667adc7fc:9000:5c7fff2b-3b5a-4c6a-b673-04c1fadd64d7'. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&, String&, String&) @ 0x000000001bb23f3a in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicated.cpp:346: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x000000001bb06890 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:495: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x000000001bb09063 in /usr/bin/clickhouse 8. /build/src/Databases/TablesLoader.cpp:61: DB::TablesLoader::loadTables() @ 0x000000001c8ad2a2 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:328: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x000000001c7e5fae in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1728: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f939f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:34.522232 [ 924 ] {} f7f3d19b-e64e-4816-ae42-73e473ec665a::all_4_4_0_5 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'fail' as Int8: syntax error at begin of string. Note: there are toInt8OrZero and toInt8OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION if(equals(n, 3) :: 6, _CAST(multiply(m, toInt8(s)), 'Int32') :: 5, m :: 1) -> if(equals(n, 3), _CAST(multiply(m, toInt8(s)), 'Int32'), m) Int32 : 3'. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b217fb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToInt8, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b383bd7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b37e8d8 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b36cb39 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b36be68 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b36b07e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 17. /build/src/Columns/ColumnFunction.cpp:310: DB::ColumnFunction::reduce() const @ 0x000000001d325188 in /usr/bin/clickhouse 18. /build/src/Columns/ColumnFunction.cpp:300: DB::ColumnFunction::reduce() const @ 0x000000001d324f87 in /usr/bin/clickhouse 19. /build/src/Columns/ColumnFunction.cpp:300: DB::ColumnFunction::reduce() const @ 0x000000001d324f87 in /usr/bin/clickhouse 20. /build/src/Columns/MaskOperations.cpp:299: DB::maskedExecute(DB::ColumnWithTypeAndName&, DB::PODArray, 63ul, 64ul> const&, DB::MaskInfo const&) @ 0x000000001d57a9c8 in /usr/bin/clickhouse 21. /build/src/Functions/if.cpp:1002: DB::(anonymous namespace)::FunctionIf::executeShortCircuitArguments(std::vector>&) @ 0x000000000efd5514 in /usr/bin/clickhouse 22. /build/src/Functions/if.cpp:1048: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000efd3e9b in /usr/bin/clickhouse 23. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 30. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 31. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:34.523278 [ 924 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {f7f3d19b-e64e-4816-ae42-73e473ec665a::all_4_4_0_5}: Code: 6. DB::Exception: Cannot parse string 'fail' as Int8: syntax error at begin of string. Note: there are toInt8OrZero and toInt8OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION if(equals(n, 3) :: 6, _CAST(multiply(m, toInt8(s)), 'Int32') :: 5, m :: 1) -> if(equals(n, 3), _CAST(multiply(m, toInt8(s)), 'Int32'), m) Int32 : 3'. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b217fb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToInt8, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b383bd7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b37e8d8 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b36cb39 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b36be68 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b36b07e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 17. /build/src/Columns/ColumnFunction.cpp:310: DB::ColumnFunction::reduce() const @ 0x000000001d325188 in /usr/bin/clickhouse 18. /build/src/Columns/ColumnFunction.cpp:300: DB::ColumnFunction::reduce() const @ 0x000000001d324f87 in /usr/bin/clickhouse 19. /build/src/Columns/ColumnFunction.cpp:300: DB::ColumnFunction::reduce() const @ 0x000000001d324f87 in /usr/bin/clickhouse 20. /build/src/Columns/MaskOperations.cpp:299: DB::maskedExecute(DB::ColumnWithTypeAndName&, DB::PODArray, 63ul, 64ul> const&, DB::MaskInfo const&) @ 0x000000001d57a9c8 in /usr/bin/clickhouse 21. /build/src/Functions/if.cpp:1002: DB::(anonymous namespace)::FunctionIf::executeShortCircuitArguments(std::vector>&) @ 0x000000000efd5514 in /usr/bin/clickhouse 22. /build/src/Functions/if.cpp:1048: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000efd3e9b in /usr/bin/clickhouse 23. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 30. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 31. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:34.544609 [ 12007 ] {cd368197-33b3-4e83-aae5-cb8f0f32e642} executeQuery: Code: 36. DB::Exception: SYSTEM SYNC DATABASE REPLICA query is intended to work only with Replicated engine. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58360) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: system sync database replica test_swzlnoc2), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [83]) @ 0x000000000bc5dcbe in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSystemQuery.cpp:1052: DB::InterpreterSystemQuery::syncReplicatedDatabase(DB::ASTSystemQuery&) @ 0x000000001cbe7956 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:586: DB::InterpreterSystemQuery::execute() @ 0x000000001cbdccc2 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:34.545951 [ 12007 ] {cd368197-33b3-4e83-aae5-cb8f0f32e642} TCPHandler: Code: 36. DB::Exception: SYSTEM SYNC DATABASE REPLICA query is intended to work only with Replicated engine. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [83]) @ 0x000000000bc5dcbe in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSystemQuery.cpp:1052: DB::InterpreterSystemQuery::syncReplicatedDatabase(DB::ASTSystemQuery&) @ 0x000000001cbe7956 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:586: DB::InterpreterSystemQuery::execute() @ 0x000000001cbdccc2 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:35.091949 [ 17476 ] {e79c0e33-f131-41b8-9e7e-6cc98e144d36} executeQuery: Code: 57. DB::Exception: Directory for table data store/60f/60f3ee10-8d32-4d88-9703-0a000a287f0b/ already exists. (TABLE_ALREADY_EXISTS) (version 23.8.16.41.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: /* ddl_entry=query-0000000003 */ CREATE TABLE test_swzlnoc2_repl_01111_1.rmt_13164_30322_10919 UUID '60f3ee10-8d32-4d88-9703-0a000a287f0b' (`n` Int32) ENGINE = ReplicatedMergeTree ORDER BY tuple() SETTINGS index_granularity = 52235, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0.19091622531414032, merge_max_block_size = 12915, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 5429212014, index_granularity_bytes = 10480022, allow_vertical_merges_from_compact_to_wide_parts = 0, marks_compress_block_size = 79073, primary_key_compress_block_size = 24594), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1390: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f5eae in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 11. /build/src/Interpreters/DDLWorker.cpp:483: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001bec7884 in /usr/bin/clickhouse 12. /build/src/Interpreters/DDLWorker.cpp:646: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001bec660b in /usr/bin/clickhouse 13. /build/src/Interpreters/DDLWorker.cpp:426: DB::DDLWorker::scheduleTasks(bool) @ 0x000000001bec47e6 in /usr/bin/clickhouse 14. /build/src/Interpreters/DDLWorker.cpp:1126: DB::DDLWorker::runMainThread() @ 0x000000001bebc8c6 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x000000001bed7f69 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001bed7eed in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001bed7e3d in /usr/bin/clickhouse 18. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001bed7d55 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x000000001bed7cb5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x000000001bed7c95 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001bed7c75 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001bed7c40 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a610e2 in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:35.093136 [ 925 ] {} f7f3d19b-e64e-4816-ae42-73e473ec665a::all_4_4_0_5 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'fail' as Int8: syntax error at begin of string. Note: there are toInt8OrZero and toInt8OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION if(equals(n, 3) :: 6, _CAST(multiply(m, toInt8(s)), 'Int32') :: 5, m :: 1) -> if(equals(n, 3), _CAST(multiply(m, toInt8(s)), 'Int32'), m) Int32 : 3'. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b217fb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToInt8, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b383bd7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b37e8d8 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b36cb39 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b36be68 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b36b07e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 17. /build/src/Columns/ColumnFunction.cpp:310: DB::ColumnFunction::reduce() const @ 0x000000001d325188 in /usr/bin/clickhouse 18. /build/src/Columns/ColumnFunction.cpp:300: DB::ColumnFunction::reduce() const @ 0x000000001d324f87 in /usr/bin/clickhouse 19. /build/src/Columns/ColumnFunction.cpp:300: DB::ColumnFunction::reduce() const @ 0x000000001d324f87 in /usr/bin/clickhouse 20. /build/src/Columns/MaskOperations.cpp:299: DB::maskedExecute(DB::ColumnWithTypeAndName&, DB::PODArray, 63ul, 64ul> const&, DB::MaskInfo const&) @ 0x000000001d57a9c8 in /usr/bin/clickhouse 21. /build/src/Functions/if.cpp:1002: DB::(anonymous namespace)::FunctionIf::executeShortCircuitArguments(std::vector>&) @ 0x000000000efd5514 in /usr/bin/clickhouse 22. /build/src/Functions/if.cpp:1048: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000efd3e9b in /usr/bin/clickhouse 23. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 30. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 31. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:35.093411 [ 17476 ] {e79c0e33-f131-41b8-9e7e-6cc98e144d36} DDLWorker(test_swzlnoc2_repl_01111_1): Query /* ddl_entry=query-0000000003 */ CREATE TABLE test_swzlnoc2_repl_01111_1.rmt_13164_30322_10919 UUID '60f3ee10-8d32-4d88-9703-0a000a287f0b' (`n` Int32) ENGINE = ReplicatedMergeTree ORDER BY tuple() SETTINGS index_granularity = 52235, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0.19091622531414032, merge_max_block_size = 12915, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 5429212014, index_granularity_bytes = 10480022, allow_vertical_merges_from_compact_to_wide_parts = 0, marks_compress_block_size = 79073, primary_key_compress_block_size = 24594 wasn't finished successfully: Code: 57. DB::Exception: Directory for table data store/60f/60f3ee10-8d32-4d88-9703-0a000a287f0b/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1390: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f5eae in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 11. /build/src/Interpreters/DDLWorker.cpp:483: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001bec7884 in /usr/bin/clickhouse 12. /build/src/Interpreters/DDLWorker.cpp:646: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001bec660b in /usr/bin/clickhouse 13. /build/src/Interpreters/DDLWorker.cpp:426: DB::DDLWorker::scheduleTasks(bool) @ 0x000000001bec47e6 in /usr/bin/clickhouse 14. /build/src/Interpreters/DDLWorker.cpp:1126: DB::DDLWorker::runMainThread() @ 0x000000001bebc8c6 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x000000001bed7f69 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001bed7eed in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001bed7e3d in /usr/bin/clickhouse 18. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001bed7d55 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x000000001bed7cb5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x000000001bed7c95 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001bed7c75 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001bed7c40 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a610e2 in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:35.094746 [ 925 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {f7f3d19b-e64e-4816-ae42-73e473ec665a::all_4_4_0_5}: Code: 6. DB::Exception: Cannot parse string 'fail' as Int8: syntax error at begin of string. Note: there are toInt8OrZero and toInt8OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION if(equals(n, 3) :: 6, _CAST(multiply(m, toInt8(s)), 'Int32') :: 5, m :: 1) -> if(equals(n, 3), _CAST(multiply(m, toInt8(s)), 'Int32'), m) Int32 : 3'. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b217fb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToInt8, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b383bd7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b37e8d8 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b36cb39 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b36be68 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b36b07e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 17. /build/src/Columns/ColumnFunction.cpp:310: DB::ColumnFunction::reduce() const @ 0x000000001d325188 in /usr/bin/clickhouse 18. /build/src/Columns/ColumnFunction.cpp:300: DB::ColumnFunction::reduce() const @ 0x000000001d324f87 in /usr/bin/clickhouse 19. /build/src/Columns/ColumnFunction.cpp:300: DB::ColumnFunction::reduce() const @ 0x000000001d324f87 in /usr/bin/clickhouse 20. /build/src/Columns/MaskOperations.cpp:299: DB::maskedExecute(DB::ColumnWithTypeAndName&, DB::PODArray, 63ul, 64ul> const&, DB::MaskInfo const&) @ 0x000000001d57a9c8 in /usr/bin/clickhouse 21. /build/src/Functions/if.cpp:1002: DB::(anonymous namespace)::FunctionIf::executeShortCircuitArguments(std::vector>&) @ 0x000000000efd5514 in /usr/bin/clickhouse 22. /build/src/Functions/if.cpp:1048: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000efd3e9b in /usr/bin/clickhouse 23. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 30. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 31. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:35.192634 [ 17476 ] {} DDLWorker(test_swzlnoc2_repl_01111_1): Unexpected error, will try to restart main thread: Code: 341. DB::Exception: Unexpected error: Code: 57. DB::Exception: Directory for table data store/60f/60f3ee10-8d32-4d88-9703-0a000a287f0b/ already exists. (TABLE_ALREADY_EXISTS) (version 23.8.16.41.altinitystable (altinity build)). (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Interpreters/DDLWorker.cpp:666: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001bec689c in /usr/bin/clickhouse 7. /build/src/Interpreters/DDLWorker.cpp:426: DB::DDLWorker::scheduleTasks(bool) @ 0x000000001bec47e6 in /usr/bin/clickhouse 8. /build/src/Interpreters/DDLWorker.cpp:1126: DB::DDLWorker::runMainThread() @ 0x000000001bebc8c6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x000000001bed7f69 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001bed7eed in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001bed7e3d in /usr/bin/clickhouse 12. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001bed7d55 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x000000001bed7cb5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x000000001bed7c95 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001bed7c75 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001bed7c40 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a610e2 in /usr/bin/clickhouse 24. ? @ 0x00007f1d281b3ac3 in ? 25. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:35.228296 [ 22255 ] {52094224-d38c-49d7-a4ba-d6e195f788dd} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.03 MiB (attempt to allocate chunk of 1085103 bytes), maximum: 1.00 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58390) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:175: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ee3c in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ecb4 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ea71 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7e777 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7e5ea in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da793d6 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:403: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da74f5d in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 2024.09.24 01:23:35.229223 [ 22255 ] {52094224-d38c-49d7-a4ba-d6e195f788dd} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.03 MiB (attempt to allocate chunk of 1085103 bytes), maximum: 1.00 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:175: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ee3c in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ecb4 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ea71 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7e777 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7e5ea in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da793d6 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:403: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da74f5d in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 2024.09.24 01:23:35.724641 [ 924 ] {} f7f3d19b-e64e-4816-ae42-73e473ec665a::all_4_4_0_5 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'fail' as Int8: syntax error at begin of string. Note: there are toInt8OrZero and toInt8OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION if(equals(n, 3) :: 6, _CAST(multiply(m, toInt8(s)), 'Int32') :: 5, m :: 1) -> if(equals(n, 3), _CAST(multiply(m, toInt8(s)), 'Int32'), m) Int32 : 3'. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b217fb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToInt8, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b383bd7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b37e8d8 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b36cb39 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b36be68 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b36b07e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 17. /build/src/Columns/ColumnFunction.cpp:310: DB::ColumnFunction::reduce() const @ 0x000000001d325188 in /usr/bin/clickhouse 18. /build/src/Columns/ColumnFunction.cpp:300: DB::ColumnFunction::reduce() const @ 0x000000001d324f87 in /usr/bin/clickhouse 19. /build/src/Columns/ColumnFunction.cpp:300: DB::ColumnFunction::reduce() const @ 0x000000001d324f87 in /usr/bin/clickhouse 20. /build/src/Columns/MaskOperations.cpp:299: DB::maskedExecute(DB::ColumnWithTypeAndName&, DB::PODArray, 63ul, 64ul> const&, DB::MaskInfo const&) @ 0x000000001d57a9c8 in /usr/bin/clickhouse 21. /build/src/Functions/if.cpp:1002: DB::(anonymous namespace)::FunctionIf::executeShortCircuitArguments(std::vector>&) @ 0x000000000efd5514 in /usr/bin/clickhouse 22. /build/src/Functions/if.cpp:1048: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000efd3e9b in /usr/bin/clickhouse 23. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 30. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 31. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:35.725849 [ 924 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {f7f3d19b-e64e-4816-ae42-73e473ec665a::all_4_4_0_5}: Code: 6. DB::Exception: Cannot parse string 'fail' as Int8: syntax error at begin of string. Note: there are toInt8OrZero and toInt8OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION if(equals(n, 3) :: 6, _CAST(multiply(m, toInt8(s)), 'Int32') :: 5, m :: 1) -> if(equals(n, 3), _CAST(multiply(m, toInt8(s)), 'Int32'), m) Int32 : 3'. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b217fb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToInt8, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b383bd7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b37e8d8 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b36cb39 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b36be68 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b36b07e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 17. /build/src/Columns/ColumnFunction.cpp:310: DB::ColumnFunction::reduce() const @ 0x000000001d325188 in /usr/bin/clickhouse 18. /build/src/Columns/ColumnFunction.cpp:300: DB::ColumnFunction::reduce() const @ 0x000000001d324f87 in /usr/bin/clickhouse 19. /build/src/Columns/ColumnFunction.cpp:300: DB::ColumnFunction::reduce() const @ 0x000000001d324f87 in /usr/bin/clickhouse 20. /build/src/Columns/MaskOperations.cpp:299: DB::maskedExecute(DB::ColumnWithTypeAndName&, DB::PODArray, 63ul, 64ul> const&, DB::MaskInfo const&) @ 0x000000001d57a9c8 in /usr/bin/clickhouse 21. /build/src/Functions/if.cpp:1002: DB::(anonymous namespace)::FunctionIf::executeShortCircuitArguments(std::vector>&) @ 0x000000000efd5514 in /usr/bin/clickhouse 22. /build/src/Functions/if.cpp:1048: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000efd3e9b in /usr/bin/clickhouse 23. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 30. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 31. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:35.864513 [ 919 ] {} test_r2ss0rqc.rmt (ReplicatedMergeTreeQueue): Mutation with version 5 not found in partition ID all (trying to mutate part all_4_4_0) 2024.09.24 01:23:36.313584 [ 671 ] {c4071abd-25a7-4250-ba74-c89147b471d1} executeQuery: Code: 253. DB::Exception: Replica 1 of shard 1 of replicated database at /test/01111/01111_create_drop_replicated_db_stress_test_swzlnoc2 already exists. Replica host ID: 'b96667adc7fc:9000:423565c4-bdf0-408f-b16c-e3939d89453b', current host ID: 'b96667adc7fc:9000:59b09add-05ab-48ca-a2cc-a60c5de04c7b'. (REPLICA_ALREADY_EXISTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58450) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: create database if not exists test_swzlnoc2_repl_01111_12 engine=Replicated('/test/01111/01111_create_drop_replicated_db_stress_test_swzlnoc2', '1', '1')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&, String&, String&) @ 0x000000001bb23f3a in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicated.cpp:346: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x000000001bb06890 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:495: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x000000001bb09063 in /usr/bin/clickhouse 8. /build/src/Databases/TablesLoader.cpp:61: DB::TablesLoader::loadTables() @ 0x000000001c8ad2a2 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:328: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x000000001c7e5fae in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1728: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f939f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:36.315250 [ 671 ] {c4071abd-25a7-4250-ba74-c89147b471d1} TCPHandler: Code: 253. DB::Exception: Replica 1 of shard 1 of replicated database at /test/01111/01111_create_drop_replicated_db_stress_test_swzlnoc2 already exists. Replica host ID: 'b96667adc7fc:9000:423565c4-bdf0-408f-b16c-e3939d89453b', current host ID: 'b96667adc7fc:9000:59b09add-05ab-48ca-a2cc-a60c5de04c7b'. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&, String&, String&) @ 0x000000001bb23f3a in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicated.cpp:346: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x000000001bb06890 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:495: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x000000001bb09063 in /usr/bin/clickhouse 8. /build/src/Databases/TablesLoader.cpp:61: DB::TablesLoader::loadTables() @ 0x000000001c8ad2a2 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:328: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x000000001c7e5fae in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1728: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f939f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:38.441206 [ 2329 ] {90a4d971-dd4d-41ab-8d2b-9ecd9dc9d3f7} executeQuery: Code: 36. DB::Exception: SYSTEM SYNC DATABASE REPLICA query is intended to work only with Replicated engine. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58552) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: system sync database replica test_swzlnoc2), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [83]) @ 0x000000000bc5dcbe in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSystemQuery.cpp:1052: DB::InterpreterSystemQuery::syncReplicatedDatabase(DB::ASTSystemQuery&) @ 0x000000001cbe7956 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:586: DB::InterpreterSystemQuery::execute() @ 0x000000001cbdccc2 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:38.442483 [ 2329 ] {90a4d971-dd4d-41ab-8d2b-9ecd9dc9d3f7} TCPHandler: Code: 36. DB::Exception: SYSTEM SYNC DATABASE REPLICA query is intended to work only with Replicated engine. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [83]) @ 0x000000000bc5dcbe in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSystemQuery.cpp:1052: DB::InterpreterSystemQuery::syncReplicatedDatabase(DB::ASTSystemQuery&) @ 0x000000001cbe7956 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:586: DB::InterpreterSystemQuery::execute() @ 0x000000001cbdccc2 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:39.147129 [ 2329 ] {adc83e3d-8cd0-45a8-9271-f2556d60a9bd} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.04 MiB (attempt to allocate chunk of 1049183 bytes), maximum: 2.00 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58556) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d74460a in /usr/bin/clickhouse 20. /build/src/Storages/StorageStripeLog.cpp:499: DB::StorageStripeLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da75ad8 in /usr/bin/clickhouse 21. /build/src/Storages/StorageStripeLog.cpp:186: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7f0af in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ecb4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ea71 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7e777 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7e5ea in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da793d6 in /usr/bin/clickhouse 27. /build/src/Storages/StorageStripeLog.cpp:403: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da74f5d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 2024.09.24 01:23:39.148412 [ 2329 ] {adc83e3d-8cd0-45a8-9271-f2556d60a9bd} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.04 MiB (attempt to allocate chunk of 1049183 bytes), maximum: 2.00 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d74460a in /usr/bin/clickhouse 20. /build/src/Storages/StorageStripeLog.cpp:499: DB::StorageStripeLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da75ad8 in /usr/bin/clickhouse 21. /build/src/Storages/StorageStripeLog.cpp:186: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7f0af in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ecb4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7ea71 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7e777 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7e5ea in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da793d6 in /usr/bin/clickhouse 27. /build/src/Storages/StorageStripeLog.cpp:403: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da74f5d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 2024.09.24 01:23:40.367958 [ 16790 ] {} DDLWorker(test_swzlnoc2_repl_01111_1): Error on initialization of test_swzlnoc2_repl_01111_1: Code: 57. DB::Exception: Directory for table data store/615/6153e91d-b01e-40fd-a812-c130cb6b1021/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1390: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f5eae in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 9. /build/src/Databases/DatabaseReplicated.cpp:1021: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001bb15598 in /usr/bin/clickhouse 10. /build/src/Databases/DatabaseReplicatedWorker.cpp:119: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001bb3e5f7 in /usr/bin/clickhouse 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001bb3c7ba in /usr/bin/clickhouse 12. /build/src/Interpreters/DDLWorker.cpp:1120: DB::DDLWorker::runMainThread() @ 0x000000001bebc2b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x000000001bed7f69 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001bed7eed in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001bed7e3d in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001bed7d55 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x000000001bed7cb5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x000000001bed7c95 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001bed7c75 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001bed7c40 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a610e2 in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:40.907075 [ 8835 ] {85e648ca-38d7-4a8d-9d2e-9514c1461be7} executeQuery: Code: 47. DB::Exception: Missing columns: 'total_revenue' while processing query: 'SELECT max(total_revenue) FROM (SELECT l_suppkey, sum(l_extendedprice * (1 - l_discount)) FROM test_ppm6hmqn.lineitem WHERE (l_shipdate >= toDate('1996-01-01')) AND (l_shipdate < (toDate('1996-01-01') + toIntervalMonth('3'))) GROUP BY l_suppkey) AS revenue0', required columns: 'total_revenue': While processing (SELECT max(total_revenue) FROM revenue0) AS _subquery443: While processing total_revenue = ((SELECT max(total_revenue) FROM revenue0) AS _subquery443): While processing (s_suppkey = supplier_no) AND (total_revenue = ((SELECT max(total_revenue) FROM revenue0) AS _subquery443)). (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58264) (comment: 01095_tpch_like_smoke.sql) (in query: select s_suppkey, s_name, s_address, s_phone, total_revenue from supplier, revenue0 where s_suppkey = supplier_no and total_revenue = ( select max(total_revenue) from revenue0 ) order by s_suppkey;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8dec5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9173d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f0b7 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 2024.09.24 01:23:40.908421 [ 8835 ] {85e648ca-38d7-4a8d-9d2e-9514c1461be7} TCPHandler: Code: 47. DB::Exception: Missing columns: 'total_revenue' while processing query: 'SELECT max(total_revenue) FROM (SELECT l_suppkey, sum(l_extendedprice * (1 - l_discount)) FROM test_ppm6hmqn.lineitem WHERE (l_shipdate >= toDate('1996-01-01')) AND (l_shipdate < (toDate('1996-01-01') + toIntervalMonth('3'))) GROUP BY l_suppkey) AS revenue0', required columns: 'total_revenue': While processing (SELECT max(total_revenue) FROM revenue0) AS _subquery443: While processing total_revenue = ((SELECT max(total_revenue) FROM revenue0) AS _subquery443): While processing (s_suppkey = supplier_no) AND (total_revenue = ((SELECT max(total_revenue) FROM revenue0) AS _subquery443)). (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8dec5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9173d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f0b7 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 2024.09.24 01:23:41.264448 [ 8835 ] {889255e6-fa24-4b5f-92ec-91f12311e4c0} executeQuery: Code: 47. DB::Exception: Missing columns: 'p_partkey' while processing query: 'SELECT 0.2 * avg(l_quantity) FROM lineitem WHERE l_partkey = p_partkey', required columns: 'l_partkey' 'l_quantity' 'p_partkey', maybe you meant: 'l_partkey' or 'l_quantity': While processing (SELECT 0.2 * avg(l_quantity) FROM lineitem WHERE l_partkey = p_partkey) AS _subquery445: While processing l_quantity < ((SELECT 0.2 * avg(l_quantity) FROM lineitem WHERE l_partkey = p_partkey) AS _subquery445): While processing (p_partkey = l_partkey) AND (p_brand = 'Brand#23') AND (p_container = 'MED BOX') AND (l_quantity < ((SELECT 0.2 * avg(l_quantity) FROM lineitem WHERE l_partkey = p_partkey) AS _subquery445)). (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58264) (comment: 01095_tpch_like_smoke.sql) (in query: select sum(l_extendedprice) / 7.0 as avg_yearly from lineitem, part where p_partkey = l_partkey and p_brand = 'Brand#23' and p_container = 'MED BOX' and l_quantity < ( select 0.2 * avg(l_quantity) from lineitem where l_partkey = p_partkey );), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8dec5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9173d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f0b7 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 2024.09.24 01:23:41.266461 [ 8835 ] {889255e6-fa24-4b5f-92ec-91f12311e4c0} TCPHandler: Code: 47. DB::Exception: Missing columns: 'p_partkey' while processing query: 'SELECT 0.2 * avg(l_quantity) FROM lineitem WHERE l_partkey = p_partkey', required columns: 'l_partkey' 'l_quantity' 'p_partkey', maybe you meant: 'l_partkey' or 'l_quantity': While processing (SELECT 0.2 * avg(l_quantity) FROM lineitem WHERE l_partkey = p_partkey) AS _subquery445: While processing l_quantity < ((SELECT 0.2 * avg(l_quantity) FROM lineitem WHERE l_partkey = p_partkey) AS _subquery445): While processing (p_partkey = l_partkey) AND (p_brand = 'Brand#23') AND (p_container = 'MED BOX') AND (l_quantity < ((SELECT 0.2 * avg(l_quantity) FROM lineitem WHERE l_partkey = p_partkey) AS _subquery445)). (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8dec5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9173d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f0b7 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 2024.09.24 01:23:41.765906 [ 22252 ] {0ae209b9-d14a-4911-af93-74b69a32bb25} HedgedConnectionsFactory: Connection failed at try â„–2, reason: Timeout exceeded while reading from socket (socket (127.0.0.2:9000), receive timeout 10000 ms) 2024.09.24 01:23:41.947420 [ 8835 ] {b2b5908f-97e9-4c86-ae5b-ece73c3679be} executeQuery: Code: 47. DB::Exception: Missing columns: 'ps_suppkey' 'ps_partkey' while processing query: 'SELECT 0.5 * sum(l_quantity) FROM lineitem WHERE (l_partkey = ps_partkey) AND (l_suppkey = ps_suppkey) AND (l_shipdate >= toDate('1994-01-01')) AND (l_shipdate < (toDate('1994-01-01') + toIntervalYear('1')))', required columns: 'l_partkey' 'l_quantity' 'ps_partkey' 'ps_suppkey' 'l_suppkey' 'l_shipdate', maybe you meant: 'l_partkey', 'l_quantity', 'l_suppkey' or 'l_shipdate': While processing (SELECT 0.5 * sum(l_quantity) FROM lineitem WHERE (l_partkey = ps_partkey) AND (l_suppkey = ps_suppkey) AND (l_shipdate >= toDate('1994-01-01')) AND (l_shipdate < (toDate('1994-01-01') + toIntervalYear('1')))) AS _subquery453: While processing ps_availqty > ((SELECT 0.5 * sum(l_quantity) FROM lineitem WHERE (l_partkey = ps_partkey) AND (l_suppkey = ps_suppkey) AND (l_shipdate >= toDate('1994-01-01')) AND (l_shipdate < (toDate('1994-01-01') + toIntervalYear('1')))) AS _subquery453): While processing (ps_partkey IN ((SELECT p_partkey FROM part WHERE p_name LIKE 'forest%') AS _subquery452)) AND (ps_availqty > ((SELECT 0.5 * sum(l_quantity) FROM lineitem WHERE (l_partkey = ps_partkey) AND (l_suppkey = ps_suppkey) AND (l_shipdate >= toDate('1994-01-01')) AND (l_shipdate < (toDate('1994-01-01') + toIntervalYear('1')))) AS _subquery453)): While processing (s_suppkey IN ((SELECT ps_suppkey FROM partsupp WHERE (ps_partkey IN (SELECT p_partkey FROM part WHERE p_name LIKE 'forest%')) AND (ps_availqty > (SELECT 0.5 * sum(l_quantity) FROM lineitem WHERE (l_partkey = ps_partkey) AND (l_suppkey = ps_suppkey) AND (l_shipdate >= toDate('1994-01-01')) AND (l_shipdate < (toDate('1994-01-01') + toIntervalYear('1')))))) AS _subquery451)) AND (s_nationkey = n_nationkey) AND (n_name = 'CANADA'). (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58264) (comment: 01095_tpch_like_smoke.sql) (in query: select s_name, s_address from supplier, nation where s_suppkey in ( select ps_suppkey from partsupp where ps_partkey in ( select p_partkey from part where p_name like 'forest%' ) and ps_availqty > ( select 0.5 * sum(l_quantity) from lineitem where l_partkey = ps_partkey and l_suppkey = ps_suppkey and l_shipdate >= date '1994-01-01' and l_shipdate < date '1994-01-01' + interval '1' year ) ) and s_nationkey = n_nationkey and n_name = 'CANADA' order by s_name;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8dec5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9173d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f0b7 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 2024.09.24 01:23:41.949510 [ 8835 ] {b2b5908f-97e9-4c86-ae5b-ece73c3679be} TCPHandler: Code: 47. DB::Exception: Missing columns: 'ps_suppkey' 'ps_partkey' while processing query: 'SELECT 0.5 * sum(l_quantity) FROM lineitem WHERE (l_partkey = ps_partkey) AND (l_suppkey = ps_suppkey) AND (l_shipdate >= toDate('1994-01-01')) AND (l_shipdate < (toDate('1994-01-01') + toIntervalYear('1')))', required columns: 'l_partkey' 'l_quantity' 'ps_partkey' 'ps_suppkey' 'l_suppkey' 'l_shipdate', maybe you meant: 'l_partkey', 'l_quantity', 'l_suppkey' or 'l_shipdate': While processing (SELECT 0.5 * sum(l_quantity) FROM lineitem WHERE (l_partkey = ps_partkey) AND (l_suppkey = ps_suppkey) AND (l_shipdate >= toDate('1994-01-01')) AND (l_shipdate < (toDate('1994-01-01') + toIntervalYear('1')))) AS _subquery453: While processing ps_availqty > ((SELECT 0.5 * sum(l_quantity) FROM lineitem WHERE (l_partkey = ps_partkey) AND (l_suppkey = ps_suppkey) AND (l_shipdate >= toDate('1994-01-01')) AND (l_shipdate < (toDate('1994-01-01') + toIntervalYear('1')))) AS _subquery453): While processing (ps_partkey IN ((SELECT p_partkey FROM part WHERE p_name LIKE 'forest%') AS _subquery452)) AND (ps_availqty > ((SELECT 0.5 * sum(l_quantity) FROM lineitem WHERE (l_partkey = ps_partkey) AND (l_suppkey = ps_suppkey) AND (l_shipdate >= toDate('1994-01-01')) AND (l_shipdate < (toDate('1994-01-01') + toIntervalYear('1')))) AS _subquery453)): While processing (s_suppkey IN ((SELECT ps_suppkey FROM partsupp WHERE (ps_partkey IN (SELECT p_partkey FROM part WHERE p_name LIKE 'forest%')) AND (ps_availqty > (SELECT 0.5 * sum(l_quantity) FROM lineitem WHERE (l_partkey = ps_partkey) AND (l_suppkey = ps_suppkey) AND (l_shipdate >= toDate('1994-01-01')) AND (l_shipdate < (toDate('1994-01-01') + toIntervalYear('1')))))) AS _subquery451)) AND (s_nationkey = n_nationkey) AND (n_name = 'CANADA'). (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8dec5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9173d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f0b7 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 2024.09.24 01:23:42.617387 [ 16833 ] {} DDLWorker(test_swzlnoc2_repl_01111_3): Error on initialization of test_swzlnoc2_repl_01111_3: Code: 57. DB::Exception: Directory for table data store/615/6153e91d-b01e-40fd-a812-c130cb6b1021/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1390: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f5eae in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 9. /build/src/Databases/DatabaseReplicated.cpp:1021: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001bb15598 in /usr/bin/clickhouse 10. /build/src/Databases/DatabaseReplicatedWorker.cpp:119: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001bb3e5f7 in /usr/bin/clickhouse 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001bb3c7ba in /usr/bin/clickhouse 12. /build/src/Interpreters/DDLWorker.cpp:1120: DB::DDLWorker::runMainThread() @ 0x000000001bebc2b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x000000001bed7f69 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001bed7eed in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001bed7e3d in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001bed7d55 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x000000001bed7cb5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x000000001bed7c95 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001bed7c75 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001bed7c40 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a610e2 in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:42.863714 [ 22247 ] {3603e2ba-4703-4212-96e5-f24e2321805c} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 9.67 MiB (attempt to allocate chunk of 8005536 bytes), maximum: 4.00 MiB.: While executing Numbers. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:35866) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a54a5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:126: DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc_for_num_elements(unsigned long) @ 0x00000000139141ad in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:341: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x000000001391412a in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:137: DB::ColumnVector::ColumnVector(unsigned long) @ 0x000000001d3cc818 in /usr/bin/clickhouse 15. /build/src/Common/COW.h:284: COW::mutable_ptr> COWHelper>::create(unsigned long&) @ 0x000000000b2d6d3b in /usr/bin/clickhouse 16. /build/src/Storages/System/StorageSystemNumbers.cpp:29: DB::(anonymous namespace)::NumbersSource::generate() @ 0x000000001a9f9d26 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:49: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6cec1d in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:90: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x000000001e6ceaaa in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x000000001e6cea55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6cea39 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x000000001e6ce99d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x000000001e6ce8a7 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x000000001e6ce815 in /usr/bin/clickhouse 2024.09.24 01:23:42.865488 [ 22247 ] {3603e2ba-4703-4212-96e5-f24e2321805c} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 9.67 MiB (attempt to allocate chunk of 8005536 bytes), maximum: 4.00 MiB.: While executing Numbers. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a54a5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:126: DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc_for_num_elements(unsigned long) @ 0x00000000139141ad in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:341: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x000000001391412a in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:137: DB::ColumnVector::ColumnVector(unsigned long) @ 0x000000001d3cc818 in /usr/bin/clickhouse 15. /build/src/Common/COW.h:284: COW::mutable_ptr> COWHelper>::create(unsigned long&) @ 0x000000000b2d6d3b in /usr/bin/clickhouse 16. /build/src/Storages/System/StorageSystemNumbers.cpp:29: DB::(anonymous namespace)::NumbersSource::generate() @ 0x000000001a9f9d26 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:49: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6cec1d in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:90: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x000000001e6ceaaa in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x000000001e6cea55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6cea39 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x000000001e6ce99d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x000000001e6ce8a7 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x000000001e6ce815 in /usr/bin/clickhouse 2024.09.24 01:23:43.799406 [ 2329 ] {3a92c8ac-cd03-4f0b-bf00-7914b5afa662} executeQuery: Code: 159. DB::Exception: SYNC DATABASE REPLICA test_swzlnoc2_repl_01111_1: database is readonly or command timed out. See the 'receive_timeout' setting. (TIMEOUT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:35864) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: system sync database replica test_swzlnoc2_repl_01111_1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSystemQuery.cpp:1046: DB::InterpreterSystemQuery::syncReplicatedDatabase(DB::ASTSystemQuery&) @ 0x000000001cbe7314 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:586: DB::InterpreterSystemQuery::execute() @ 0x000000001cbdccc2 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:43.801603 [ 2329 ] {3a92c8ac-cd03-4f0b-bf00-7914b5afa662} TCPHandler: Code: 159. DB::Exception: SYNC DATABASE REPLICA test_swzlnoc2_repl_01111_1: database is readonly or command timed out. See the 'receive_timeout' setting. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSystemQuery.cpp:1046: DB::InterpreterSystemQuery::syncReplicatedDatabase(DB::ASTSystemQuery&) @ 0x000000001cbe7314 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:586: DB::InterpreterSystemQuery::execute() @ 0x000000001cbdccc2 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:44.510350 [ 22247 ] {b60b6ee3-2e98-4aab-a4ba-3eed6bef9a98} executeQuery: Code: 253. DB::Exception: Replica 1 of shard 0 of replicated database at /test/01111/01111_create_drop_replicated_db_stress_test_swzlnoc2 already exists. Replica host ID: 'b96667adc7fc:9000:1154879c-c464-4cea-8f65-067ac0a5599d', current host ID: 'b96667adc7fc:9000:c31e0141-2f26-47a7-8fb0-e64302e02b79'. (REPLICA_ALREADY_EXISTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:35972) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: create database if not exists test_swzlnoc2_repl_01111_2 engine=Replicated('/test/01111/01111_create_drop_replicated_db_stress_test_swzlnoc2', '0', '1')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&, String&, String&) @ 0x000000001bb23f3a in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicated.cpp:346: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x000000001bb06890 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:495: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x000000001bb09063 in /usr/bin/clickhouse 8. /build/src/Databases/TablesLoader.cpp:61: DB::TablesLoader::loadTables() @ 0x000000001c8ad2a2 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:328: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x000000001c7e5fae in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1728: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f939f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:44.511976 [ 22247 ] {b60b6ee3-2e98-4aab-a4ba-3eed6bef9a98} TCPHandler: Code: 253. DB::Exception: Replica 1 of shard 0 of replicated database at /test/01111/01111_create_drop_replicated_db_stress_test_swzlnoc2 already exists. Replica host ID: 'b96667adc7fc:9000:1154879c-c464-4cea-8f65-067ac0a5599d', current host ID: 'b96667adc7fc:9000:c31e0141-2f26-47a7-8fb0-e64302e02b79'. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&, String&, String&) @ 0x000000001bb23f3a in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicated.cpp:346: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x000000001bb06890 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:495: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x000000001bb09063 in /usr/bin/clickhouse 8. /build/src/Databases/TablesLoader.cpp:61: DB::TablesLoader::loadTables() @ 0x000000001c8ad2a2 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:328: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x000000001c7e5fae in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1728: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f939f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:45.475334 [ 22250 ] {6105ba6b-a7a4-46ed-8d57-6db091138aed} executeQuery: Code: 571. DB::Exception: ZooKeeper session expired or replication stopped, try again. (DATABASE_REPLICATION_FAILED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:35908) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: CREATE TABLE test_swzlnoc2_repl_01111_1.rmt_14766_299_4274 (`n` int) ENGINE = ReplicatedMergeTree ORDER BY tuple() SETTINGS index_granularity = 52235, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0.19091622531414032, merge_max_block_size = 12915, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 5429212014, index_granularity_bytes = 10480022, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 79073, primary_key_compress_block_size = 24594), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [60]) @ 0x000000000b19cbfe in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicatedWorker.cpp:284: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x000000001bb4151b in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:705: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001bb0ea03 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1256: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f163a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:45.477452 [ 22250 ] {6105ba6b-a7a4-46ed-8d57-6db091138aed} TCPHandler: Code: 571. DB::Exception: ZooKeeper session expired or replication stopped, try again. (DATABASE_REPLICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [60]) @ 0x000000000b19cbfe in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicatedWorker.cpp:284: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x000000001bb4151b in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:705: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001bb0ea03 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1256: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f163a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:46.626944 [ 1123 ] {a289761c-a638-427b-bcf7-27efc8abe9ed} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 9.67 MiB (attempt to allocate chunk of 8005536 bytes), maximum: 8.00 MiB.: While executing Numbers. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36080) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a54a5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:126: DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc_for_num_elements(unsigned long) @ 0x00000000139141ad in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:341: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x000000001391412a in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:137: DB::ColumnVector::ColumnVector(unsigned long) @ 0x000000001d3cc818 in /usr/bin/clickhouse 15. /build/src/Common/COW.h:284: COW::mutable_ptr> COWHelper>::create(unsigned long&) @ 0x000000000b2d6d3b in /usr/bin/clickhouse 16. /build/src/Storages/System/StorageSystemNumbers.cpp:29: DB::(anonymous namespace)::NumbersSource::generate() @ 0x000000001a9f9d26 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:49: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6cec1d in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:90: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x000000001e6ceaaa in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x000000001e6cea55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6cea39 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x000000001e6ce99d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x000000001e6ce8a7 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x000000001e6ce815 in /usr/bin/clickhouse 2024.09.24 01:23:46.628546 [ 1123 ] {a289761c-a638-427b-bcf7-27efc8abe9ed} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 9.67 MiB (attempt to allocate chunk of 8005536 bytes), maximum: 8.00 MiB.: While executing Numbers. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a54a5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:126: DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc_for_num_elements(unsigned long) @ 0x00000000139141ad in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:341: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x000000001391412a in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:137: DB::ColumnVector::ColumnVector(unsigned long) @ 0x000000001d3cc818 in /usr/bin/clickhouse 15. /build/src/Common/COW.h:284: COW::mutable_ptr> COWHelper>::create(unsigned long&) @ 0x000000000b2d6d3b in /usr/bin/clickhouse 16. /build/src/Storages/System/StorageSystemNumbers.cpp:29: DB::(anonymous namespace)::NumbersSource::generate() @ 0x000000001a9f9d26 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:49: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6cec1d in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:90: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x000000001e6ceaaa in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x000000001e6cea55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6cea39 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x000000001e6ce99d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x000000001e6ce8a7 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x000000001e6ce815 in /usr/bin/clickhouse 2024.09.24 01:23:46.651610 [ 22253 ] {1f362dfb-3a92-4541-bbde-b1b14214a5e2} executeQuery: Code: 253. DB::Exception: Replica 1 of shard 0 of replicated database at /test/01111/01111_create_drop_replicated_db_stress_test_swzlnoc2 already exists. Replica host ID: 'b96667adc7fc:9000:1154879c-c464-4cea-8f65-067ac0a5599d', current host ID: 'b96667adc7fc:9000:8bc320d4-51c1-43c4-b011-1f0b1d3056fb'. (REPLICA_ALREADY_EXISTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36088) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: create database if not exists test_swzlnoc2_repl_01111_6 engine=Replicated('/test/01111/01111_create_drop_replicated_db_stress_test_swzlnoc2', '0', '1')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&, String&, String&) @ 0x000000001bb23f3a in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicated.cpp:346: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x000000001bb06890 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:495: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x000000001bb09063 in /usr/bin/clickhouse 8. /build/src/Databases/TablesLoader.cpp:61: DB::TablesLoader::loadTables() @ 0x000000001c8ad2a2 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:328: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x000000001c7e5fae in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1728: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f939f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:46.653131 [ 22253 ] {1f362dfb-3a92-4541-bbde-b1b14214a5e2} TCPHandler: Code: 253. DB::Exception: Replica 1 of shard 0 of replicated database at /test/01111/01111_create_drop_replicated_db_stress_test_swzlnoc2 already exists. Replica host ID: 'b96667adc7fc:9000:1154879c-c464-4cea-8f65-067ac0a5599d', current host ID: 'b96667adc7fc:9000:8bc320d4-51c1-43c4-b011-1f0b1d3056fb'. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&, String&, String&) @ 0x000000001bb23f3a in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicated.cpp:346: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x000000001bb06890 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:495: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x000000001bb09063 in /usr/bin/clickhouse 8. /build/src/Databases/TablesLoader.cpp:61: DB::TablesLoader::loadTables() @ 0x000000001c8ad2a2 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:328: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x000000001c7e5fae in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1728: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f939f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:47.294105 [ 22249 ] {3d71320f-ad37-432e-8da1-956bb03213f7} executeQuery: Code: 47. DB::Exception: Missing columns: 'toUInt64(sum(id))' while processing query: 'SELECT toUInt64(sum(id) AS b), b FROM test WHERE `toUInt64(sum(id))` = 3', required columns: 'toUInt64(sum(id))' 'id', maybe you meant: 'id'. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36090) (comment: 01076_predicate_optimizer_with_view.sql) (in query: SELECT * FROM (SELECT toUInt64(b), sum(id) AS b FROM test) WHERE `toUInt64(sum(id))` = 3;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:41: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbca1d3 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc249d4 in /usr/bin/clickhouse 16. /build/src/Interpreters/JoinedTables.cpp:202: DB::JoinedTables::makeLeftTableSubquery(DB::SelectQueryOptions const&) @ 0x000000001cc2022d in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:716: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caafb5d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 2024.09.24 01:23:47.295527 [ 22249 ] {3d71320f-ad37-432e-8da1-956bb03213f7} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toUInt64(sum(id))' while processing query: 'SELECT toUInt64(sum(id) AS b), b FROM test WHERE `toUInt64(sum(id))` = 3', required columns: 'toUInt64(sum(id))' 'id', maybe you meant: 'id'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:41: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbca1d3 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc249d4 in /usr/bin/clickhouse 16. /build/src/Interpreters/JoinedTables.cpp:202: DB::JoinedTables::makeLeftTableSubquery(DB::SelectQueryOptions const&) @ 0x000000001cc2022d in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:716: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caafb5d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 2024.09.24 01:23:47.643022 [ 16833 ] {} DDLWorker(test_swzlnoc2_repl_01111_3): Error on initialization of test_swzlnoc2_repl_01111_3: Code: 57. DB::Exception: Directory for table data store/615/6153e91d-b01e-40fd-a812-c130cb6b1021/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1390: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f5eae in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 9. /build/src/Databases/DatabaseReplicated.cpp:1021: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001bb15598 in /usr/bin/clickhouse 10. /build/src/Databases/DatabaseReplicatedWorker.cpp:119: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001bb3e5f7 in /usr/bin/clickhouse 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001bb3c7ba in /usr/bin/clickhouse 12. /build/src/Interpreters/DDLWorker.cpp:1120: DB::DDLWorker::runMainThread() @ 0x000000001bebc2b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x000000001bed7f69 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001bed7eed in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001bed7e3d in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001bed7d55 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x000000001bed7cb5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x000000001bed7c95 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001bed7c75 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001bed7c40 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a610e2 in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:49.307437 [ 17017 ] {} DDLWorker(test_swzlnoc2_repl_01111_5): Error on initialization of test_swzlnoc2_repl_01111_5: Code: 57. DB::Exception: Directory for table data store/615/6153e91d-b01e-40fd-a812-c130cb6b1021/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1390: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f5eae in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 9. /build/src/Databases/DatabaseReplicated.cpp:1021: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001bb15598 in /usr/bin/clickhouse 10. /build/src/Databases/DatabaseReplicatedWorker.cpp:119: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001bb3e5f7 in /usr/bin/clickhouse 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001bb3c7ba in /usr/bin/clickhouse 12. /build/src/Interpreters/DDLWorker.cpp:1120: DB::DDLWorker::runMainThread() @ 0x000000001bebc2b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x000000001bed7f69 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001bed7eed in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001bed7e3d in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001bed7d55 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x000000001bed7cb5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x000000001bed7c95 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001bed7c75 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001bed7c40 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a610e2 in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:50.947168 [ 6138 ] {5a470439-c171-4b6a-85f0-4b1c32b60b33} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `non_existing_column` to drop. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53632) (comment: 01079_bad_alters_zookeeper_long.sh) (in query: ALTER TABLE table_for_bad_alters MODIFY COLUMN value1 UInt32, DROP COLUMN non_existing_column), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d5905d9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:50.948854 [ 6138 ] {5a470439-c171-4b6a-85f0-4b1c32b60b33} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `non_existing_column` to drop. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d5905d9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:51.767140 [ 22252 ] {0ae209b9-d14a-4911-af93-74b69a32bb25} HedgedConnectionsFactory: Connection failed at try â„–3, reason: Timeout exceeded while reading from socket (socket (127.0.0.2:9000), receive timeout 10000 ms) 2024.09.24 01:23:51.947062 [ 22252 ] {0ae209b9-d14a-4911-af93-74b69a32bb25} executeQuery: Code: 519. DB::NetException: All attempts to get table structure failed. Log: Code: 279. DB::NetException: All connection tries failed. Log: Timeout exceeded while reading from socket (socket (127.0.0.2:9000), receive timeout 10000 ms) Timeout exceeded while reading from socket (socket (127.0.0.2:9000), receive timeout 10000 ms) Timeout exceeded while reading from socket (socket (127.0.0.2:9000), receive timeout 10000 ms) . (ALL_CONNECTION_TRIES_FAILED) (version 23.8.16.41.altinitystable (altinity build)) . (NO_REMOTE_SHARD_AVAILABLE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:33228) (comment: 01119_session_log.sql) (in query: SELECT * FROM remote('127.0.0.2', system, one, ' INTERSERVER SECRET ', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String&) @ 0x000000001da4e793 in /usr/bin/clickhouse 6. /build/src/Storages/getStructureOfRemoteTable.cpp:166: DB::getStructureOfRemoteTable(DB::Cluster const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x000000001da4d336 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionRemote.cpp:345: DB::TableFunctionRemote::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a94d1e2 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionRemote.cpp:305: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a94c6f6 in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:51.947146 [ 22253 ] {6f757c9d-e7f4-47fa-bfbd-29eaded12333} executeQuery: Code: 253. DB::Exception: Replica 1 of shard 1 of replicated database at /test/01111/01111_create_drop_replicated_db_stress_test_swzlnoc2 already exists. Replica host ID: 'b96667adc7fc:9000:c11bec64-d161-4004-a04b-a7ac68a4a59b', current host ID: 'b96667adc7fc:9000:5bb47332-11c0-41cc-8bca-1c717d8b2351'. (REPLICA_ALREADY_EXISTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53680) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: create database if not exists test_swzlnoc2_repl_01111_7 engine=Replicated('/test/01111/01111_create_drop_replicated_db_stress_test_swzlnoc2', '1', '1')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&, String&, String&) @ 0x000000001bb23f3a in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicated.cpp:346: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x000000001bb06890 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:495: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x000000001bb09063 in /usr/bin/clickhouse 8. /build/src/Databases/TablesLoader.cpp:61: DB::TablesLoader::loadTables() @ 0x000000001c8ad2a2 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:328: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x000000001c7e5fae in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1728: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f939f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:51.948701 [ 22252 ] {0ae209b9-d14a-4911-af93-74b69a32bb25} TCPHandler: Code: 519. DB::NetException: All attempts to get table structure failed. Log: Code: 279. DB::NetException: All connection tries failed. Log: Timeout exceeded while reading from socket (socket (127.0.0.2:9000), receive timeout 10000 ms) Timeout exceeded while reading from socket (socket (127.0.0.2:9000), receive timeout 10000 ms) Timeout exceeded while reading from socket (socket (127.0.0.2:9000), receive timeout 10000 ms) . (ALL_CONNECTION_TRIES_FAILED) (version 23.8.16.41.altinitystable (altinity build)) . (NO_REMOTE_SHARD_AVAILABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String&) @ 0x000000001da4e793 in /usr/bin/clickhouse 6. /build/src/Storages/getStructureOfRemoteTable.cpp:166: DB::getStructureOfRemoteTable(DB::Cluster const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x000000001da4d336 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionRemote.cpp:345: DB::TableFunctionRemote::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a94d1e2 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionRemote.cpp:305: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a94c6f6 in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:51.949686 [ 22253 ] {6f757c9d-e7f4-47fa-bfbd-29eaded12333} TCPHandler: Code: 253. DB::Exception: Replica 1 of shard 1 of replicated database at /test/01111/01111_create_drop_replicated_db_stress_test_swzlnoc2 already exists. Replica host ID: 'b96667adc7fc:9000:c11bec64-d161-4004-a04b-a7ac68a4a59b', current host ID: 'b96667adc7fc:9000:5bb47332-11c0-41cc-8bca-1c717d8b2351'. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&, String&, String&) @ 0x000000001bb23f3a in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicated.cpp:346: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x000000001bb06890 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:495: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x000000001bb09063 in /usr/bin/clickhouse 8. /build/src/Databases/TablesLoader.cpp:61: DB::TablesLoader::loadTables() @ 0x000000001c8ad2a2 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:328: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x000000001c7e5fae in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1728: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f939f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:51.963951 [ 22251 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: : Authentication failed: Code: 192. DB::Exception: There is no user ` ` in local_directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f7bec in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:682: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x000000001b0f62f9 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f93fd in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f91af in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b183f89 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x000000001b0f90fa in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb30cc in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf9049 in /usr/bin/clickhouse 13. /build/src/Interpreters/Session.cpp:333: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf8529 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:1362: DB::TCPHandler::receiveHello() @ 0x000000001e64a0ff in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:247: DB::TCPHandler::runImpl() @ 0x000000001e640eb6 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:51.965250 [ 22251 ] {} ServerErrorHandler: Code: 516. DB::Exception: : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb34a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf9049 in /usr/bin/clickhouse 8. /build/src/Interpreters/Session.cpp:333: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf8529 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1362: DB::TCPHandler::receiveHello() @ 0x000000001e64a0ff in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:247: DB::TCPHandler::runImpl() @ 0x000000001e640eb6 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:51.966617 [ 22252 ] {1db85faf-65da-4506-9eb0-c6ff57639e7f} executeQuery: Code: 516. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: : Authentication failed: password is incorrect, or there is no user with such name.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb34a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf9049 in /usr/bin/clickhouse 8. /build/src/Interpreters/Session.cpp:333: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf8529 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1362: DB::TCPHandler::receiveHello() @ 0x000000001e64a0ff in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:247: DB::TCPHandler::runImpl() @ 0x000000001e640eb6 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? . (AUTHENTICATION_FAILED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:33228) (comment: 01119_session_log.sql) (in query: SELECT * FROM remote('127.0.0.2', system, one, ' ', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b200fea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b200f95 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1364: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x0000000013983722 in /usr/bin/clickhouse 7. /build/src/Client/Connection.cpp:1150: DB::Connection::receiveException() const @ 0x000000001e4c6199 in /usr/bin/clickhouse 8. /build/src/Client/Connection.cpp:375: DB::Connection::receiveHello(Poco::Timespan const&) @ 0x000000001e4c5c01 in /usr/bin/clickhouse 9. /build/src/Client/Connection.cpp:191: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000001e4c46d1 in /usr/bin/clickhouse 10. /build/src/Client/Connection.cpp:0: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000001e4c6533 in /usr/bin/clickhouse 11. /build/src/Client/ConnectionEstablisher.cpp:46: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000001e4f54d9 in /usr/bin/clickhouse 12. /build/src/Client/ConnectionEstablisher.cpp:128: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000001e4f6ea4 in /usr/bin/clickhouse 13. /build/src/Common/AsyncTaskExecutor.cpp:88: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x000000001b89db01 in /usr/bin/clickhouse 14. /build/src/Common/Fiber.h:70: Fiber::RoutineImpl::operator()(boost::context::fiber&&) @ 0x000000001b89da18 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval())) std::__invoke[abi:v15000]&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x000000001b89d9a8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x000000001b89d968 in /usr/bin/clickhouse 17. /build/contrib/boost/boost/context/fiber_fcontext.hpp:157: boost::context::detail::fiber_record>::run(void*) @ 0x000000001b89d89e in /usr/bin/clickhouse 18. /build/contrib/boost/boost/context/fiber_fcontext.hpp:97: void boost::context::detail::fiber_entry>>(boost::context::detail::transfer_t) @ 0x000000001b89d71d in /usr/bin/clickhouse 2024.09.24 01:23:51.967346 [ 22252 ] {1db85faf-65da-4506-9eb0-c6ff57639e7f} TCPHandler: Code: 516. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: : Authentication failed: password is incorrect, or there is no user with such name.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb34a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf9049 in /usr/bin/clickhouse 8. /build/src/Interpreters/Session.cpp:333: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf8529 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1362: DB::TCPHandler::receiveHello() @ 0x000000001e64a0ff in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:247: DB::TCPHandler::runImpl() @ 0x000000001e640eb6 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b200fea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b200f95 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1364: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x0000000013983722 in /usr/bin/clickhouse 7. /build/src/Client/Connection.cpp:1150: DB::Connection::receiveException() const @ 0x000000001e4c6199 in /usr/bin/clickhouse 8. /build/src/Client/Connection.cpp:375: DB::Connection::receiveHello(Poco::Timespan const&) @ 0x000000001e4c5c01 in /usr/bin/clickhouse 9. /build/src/Client/Connection.cpp:191: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000001e4c46d1 in /usr/bin/clickhouse 10. /build/src/Client/Connection.cpp:0: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000001e4c6533 in /usr/bin/clickhouse 11. /build/src/Client/ConnectionEstablisher.cpp:46: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000001e4f54d9 in /usr/bin/clickhouse 12. /build/src/Client/ConnectionEstablisher.cpp:128: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000001e4f6ea4 in /usr/bin/clickhouse 13. /build/src/Common/AsyncTaskExecutor.cpp:88: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x000000001b89db01 in /usr/bin/clickhouse 14. /build/src/Common/Fiber.h:70: Fiber::RoutineImpl::operator()(boost::context::fiber&&) @ 0x000000001b89da18 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval())) std::__invoke[abi:v15000]&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x000000001b89d9a8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x000000001b89d968 in /usr/bin/clickhouse 17. /build/contrib/boost/boost/context/fiber_fcontext.hpp:157: boost::context::detail::fiber_record>::run(void*) @ 0x000000001b89d89e in /usr/bin/clickhouse 18. /build/contrib/boost/boost/context/fiber_fcontext.hpp:97: void boost::context::detail::fiber_entry>>(boost::context::detail::transfer_t) @ 0x000000001b89d71d in /usr/bin/clickhouse 2024.09.24 01:23:52.189597 [ 22255 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f983e in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:751: DB::IAccessStorage::throwInvalidCredentials() @ 0x000000001b0f9671 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:535: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f939d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f91af in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b183f89 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x000000001b0f90fa in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb30cc in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf9049 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bdb5f in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5be87b in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:52.190559 [ 22255 ] {} DynamicQueryHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb34a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf9049 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bdb5f in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5be87b in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:52.195418 [ 22255 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f983e in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:751: DB::IAccessStorage::throwInvalidCredentials() @ 0x000000001b0f9671 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:535: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f939d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f91af in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b183f89 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x000000001b0f90fa in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb30cc in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf9049 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bdb5f in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5be87b in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:52.196416 [ 22255 ] {} DynamicQueryHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb34a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf9049 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bdb5f in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5be87b in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:52.368027 [ 2694 ] {e2ab58a4-939e-40f5-a073-887be0ec13ce} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=default&password=wrong. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED) (version 23.8.16.41.altinitystable (altinity build)) . (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x0000000013cae444 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:418: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013ca266b in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:31: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013cae211 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:407: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x0000000013ca250b in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:386: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x0000000013ca2326 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.cpp:162: DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&, bool) @ 0x0000000017c66450 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.cpp:341: DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool, bool) @ 0x0000000017c6a250 in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.cpp:378: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x0000000017c68c20 in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.cpp:504: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x0000000017c6b256 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2189bc in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:105: DB::loadAtPosition(DB::ReadBuffer&, DB::Memory>&, char*&) @ 0x0000000013984016 in /usr/bin/clickhouse 16. /build/src/Processors/Formats/Impl/LineAsStringRowInputFormat.cpp:85: DB::segmentationEngine(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x000000001e8cf20c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>()(std::declval(), std::declval>&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x000000001e7d359b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::pair std::__invoke_void_return_wrapper, false>::__call (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x000000001e7d3535 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x000000001e7d34d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::pair std::__function::__policy_invoker (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::__call_impl (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x000000001e7d345d in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) const @ 0x000000001e92c61c in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) const @ 0x000000001e927835 in /usr/bin/clickhouse 23. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:43: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x000000001e925d83 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval)>()(std::declval&>())) std::__invoke[abi:v15000]), DB::ParallelParsingInputFormat*&, std::shared_ptr&, void>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), DB::ParallelParsingInputFormat*&, std::shared_ptr&) @ 0x000000001e92cf4a in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul>) @ 0x000000001e92ce9e in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&) @ 0x000000001e92cd3d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x000000001e92cc17 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval)>()(std::declval(), std::declval>())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&) @ 0x000000001e92cb75 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&) @ 0x000000001e92cb55 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e92cb35 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e92cb00 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:52.374054 [ 22252 ] {e2ab58a4-939e-40f5-a073-887be0ec13ce} executeQuery: Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=default&password=wrong. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED) (version 23.8.16.41.altinitystable (altinity build)) : While executing ParallelParsingBlockInputFormat: While executing URL. (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:33228) (comment: 01119_session_log.sql) (in query: select * from url('http://127.0.0.1:8123/?query=select+1&user=default&password=wrong', LineAsString, 's String');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x0000000013cae444 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:418: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013ca266b in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:31: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013cae211 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:407: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x0000000013ca250b in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:386: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x0000000013ca2326 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.cpp:162: DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&, bool) @ 0x0000000017c66450 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.cpp:341: DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool, bool) @ 0x0000000017c6a250 in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.cpp:378: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x0000000017c68c20 in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.cpp:504: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x0000000017c6b256 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2189bc in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:105: DB::loadAtPosition(DB::ReadBuffer&, DB::Memory>&, char*&) @ 0x0000000013984016 in /usr/bin/clickhouse 16. /build/src/Processors/Formats/Impl/LineAsStringRowInputFormat.cpp:85: DB::segmentationEngine(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x000000001e8cf20c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>()(std::declval(), std::declval>&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x000000001e7d359b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::pair std::__invoke_void_return_wrapper, false>::__call (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x000000001e7d3535 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x000000001e7d34d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::pair std::__function::__policy_invoker (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::__call_impl (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x000000001e7d345d in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) const @ 0x000000001e92c61c in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) const @ 0x000000001e927835 in /usr/bin/clickhouse 23. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:43: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x000000001e925d83 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval)>()(std::declval&>())) std::__invoke[abi:v15000]), DB::ParallelParsingInputFormat*&, std::shared_ptr&, void>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), DB::ParallelParsingInputFormat*&, std::shared_ptr&) @ 0x000000001e92cf4a in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul>) @ 0x000000001e92ce9e in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&) @ 0x000000001e92cd3d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x000000001e92cc17 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval)>()(std::declval(), std::declval>())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&) @ 0x000000001e92cb75 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&) @ 0x000000001e92cb55 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e92cb35 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e92cb00 in /usr/bin/clickhouse 2024.09.24 01:23:52.377995 [ 22252 ] {e2ab58a4-939e-40f5-a073-887be0ec13ce} TCPHandler: Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=default&password=wrong. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED) (version 23.8.16.41.altinitystable (altinity build)) : While executing ParallelParsingBlockInputFormat: While executing URL. (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x0000000013cae444 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:418: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013ca266b in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:31: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013cae211 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:407: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x0000000013ca250b in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:386: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x0000000013ca2326 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.cpp:162: DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&, bool) @ 0x0000000017c66450 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.cpp:341: DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool, bool) @ 0x0000000017c6a250 in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.cpp:378: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x0000000017c68c20 in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.cpp:504: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x0000000017c6b256 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2189bc in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:105: DB::loadAtPosition(DB::ReadBuffer&, DB::Memory>&, char*&) @ 0x0000000013984016 in /usr/bin/clickhouse 16. /build/src/Processors/Formats/Impl/LineAsStringRowInputFormat.cpp:85: DB::segmentationEngine(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x000000001e8cf20c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>()(std::declval(), std::declval>&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x000000001e7d359b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::pair std::__invoke_void_return_wrapper, false>::__call (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x000000001e7d3535 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x000000001e7d34d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::pair std::__function::__policy_invoker (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::__call_impl (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x000000001e7d345d in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) const @ 0x000000001e92c61c in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) const @ 0x000000001e927835 in /usr/bin/clickhouse 23. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:43: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x000000001e925d83 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval)>()(std::declval&>())) std::__invoke[abi:v15000]), DB::ParallelParsingInputFormat*&, std::shared_ptr&, void>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), DB::ParallelParsingInputFormat*&, std::shared_ptr&) @ 0x000000001e92cf4a in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul>) @ 0x000000001e92ce9e in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&) @ 0x000000001e92cd3d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x000000001e92cc17 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval)>()(std::declval(), std::declval>())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&) @ 0x000000001e92cb75 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&) @ 0x000000001e92cb55 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e92cb35 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e92cb00 in /usr/bin/clickhouse 2024.09.24 01:23:52.399282 [ 22255 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: nonexistsnt_user_1119: Authentication failed: Code: 192. DB::Exception: There is no user `nonexistsnt_user_1119` in local_directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f7bec in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:682: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x000000001b0f62f9 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f93fd in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f91af in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b183f89 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x000000001b0f90fa in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb30cc in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf9049 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bdb5f in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5be87b in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:52.400043 [ 22255 ] {} DynamicQueryHandler: Code: 516. DB::Exception: nonexistsnt_user_1119: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb34a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf9049 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bdb5f in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5be87b in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:52.405243 [ 22255 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: nonexistsnt_user_1119: Authentication failed: Code: 192. DB::Exception: There is no user `nonexistsnt_user_1119` in local_directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f7bec in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:682: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x000000001b0f62f9 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f93fd in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f91af in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b183f89 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x000000001b0f90fa in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb30cc in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf9049 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bdb5f in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5be87b in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:52.406003 [ 22255 ] {} DynamicQueryHandler: Code: 516. DB::Exception: nonexistsnt_user_1119: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb34a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf9049 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bdb5f in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5be87b in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:52.407899 [ 17372 ] {0ea2d8e1-9ca0-4163-b409-8bb0822c4928} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=nonexistsnt_user_1119. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: nonexistsnt_user_1119: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED) (version 23.8.16.41.altinitystable (altinity build)) . (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x0000000013cae444 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:418: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013ca266b in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:31: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013cae211 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:407: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x0000000013ca250b in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:386: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x0000000013ca2326 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.cpp:162: DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&, bool) @ 0x0000000017c66450 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.cpp:341: DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool, bool) @ 0x0000000017c6a250 in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.cpp:378: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x0000000017c68c20 in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.cpp:504: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x0000000017c6b256 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2189bc in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:105: DB::loadAtPosition(DB::ReadBuffer&, DB::Memory>&, char*&) @ 0x0000000013984016 in /usr/bin/clickhouse 16. /build/src/Processors/Formats/Impl/LineAsStringRowInputFormat.cpp:85: DB::segmentationEngine(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x000000001e8cf20c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>()(std::declval(), std::declval>&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x000000001e7d359b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::pair std::__invoke_void_return_wrapper, false>::__call (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x000000001e7d3535 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x000000001e7d34d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::pair std::__function::__policy_invoker (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::__call_impl (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x000000001e7d345d in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) const @ 0x000000001e92c61c in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) const @ 0x000000001e927835 in /usr/bin/clickhouse 23. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:43: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x000000001e925d83 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval)>()(std::declval&>())) std::__invoke[abi:v15000]), DB::ParallelParsingInputFormat*&, std::shared_ptr&, void>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), DB::ParallelParsingInputFormat*&, std::shared_ptr&) @ 0x000000001e92cf4a in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul>) @ 0x000000001e92ce9e in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&) @ 0x000000001e92cd3d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x000000001e92cc17 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval)>()(std::declval(), std::declval>())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&) @ 0x000000001e92cb75 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&) @ 0x000000001e92cb55 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e92cb35 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e92cb00 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:52.413423 [ 22252 ] {0ea2d8e1-9ca0-4163-b409-8bb0822c4928} executeQuery: Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=nonexistsnt_user_1119. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: nonexistsnt_user_1119: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED) (version 23.8.16.41.altinitystable (altinity build)) : While executing ParallelParsingBlockInputFormat: While executing URL. (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:33228) (comment: 01119_session_log.sql) (in query: select * from url('http://127.0.0.1:8123/?query=select+1&user=nonexistsnt_user_1119', LineAsString, 's String');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x0000000013cae444 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:418: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013ca266b in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:31: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013cae211 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:407: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x0000000013ca250b in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:386: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x0000000013ca2326 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.cpp:162: DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&, bool) @ 0x0000000017c66450 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.cpp:341: DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool, bool) @ 0x0000000017c6a250 in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.cpp:378: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x0000000017c68c20 in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.cpp:504: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x0000000017c6b256 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2189bc in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:105: DB::loadAtPosition(DB::ReadBuffer&, DB::Memory>&, char*&) @ 0x0000000013984016 in /usr/bin/clickhouse 16. /build/src/Processors/Formats/Impl/LineAsStringRowInputFormat.cpp:85: DB::segmentationEngine(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x000000001e8cf20c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>()(std::declval(), std::declval>&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x000000001e7d359b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::pair std::__invoke_void_return_wrapper, false>::__call (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x000000001e7d3535 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x000000001e7d34d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::pair std::__function::__policy_invoker (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::__call_impl (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x000000001e7d345d in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) const @ 0x000000001e92c61c in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) const @ 0x000000001e927835 in /usr/bin/clickhouse 23. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:43: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x000000001e925d83 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval)>()(std::declval&>())) std::__invoke[abi:v15000]), DB::ParallelParsingInputFormat*&, std::shared_ptr&, void>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), DB::ParallelParsingInputFormat*&, std::shared_ptr&) @ 0x000000001e92cf4a in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul>) @ 0x000000001e92ce9e in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&) @ 0x000000001e92cd3d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x000000001e92cc17 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval)>()(std::declval(), std::declval>())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&) @ 0x000000001e92cb75 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&) @ 0x000000001e92cb55 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e92cb35 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e92cb00 in /usr/bin/clickhouse 2024.09.24 01:23:52.416572 [ 22252 ] {0ea2d8e1-9ca0-4163-b409-8bb0822c4928} TCPHandler: Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=nonexistsnt_user_1119. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: nonexistsnt_user_1119: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED) (version 23.8.16.41.altinitystable (altinity build)) : While executing ParallelParsingBlockInputFormat: While executing URL. (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x0000000013cae444 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:418: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013ca266b in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:31: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013cae211 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:407: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x0000000013ca250b in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:386: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x0000000013ca2326 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.cpp:162: DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&, bool) @ 0x0000000017c66450 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.cpp:341: DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool, bool) @ 0x0000000017c6a250 in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.cpp:378: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x0000000017c68c20 in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.cpp:504: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x0000000017c6b256 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2189bc in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:105: DB::loadAtPosition(DB::ReadBuffer&, DB::Memory>&, char*&) @ 0x0000000013984016 in /usr/bin/clickhouse 16. /build/src/Processors/Formats/Impl/LineAsStringRowInputFormat.cpp:85: DB::segmentationEngine(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x000000001e8cf20c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>()(std::declval(), std::declval>&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x000000001e7d359b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::pair std::__invoke_void_return_wrapper, false>::__call (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x000000001e7d3535 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x000000001e7d34d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::pair std::__function::__policy_invoker (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::__call_impl (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x000000001e7d345d in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) const @ 0x000000001e92c61c in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) const @ 0x000000001e927835 in /usr/bin/clickhouse 23. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:43: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x000000001e925d83 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval)>()(std::declval&>())) std::__invoke[abi:v15000]), DB::ParallelParsingInputFormat*&, std::shared_ptr&, void>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), DB::ParallelParsingInputFormat*&, std::shared_ptr&) @ 0x000000001e92cf4a in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul>) @ 0x000000001e92ce9e in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&) @ 0x000000001e92cd3d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x000000001e92cc17 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval)>()(std::declval(), std::declval>())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&) @ 0x000000001e92cb75 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&) @ 0x000000001e92cb55 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e92cb35 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e92cb00 in /usr/bin/clickhouse 2024.09.24 01:23:52.437255 [ 22255 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: INTERSERVER SECRET : Authentication failed: Code: 192. DB::Exception: There is no user ` INTERSERVER SECRET ` in local_directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f7bec in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:682: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x000000001b0f62f9 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f93fd in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f91af in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b183f89 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x000000001b0f90fa in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb30cc in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf9049 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bdb5f in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5be87b in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:52.438063 [ 22255 ] {} DynamicQueryHandler: Code: 516. DB::Exception: INTERSERVER SECRET : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb34a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf9049 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bdb5f in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5be87b in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:52.442430 [ 22255 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: INTERSERVER SECRET : Authentication failed: Code: 192. DB::Exception: There is no user ` INTERSERVER SECRET ` in local_directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f7bec in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:682: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x000000001b0f62f9 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f93fd in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f91af in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b183f89 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x000000001b0f90fa in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb30cc in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf9049 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bdb5f in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5be87b in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:52.443135 [ 22255 ] {} DynamicQueryHandler: Code: 516. DB::Exception: INTERSERVER SECRET : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb34a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf9049 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bdb5f in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5be87b in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:52.444535 [ 2674 ] {59d758b0-905a-464b-9adc-5205228c0d46} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=+INTERSERVER+SECRET+. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: INTERSERVER SECRET : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED) (version 23.8.16.41.altinitystable (altinity build)) . (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x0000000013cae444 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:418: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013ca266b in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:31: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013cae211 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:407: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x0000000013ca250b in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:386: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x0000000013ca2326 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.cpp:162: DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&, bool) @ 0x0000000017c66450 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.cpp:341: DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool, bool) @ 0x0000000017c6a250 in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.cpp:378: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x0000000017c68c20 in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.cpp:504: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x0000000017c6b256 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2189bc in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:105: DB::loadAtPosition(DB::ReadBuffer&, DB::Memory>&, char*&) @ 0x0000000013984016 in /usr/bin/clickhouse 16. /build/src/Processors/Formats/Impl/LineAsStringRowInputFormat.cpp:85: DB::segmentationEngine(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x000000001e8cf20c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>()(std::declval(), std::declval>&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x000000001e7d359b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::pair std::__invoke_void_return_wrapper, false>::__call (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x000000001e7d3535 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x000000001e7d34d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::pair std::__function::__policy_invoker (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::__call_impl (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x000000001e7d345d in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) const @ 0x000000001e92c61c in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) const @ 0x000000001e927835 in /usr/bin/clickhouse 23. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:43: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x000000001e925d83 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval)>()(std::declval&>())) std::__invoke[abi:v15000]), DB::ParallelParsingInputFormat*&, std::shared_ptr&, void>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), DB::ParallelParsingInputFormat*&, std::shared_ptr&) @ 0x000000001e92cf4a in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul>) @ 0x000000001e92ce9e in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&) @ 0x000000001e92cd3d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x000000001e92cc17 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval)>()(std::declval(), std::declval>())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&) @ 0x000000001e92cb75 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&) @ 0x000000001e92cb55 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e92cb35 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e92cb00 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:52.450634 [ 22252 ] {59d758b0-905a-464b-9adc-5205228c0d46} executeQuery: Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=+INTERSERVER+SECRET+. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: INTERSERVER SECRET : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED) (version 23.8.16.41.altinitystable (altinity build)) : While executing ParallelParsingBlockInputFormat: While executing URL. (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:33228) (comment: 01119_session_log.sql) (in query: select * from url('http://127.0.0.1:8123/?query=select+1&user=+INTERSERVER+SECRET+', LineAsString, 's String');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x0000000013cae444 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:418: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013ca266b in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:31: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013cae211 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:407: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x0000000013ca250b in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:386: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x0000000013ca2326 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.cpp:162: DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&, bool) @ 0x0000000017c66450 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.cpp:341: DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool, bool) @ 0x0000000017c6a250 in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.cpp:378: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x0000000017c68c20 in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.cpp:504: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x0000000017c6b256 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2189bc in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:105: DB::loadAtPosition(DB::ReadBuffer&, DB::Memory>&, char*&) @ 0x0000000013984016 in /usr/bin/clickhouse 16. /build/src/Processors/Formats/Impl/LineAsStringRowInputFormat.cpp:85: DB::segmentationEngine(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x000000001e8cf20c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>()(std::declval(), std::declval>&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x000000001e7d359b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::pair std::__invoke_void_return_wrapper, false>::__call (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x000000001e7d3535 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x000000001e7d34d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::pair std::__function::__policy_invoker (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::__call_impl (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x000000001e7d345d in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) const @ 0x000000001e92c61c in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) const @ 0x000000001e927835 in /usr/bin/clickhouse 23. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:43: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x000000001e925d83 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval)>()(std::declval&>())) std::__invoke[abi:v15000]), DB::ParallelParsingInputFormat*&, std::shared_ptr&, void>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), DB::ParallelParsingInputFormat*&, std::shared_ptr&) @ 0x000000001e92cf4a in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul>) @ 0x000000001e92ce9e in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&) @ 0x000000001e92cd3d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x000000001e92cc17 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval)>()(std::declval(), std::declval>())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&) @ 0x000000001e92cb75 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&) @ 0x000000001e92cb55 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e92cb35 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e92cb00 in /usr/bin/clickhouse 2024.09.24 01:23:52.453511 [ 22252 ] {59d758b0-905a-464b-9adc-5205228c0d46} TCPHandler: Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=+INTERSERVER+SECRET+. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: INTERSERVER SECRET : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED) (version 23.8.16.41.altinitystable (altinity build)) : While executing ParallelParsingBlockInputFormat: While executing URL. (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x0000000013cae444 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:418: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013ca266b in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:31: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013cae211 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:407: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x0000000013ca250b in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:386: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x0000000013ca2326 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.cpp:162: DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&, bool) @ 0x0000000017c66450 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.cpp:341: DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool, bool) @ 0x0000000017c6a250 in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.cpp:378: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x0000000017c68c20 in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.cpp:504: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x0000000017c6b256 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2189bc in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:105: DB::loadAtPosition(DB::ReadBuffer&, DB::Memory>&, char*&) @ 0x0000000013984016 in /usr/bin/clickhouse 16. /build/src/Processors/Formats/Impl/LineAsStringRowInputFormat.cpp:85: DB::segmentationEngine(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x000000001e8cf20c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>()(std::declval(), std::declval>&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x000000001e7d359b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::pair std::__invoke_void_return_wrapper, false>::__call (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x000000001e7d3535 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x000000001e7d34d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::pair std::__function::__policy_invoker (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::__call_impl (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x000000001e7d345d in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) const @ 0x000000001e92c61c in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) const @ 0x000000001e927835 in /usr/bin/clickhouse 23. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:43: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x000000001e925d83 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval)>()(std::declval&>())) std::__invoke[abi:v15000]), DB::ParallelParsingInputFormat*&, std::shared_ptr&, void>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), DB::ParallelParsingInputFormat*&, std::shared_ptr&) @ 0x000000001e92cf4a in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul>) @ 0x000000001e92ce9e in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&) @ 0x000000001e92cd3d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x000000001e92cc17 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval)>()(std::declval(), std::declval>())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&) @ 0x000000001e92cb75 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&) @ 0x000000001e92cb55 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e92cb35 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e92cb00 in /usr/bin/clickhouse 2024.09.24 01:23:52.473217 [ 22255 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: : Authentication failed: Code: 192. DB::Exception: There is no user ` ` in local_directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f7bec in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:682: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x000000001b0f62f9 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f93fd in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f91af in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b183f89 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x000000001b0f90fa in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb30cc in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf9049 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bdb5f in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5be87b in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:52.474117 [ 22255 ] {} DynamicQueryHandler: Code: 516. DB::Exception: : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb34a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf9049 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bdb5f in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5be87b in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:52.478664 [ 22255 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: : Authentication failed: Code: 192. DB::Exception: There is no user ` ` in local_directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f7bec in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:682: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x000000001b0f62f9 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f93fd in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f91af in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b183f89 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x000000001b0f90fa in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb30cc in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf9049 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bdb5f in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5be87b in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:52.479671 [ 22255 ] {} DynamicQueryHandler: Code: 516. DB::Exception: : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb34a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf9049 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bdb5f in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5be87b in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:52.481110 [ 16837 ] {ded05f55-c26e-4f69-85b1-f455071fa627} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=+++. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED) (version 23.8.16.41.altinitystable (altinity build)) . (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x0000000013cae444 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:418: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013ca266b in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:31: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013cae211 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:407: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x0000000013ca250b in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:386: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x0000000013ca2326 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.cpp:162: DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&, bool) @ 0x0000000017c66450 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.cpp:341: DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool, bool) @ 0x0000000017c6a250 in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.cpp:378: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x0000000017c68c20 in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.cpp:504: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x0000000017c6b256 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2189bc in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:105: DB::loadAtPosition(DB::ReadBuffer&, DB::Memory>&, char*&) @ 0x0000000013984016 in /usr/bin/clickhouse 16. /build/src/Processors/Formats/Impl/LineAsStringRowInputFormat.cpp:85: DB::segmentationEngine(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x000000001e8cf20c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>()(std::declval(), std::declval>&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x000000001e7d359b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::pair std::__invoke_void_return_wrapper, false>::__call (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x000000001e7d3535 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x000000001e7d34d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::pair std::__function::__policy_invoker (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::__call_impl (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x000000001e7d345d in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) const @ 0x000000001e92c61c in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) const @ 0x000000001e927835 in /usr/bin/clickhouse 23. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:43: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x000000001e925d83 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval)>()(std::declval&>())) std::__invoke[abi:v15000]), DB::ParallelParsingInputFormat*&, std::shared_ptr&, void>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), DB::ParallelParsingInputFormat*&, std::shared_ptr&) @ 0x000000001e92cf4a in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul>) @ 0x000000001e92ce9e in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&) @ 0x000000001e92cd3d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x000000001e92cc17 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval)>()(std::declval(), std::declval>())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&) @ 0x000000001e92cb75 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&) @ 0x000000001e92cb55 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e92cb35 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e92cb00 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:52.486138 [ 22252 ] {ded05f55-c26e-4f69-85b1-f455071fa627} executeQuery: Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=+++. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED) (version 23.8.16.41.altinitystable (altinity build)) : While executing ParallelParsingBlockInputFormat: While executing URL. (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:33228) (comment: 01119_session_log.sql) (in query: select * from url('http://127.0.0.1:8123/?query=select+1&user=+++', LineAsString, 's String');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x0000000013cae444 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:418: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013ca266b in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:31: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013cae211 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:407: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x0000000013ca250b in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:386: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x0000000013ca2326 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.cpp:162: DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&, bool) @ 0x0000000017c66450 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.cpp:341: DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool, bool) @ 0x0000000017c6a250 in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.cpp:378: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x0000000017c68c20 in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.cpp:504: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x0000000017c6b256 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2189bc in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:105: DB::loadAtPosition(DB::ReadBuffer&, DB::Memory>&, char*&) @ 0x0000000013984016 in /usr/bin/clickhouse 16. /build/src/Processors/Formats/Impl/LineAsStringRowInputFormat.cpp:85: DB::segmentationEngine(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x000000001e8cf20c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>()(std::declval(), std::declval>&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x000000001e7d359b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::pair std::__invoke_void_return_wrapper, false>::__call (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x000000001e7d3535 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x000000001e7d34d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::pair std::__function::__policy_invoker (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::__call_impl (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x000000001e7d345d in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) const @ 0x000000001e92c61c in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) const @ 0x000000001e927835 in /usr/bin/clickhouse 23. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:43: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x000000001e925d83 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval)>()(std::declval&>())) std::__invoke[abi:v15000]), DB::ParallelParsingInputFormat*&, std::shared_ptr&, void>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), DB::ParallelParsingInputFormat*&, std::shared_ptr&) @ 0x000000001e92cf4a in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul>) @ 0x000000001e92ce9e in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&) @ 0x000000001e92cd3d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x000000001e92cc17 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval)>()(std::declval(), std::declval>())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&) @ 0x000000001e92cb75 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&) @ 0x000000001e92cb55 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e92cb35 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e92cb00 in /usr/bin/clickhouse 2024.09.24 01:23:52.490053 [ 22252 ] {ded05f55-c26e-4f69-85b1-f455071fa627} TCPHandler: Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=+++. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED) (version 23.8.16.41.altinitystable (altinity build)) : While executing ParallelParsingBlockInputFormat: While executing URL. (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x0000000013cae444 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:418: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013ca266b in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:31: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013cae211 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:407: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x0000000013ca250b in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:386: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x0000000013ca2326 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.cpp:162: DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&, bool) @ 0x0000000017c66450 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.cpp:341: DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool, bool) @ 0x0000000017c6a250 in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.cpp:378: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x0000000017c68c20 in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.cpp:504: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x0000000017c6b256 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2189bc in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:105: DB::loadAtPosition(DB::ReadBuffer&, DB::Memory>&, char*&) @ 0x0000000013984016 in /usr/bin/clickhouse 16. /build/src/Processors/Formats/Impl/LineAsStringRowInputFormat.cpp:85: DB::segmentationEngine(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x000000001e8cf20c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>()(std::declval(), std::declval>&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x000000001e7d359b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::pair std::__invoke_void_return_wrapper, false>::__call (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x000000001e7d3535 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x000000001e7d34d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::pair std::__function::__policy_invoker (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::__call_impl (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x000000001e7d345d in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) const @ 0x000000001e92c61c in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) const @ 0x000000001e927835 in /usr/bin/clickhouse 23. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:43: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x000000001e925d83 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval)>()(std::declval&>())) std::__invoke[abi:v15000]), DB::ParallelParsingInputFormat*&, std::shared_ptr&, void>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), DB::ParallelParsingInputFormat*&, std::shared_ptr&) @ 0x000000001e92cf4a in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul>) @ 0x000000001e92ce9e in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&) @ 0x000000001e92cd3d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x000000001e92cc17 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval)>()(std::declval(), std::declval>())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&) @ 0x000000001e92cb75 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&) @ 0x000000001e92cb55 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e92cb35 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e92cb00 in /usr/bin/clickhouse 2024.09.24 01:23:54.066895 [ 6138 ] {872eb0fd-c2a2-44dd-9268-8dee4c06d985} executeQuery: Code: 253. DB::Exception: Replica 1 of shard 1 of replicated database at /test/01111/01111_create_drop_replicated_db_stress_test_swzlnoc2 already exists. Replica host ID: 'b96667adc7fc:9000:c11bec64-d161-4004-a04b-a7ac68a4a59b', current host ID: 'b96667adc7fc:9000:0ee2af6a-9bf0-47c4-bcc7-f2d185f0928f'. (REPLICA_ALREADY_EXISTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53784) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: create database if not exists test_swzlnoc2_repl_01111_13 engine=Replicated('/test/01111/01111_create_drop_replicated_db_stress_test_swzlnoc2', '1', '1')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&, String&, String&) @ 0x000000001bb23f3a in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicated.cpp:346: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x000000001bb06890 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:495: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x000000001bb09063 in /usr/bin/clickhouse 8. /build/src/Databases/TablesLoader.cpp:61: DB::TablesLoader::loadTables() @ 0x000000001c8ad2a2 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:328: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x000000001c7e5fae in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1728: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f939f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:54.068511 [ 6138 ] {872eb0fd-c2a2-44dd-9268-8dee4c06d985} TCPHandler: Code: 253. DB::Exception: Replica 1 of shard 1 of replicated database at /test/01111/01111_create_drop_replicated_db_stress_test_swzlnoc2 already exists. Replica host ID: 'b96667adc7fc:9000:c11bec64-d161-4004-a04b-a7ac68a4a59b', current host ID: 'b96667adc7fc:9000:0ee2af6a-9bf0-47c4-bcc7-f2d185f0928f'. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&, String&, String&) @ 0x000000001bb23f3a in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicated.cpp:346: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x000000001bb06890 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:495: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x000000001bb09063 in /usr/bin/clickhouse 8. /build/src/Databases/TablesLoader.cpp:61: DB::TablesLoader::loadTables() @ 0x000000001c8ad2a2 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:328: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x000000001c7e5fae in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1728: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f939f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:54.345771 [ 17017 ] {} DDLWorker(test_swzlnoc2_repl_01111_5): Error on initialization of test_swzlnoc2_repl_01111_5: Code: 57. DB::Exception: Directory for table data store/615/6153e91d-b01e-40fd-a812-c130cb6b1021/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1390: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f5eae in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 9. /build/src/Databases/DatabaseReplicated.cpp:1021: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001bb15598 in /usr/bin/clickhouse 10. /build/src/Databases/DatabaseReplicatedWorker.cpp:119: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001bb3e5f7 in /usr/bin/clickhouse 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001bb3c7ba in /usr/bin/clickhouse 12. /build/src/Interpreters/DDLWorker.cpp:1120: DB::DDLWorker::runMainThread() @ 0x000000001bebc2b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x000000001bed7f69 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001bed7eed in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001bed7e3d in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001bed7d55 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x000000001bed7cb5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x000000001bed7c95 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001bed7c75 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001bed7c40 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a610e2 in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:54.455679 [ 910 ] {} ff2da1c6-9eaa-435a-9d19-aac3f9020d07::all_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value2 :: 2, 'UInt32' :: 3) -> _CAST(value2, 'UInt32') UInt32 : 4': (while reading from part /var/lib/clickhouse/store/ff2/ff2da1c6-9eaa-435a-9d19-aac3f9020d07/all_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b217fb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b2c4b17 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b2bf818 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b2addb9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2ad0e8 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2ac2fe in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b238e10 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238da6 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238d40 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238ce0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b238c8b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionActions.cpp:780: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x000000001bf8506e in /usr/bin/clickhouse 31. /build/src/Interpreters/inplaceBlockConversions.cpp:184: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000001d0d0bb6 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:54.457035 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ff2da1c6-9eaa-435a-9d19-aac3f9020d07::all_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value2 :: 2, 'UInt32' :: 3) -> _CAST(value2, 'UInt32') UInt32 : 4': (while reading from part /var/lib/clickhouse/store/ff2/ff2da1c6-9eaa-435a-9d19-aac3f9020d07/all_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b217fb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b2c4b17 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b2bf818 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b2addb9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2ad0e8 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2ac2fe in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b238e10 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238da6 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238d40 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238ce0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b238c8b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionActions.cpp:780: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x000000001bf8506e in /usr/bin/clickhouse 31. /build/src/Interpreters/inplaceBlockConversions.cpp:184: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000001d0d0bb6 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:55.335736 [ 924 ] {} ff2da1c6-9eaa-435a-9d19-aac3f9020d07::all_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value2 :: 2, 'UInt32' :: 3) -> _CAST(value2, 'UInt32') UInt32 : 4': (while reading from part /var/lib/clickhouse/store/ff2/ff2da1c6-9eaa-435a-9d19-aac3f9020d07/all_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b217fb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b2c4b17 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b2bf818 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b2addb9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2ad0e8 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2ac2fe in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b238e10 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238da6 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238d40 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238ce0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b238c8b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionActions.cpp:780: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x000000001bf8506e in /usr/bin/clickhouse 31. /build/src/Interpreters/inplaceBlockConversions.cpp:184: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000001d0d0bb6 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:55.336970 [ 924 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ff2da1c6-9eaa-435a-9d19-aac3f9020d07::all_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value2 :: 2, 'UInt32' :: 3) -> _CAST(value2, 'UInt32') UInt32 : 4': (while reading from part /var/lib/clickhouse/store/ff2/ff2da1c6-9eaa-435a-9d19-aac3f9020d07/all_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b217fb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b2c4b17 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b2bf818 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b2addb9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2ad0e8 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2ac2fe in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b238e10 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238da6 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238d40 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238ce0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b238c8b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionActions.cpp:780: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x000000001bf8506e in /usr/bin/clickhouse 31. /build/src/Interpreters/inplaceBlockConversions.cpp:184: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000001d0d0bb6 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:56.456961 [ 915 ] {} ff2da1c6-9eaa-435a-9d19-aac3f9020d07::all_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value2 :: 2, 'UInt32' :: 3) -> _CAST(value2, 'UInt32') UInt32 : 4': (while reading from part /var/lib/clickhouse/store/ff2/ff2da1c6-9eaa-435a-9d19-aac3f9020d07/all_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b217fb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b2c4b17 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b2bf818 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b2addb9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2ad0e8 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2ac2fe in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b238e10 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238da6 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238d40 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238ce0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b238c8b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionActions.cpp:780: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x000000001bf8506e in /usr/bin/clickhouse 31. /build/src/Interpreters/inplaceBlockConversions.cpp:184: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000001d0d0bb6 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:56.458224 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ff2da1c6-9eaa-435a-9d19-aac3f9020d07::all_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value2 :: 2, 'UInt32' :: 3) -> _CAST(value2, 'UInt32') UInt32 : 4': (while reading from part /var/lib/clickhouse/store/ff2/ff2da1c6-9eaa-435a-9d19-aac3f9020d07/all_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b217fb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b2c4b17 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b2bf818 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b2addb9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2ad0e8 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2ac2fe in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b238e10 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238da6 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238d40 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238ce0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b238c8b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionActions.cpp:780: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x000000001bf8506e in /usr/bin/clickhouse 31. /build/src/Interpreters/inplaceBlockConversions.cpp:184: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000001d0d0bb6 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:56.643415 [ 6138 ] {7a6dae81-f072-4899-aa77-18c5bc7cd4bf} executeQuery: Code: 507. DB::Exception: No sharding key. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53892) (comment: 01071_force_optimize_skip_unused_shards.sql) (in query: select * from dist_01071;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [16]) @ 0x00000000138d2500 in /usr/bin/clickhouse 5. /build/src/Storages/StorageDistributed.cpp:1325: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001d657032 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001d655c68 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab743b in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:56.644232 [ 6138 ] {7a6dae81-f072-4899-aa77-18c5bc7cd4bf} TCPHandler: Code: 507. DB::Exception: No sharding key. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [16]) @ 0x00000000138d2500 in /usr/bin/clickhouse 5. /build/src/Storages/StorageDistributed.cpp:1325: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001d657032 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001d655c68 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab743b in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:56.880921 [ 6138 ] {da33f915-6fd3-4607-bcde-80da5920480b} executeQuery: Code: 507. DB::Exception: Sharding key modulo(key, 2) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53892) (comment: 01071_force_optimize_skip_unused_shards.sql) (in query: select * from dist_01071;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1329: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001d657160 in /usr/bin/clickhouse 7. /build/src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001d655c68 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab743b in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:56.881939 [ 6138 ] {da33f915-6fd3-4607-bcde-80da5920480b} TCPHandler: Code: 507. DB::Exception: Sharding key modulo(key, 2) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1329: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001d657160 in /usr/bin/clickhouse 7. /build/src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001d655c68 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab743b in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:56.896355 [ 6138 ] {93e9a5ce-d1fc-4002-bc77-6484861b2521} executeQuery: Code: 507. DB::Exception: Sharding key modulo(key, 2) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53892) (comment: 01071_force_optimize_skip_unused_shards.sql) (in query: select * from dist_01071;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1329: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001d657160 in /usr/bin/clickhouse 7. /build/src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001d655c68 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab743b in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:56.897363 [ 6138 ] {93e9a5ce-d1fc-4002-bc77-6484861b2521} TCPHandler: Code: 507. DB::Exception: Sharding key modulo(key, 2) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1329: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001d657160 in /usr/bin/clickhouse 7. /build/src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001d655c68 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab743b in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:56.918087 [ 16991 ] {} DDLWorker(test_swzlnoc2_repl_01111_9): Error on initialization of test_swzlnoc2_repl_01111_9: Code: 57. DB::Exception: Directory for table data store/615/6153e91d-b01e-40fd-a812-c130cb6b1021/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1390: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f5eae in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 9. /build/src/Databases/DatabaseReplicated.cpp:1021: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001bb15598 in /usr/bin/clickhouse 10. /build/src/Databases/DatabaseReplicatedWorker.cpp:119: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001bb3e5f7 in /usr/bin/clickhouse 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001bb3c7ba in /usr/bin/clickhouse 12. /build/src/Interpreters/DDLWorker.cpp:1120: DB::DDLWorker::runMainThread() @ 0x000000001bebc2b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x000000001bed7f69 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001bed7eed in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001bed7e3d in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001bed7d55 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x000000001bed7cb5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x000000001bed7c95 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001bed7c75 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001bed7c40 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a610e2 in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:57.193883 [ 6138 ] {d2bfc4f0-e0ad-4eb5-9b46-f75cfb3b9547} executeQuery: Code: 507. DB::Exception: Sharding key is not deterministic. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53892) (comment: 01071_force_optimize_skip_unused_shards.sql) (in query: select * from dist_01071 where key = 0;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [34]) @ 0x000000000b91eede in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1327: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001d6570a9 in /usr/bin/clickhouse 7. /build/src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001d655c68 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab743b in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:57.195111 [ 6138 ] {d2bfc4f0-e0ad-4eb5-9b46-f75cfb3b9547} TCPHandler: Code: 507. DB::Exception: Sharding key is not deterministic. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [34]) @ 0x000000000b91eede in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1327: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001d6570a9 in /usr/bin/clickhouse 7. /build/src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001d655c68 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab743b in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:57.342807 [ 22256 ] {3491c12a-01dc-44aa-8867-b41347f272d3} executeQuery: Code: 36. DB::Exception: ALTER ADD INDEX is not supported for tables with the old syntax. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53974) (comment: 01071_prohibition_secondary_index_with_old_format_merge_tree.sql) (in query: ALTER TABLE old_syntax_01071_test ADD INDEX id_minmax id TYPE minmax GRANULARITY 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [64]) @ 0x000000000bb580de in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3277: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de90767 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:57.342971 [ 22244 ] {49968446-8149-4496-a28d-876693974cf7} executeQuery: Code: 507. DB::Exception: Sharding key modulo(sub_key, 2) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.8.16.41.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:47410) (comment: 01071_force_optimize_skip_unused_shards.sql) (in query: SELECT `dist2_layer_01071`.`key`, `dist2_layer_01071`.`sub_key` FROM `test_1qxysvxi`.`dist2_layer_01071` WHERE `key` = 1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1329: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001d657160 in /usr/bin/clickhouse 7. /build/src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001d655c68 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab743b in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:57.343513 [ 22256 ] {3491c12a-01dc-44aa-8867-b41347f272d3} TCPHandler: Code: 36. DB::Exception: ALTER ADD INDEX is not supported for tables with the old syntax. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [64]) @ 0x000000000bb580de in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3277: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de90767 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:57.343933 [ 22244 ] {49968446-8149-4496-a28d-876693974cf7} TCPHandler: Code: 507. DB::Exception: Sharding key modulo(sub_key, 2) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1329: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001d657160 in /usr/bin/clickhouse 7. /build/src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001d655c68 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab743b in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:57.347271 [ 6138 ] {4237e139-c93f-4f60-9bc1-66013123483a} executeQuery: Code: 507. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: Sharding key modulo(sub_key, 2) is not used. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1329: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001d657160 in /usr/bin/clickhouse 7. /build/src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001d655c68 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab743b in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? : While executing Remote. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53892) (comment: 01071_force_optimize_skip_unused_shards.sql) (in query: select * from dist2_01071 where key = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b200fea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b200f95 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1364: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x0000000013983722 in /usr/bin/clickhouse 7. /build/src/Client/Connection.cpp:1150: DB::Connection::receiveException() const @ 0x000000001e4c6199 in /usr/bin/clickhouse 8. /build/src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000001e4cc791 in /usr/bin/clickhouse 9. /build/src/Client/PacketReceiver.cpp:66: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000001e5375dc in /usr/bin/clickhouse 10. /build/src/Common/AsyncTaskExecutor.cpp:88: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x000000001b89db01 in /usr/bin/clickhouse 11. /build/src/Common/Fiber.h:70: Fiber::RoutineImpl::operator()(boost::context::fiber&&) @ 0x000000001b89da18 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval())) std::__invoke[abi:v15000]&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x000000001b89d9a8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x000000001b89d968 in /usr/bin/clickhouse 14. /build/contrib/boost/boost/context/fiber_fcontext.hpp:157: boost::context::detail::fiber_record>::run(void*) @ 0x000000001b89d89e in /usr/bin/clickhouse 15. /build/contrib/boost/boost/context/fiber_fcontext.hpp:97: void boost::context::detail::fiber_entry>>(boost::context::detail::transfer_t) @ 0x000000001b89d71d in /usr/bin/clickhouse 2024.09.24 01:23:57.348663 [ 6138 ] {4237e139-c93f-4f60-9bc1-66013123483a} TCPHandler: Code: 507. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: Sharding key modulo(sub_key, 2) is not used. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1329: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001d657160 in /usr/bin/clickhouse 7. /build/src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001d655c68 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab743b in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? : While executing Remote. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b200fea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b200f95 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1364: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x0000000013983722 in /usr/bin/clickhouse 7. /build/src/Client/Connection.cpp:1150: DB::Connection::receiveException() const @ 0x000000001e4c6199 in /usr/bin/clickhouse 8. /build/src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000001e4cc791 in /usr/bin/clickhouse 9. /build/src/Client/PacketReceiver.cpp:66: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000001e5375dc in /usr/bin/clickhouse 10. /build/src/Common/AsyncTaskExecutor.cpp:88: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x000000001b89db01 in /usr/bin/clickhouse 11. /build/src/Common/Fiber.h:70: Fiber::RoutineImpl::operator()(boost::context::fiber&&) @ 0x000000001b89da18 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval())) std::__invoke[abi:v15000]&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x000000001b89d9a8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x000000001b89d968 in /usr/bin/clickhouse 14. /build/contrib/boost/boost/context/fiber_fcontext.hpp:157: boost::context::detail::fiber_record>::run(void*) @ 0x000000001b89d89e in /usr/bin/clickhouse 15. /build/contrib/boost/boost/context/fiber_fcontext.hpp:97: void boost::context::detail::fiber_entry>>(boost::context::detail::transfer_t) @ 0x000000001b89d71d in /usr/bin/clickhouse 2024.09.24 01:23:57.377881 [ 924 ] {} ff2da1c6-9eaa-435a-9d19-aac3f9020d07::all_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value2 :: 2, 'UInt32' :: 3) -> _CAST(value2, 'UInt32') UInt32 : 4': (while reading from part /var/lib/clickhouse/store/ff2/ff2da1c6-9eaa-435a-9d19-aac3f9020d07/all_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b217fb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b2c4b17 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b2bf818 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b2addb9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2ad0e8 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2ac2fe in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b238e10 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238da6 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238d40 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238ce0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b238c8b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionActions.cpp:780: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x000000001bf8506e in /usr/bin/clickhouse 31. /build/src/Interpreters/inplaceBlockConversions.cpp:184: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000001d0d0bb6 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:57.379008 [ 924 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ff2da1c6-9eaa-435a-9d19-aac3f9020d07::all_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value2 :: 2, 'UInt32' :: 3) -> _CAST(value2, 'UInt32') UInt32 : 4': (while reading from part /var/lib/clickhouse/store/ff2/ff2da1c6-9eaa-435a-9d19-aac3f9020d07/all_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b217fb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b2c4b17 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b2bf818 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b2addb9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2ad0e8 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2ac2fe in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b238e10 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238da6 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238d40 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238ce0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b238c8b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionActions.cpp:780: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x000000001bf8506e in /usr/bin/clickhouse 31. /build/src/Interpreters/inplaceBlockConversions.cpp:184: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000001d0d0bb6 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:23:57.695173 [ 914 ] {} test_1iqhrhay.table_for_bad_alters (ReplicatedMergeTreeQueue): There are no mutations for partition ID all (trying to mutate part all_0_0_0 to 1) 2024.09.24 01:23:59.349244 [ 22251 ] {4caf7aae-5a88-4298-a96a-dea120687960} executeQuery: Code: 571. DB::Exception: ZooKeeper session expired or replication stopped, try again. (DATABASE_REPLICATION_FAILED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53780) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: CREATE TABLE test_swzlnoc2_repl_01111_5.rmt_6062_20988_15856 (`n` int) ENGINE = ReplicatedMergeTree ORDER BY tuple() SETTINGS index_granularity = 52235, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0.19091622531414032, merge_max_block_size = 12915, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 5429212014, index_granularity_bytes = 10480022, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 79073, primary_key_compress_block_size = 24594), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [60]) @ 0x000000000b19cbfe in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicatedWorker.cpp:284: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x000000001bb4151b in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:705: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001bb0ea03 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1256: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f163a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:23:59.351042 [ 22251 ] {4caf7aae-5a88-4298-a96a-dea120687960} TCPHandler: Code: 571. DB::Exception: ZooKeeper session expired or replication stopped, try again. (DATABASE_REPLICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [60]) @ 0x000000000b19cbfe in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicatedWorker.cpp:284: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x000000001bb4151b in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:705: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001bb0ea03 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1256: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f163a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:24:01.951791 [ 16991 ] {} DDLWorker(test_swzlnoc2_repl_01111_9): Error on initialization of test_swzlnoc2_repl_01111_9: Code: 57. DB::Exception: Directory for table data store/615/6153e91d-b01e-40fd-a812-c130cb6b1021/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1390: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f5eae in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 9. /build/src/Databases/DatabaseReplicated.cpp:1021: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001bb15598 in /usr/bin/clickhouse 10. /build/src/Databases/DatabaseReplicatedWorker.cpp:119: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001bb3e5f7 in /usr/bin/clickhouse 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001bb3c7ba in /usr/bin/clickhouse 12. /build/src/Interpreters/DDLWorker.cpp:1120: DB::DDLWorker::runMainThread() @ 0x000000001bebc2b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x000000001bed7f69 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001bed7eed in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001bed7e3d in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001bed7d55 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x000000001bed7cb5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x000000001bed7c95 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001bed7c75 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001bed7c40 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a610e2 in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:24:04.609015 [ 2329 ] {91be7e53-5451-4eed-87aa-2cea81c9330f} executeQuery: Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value2 :: 0, 'UInt32' :: 1) -> _CAST(value2, 'UInt32') UInt32 : 2': (while reading from part /var/lib/clickhouse/store/ff2/ff2da1c6-9eaa-435a-9d19-aac3f9020d07/all_0_0_0_1/ located on disk default of type local): While executing MergeTreeThread. (CANNOT_PARSE_TEXT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:38876) (comment: 01079_bad_alters_zookeeper_long.sh) (in query: SELECT distinct(value2) FROM table_for_bad_alters), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b217fb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b2c4b17 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b2bf818 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b2addb9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2ad0e8 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2ac2fe in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b238e10 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238da6 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238d40 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238ce0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b238c8b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionActions.cpp:780: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x000000001bf8506e in /usr/bin/clickhouse 31. /build/src/Interpreters/inplaceBlockConversions.cpp:184: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000001d0d0bb6 in /usr/bin/clickhouse 2024.09.24 01:24:04.613460 [ 2329 ] {91be7e53-5451-4eed-87aa-2cea81c9330f} TCPHandler: Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value2 :: 0, 'UInt32' :: 1) -> _CAST(value2, 'UInt32') UInt32 : 2': (while reading from part /var/lib/clickhouse/store/ff2/ff2da1c6-9eaa-435a-9d19-aac3f9020d07/all_0_0_0_1/ located on disk default of type local): While executing MergeTreeThread. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b217fb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b2c4b17 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b2bf818 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b2addb9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2ad0e8 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2ac2fe in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b238e10 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238da6 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238d40 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b238ce0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b238c8b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionActions.cpp:780: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x000000001bf8506e in /usr/bin/clickhouse 31. /build/src/Interpreters/inplaceBlockConversions.cpp:184: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000001d0d0bb6 in /usr/bin/clickhouse 2024.09.24 01:24:05.280104 [ 671 ] {d25fa253-f4bc-4794-8018-042c9e6f0fbe} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int64, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing ifNotFinite(1234567890123456789, -1234567890123456789). (NO_COMMON_TYPE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:38878) (comment: 01065_if_not_finite.sql) (in query: SELECT ifNotFinite(1234567890123456789, -1234567890123456789);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x00000000119578ec in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001ba07326 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:137: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001ba06ca4 in /usr/bin/clickhouse 8. /build/src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x000000001ba0bb58 in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1042: DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000efd51c5 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 15. /build/src/Functions/ifNotFinite.cpp:40: DB::(anonymous namespace)::FunctionIfNotFinite::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f1b34c3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 2024.09.24 01:24:05.281354 [ 671 ] {d25fa253-f4bc-4794-8018-042c9e6f0fbe} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int64, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing ifNotFinite(1234567890123456789, -1234567890123456789). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x00000000119578ec in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001ba07326 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:137: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001ba06ca4 in /usr/bin/clickhouse 8. /build/src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x000000001ba0bb58 in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1042: DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000efd51c5 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 15. /build/src/Functions/ifNotFinite.cpp:40: DB::(anonymous namespace)::FunctionIfNotFinite::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f1b34c3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 2024.09.24 01:24:10.621995 [ 12007 ] {d5bd2827-e413-4b31-aaaa-97fac2a4a8a8} executeQuery: Code: 457. DB::Exception: Value Hello, World cannot be parsed as Nullable(String) for query parameter 'x' because it isn't parsed completely: only 6 of 12 bytes was parsed: Hello,. (BAD_QUERY_PARAMETER) (version 23.8.16.41.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:57766) (comment: 01056_prepared_statements_null_and_escaping.sh) (in query: SELECT {x:Nullable(String)}), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String const&, unsigned long&&, unsigned long&&, String&&) @ 0x000000001d094376 in /usr/bin/clickhouse 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:104: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x000000001d0935e5 in /usr/bin/clickhouse 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:38: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d092fe5 in /usr/bin/clickhouse 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:731: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0ad608 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:24:10.623443 [ 12007 ] {d5bd2827-e413-4b31-aaaa-97fac2a4a8a8} DynamicQueryHandler: Code: 457. DB::Exception: Value Hello, World cannot be parsed as Nullable(String) for query parameter 'x' because it isn't parsed completely: only 6 of 12 bytes was parsed: Hello,. (BAD_QUERY_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String const&, unsigned long&&, unsigned long&&, String&&) @ 0x000000001d094376 in /usr/bin/clickhouse 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:104: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x000000001d0935e5 in /usr/bin/clickhouse 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:38: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d092fe5 in /usr/bin/clickhouse 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:731: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0ad608 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:24:10.641745 [ 12007 ] {26d3026c-391e-4775-8d71-458a0ea01ae4} executeQuery: Code: 457. DB::Exception: Value Hello, World cannot be parsed as Nullable(String) for query parameter 'x' because it isn't parsed completely: only 6 of 12 bytes was parsed: Hello,. (BAD_QUERY_PARAMETER) (version 23.8.16.41.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:56034) (comment: 01056_prepared_statements_null_and_escaping.sh) (in query: SELECT {x:Nullable(String)}), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String const&, unsigned long&&, unsigned long&&, String&&) @ 0x000000001d094376 in /usr/bin/clickhouse 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:104: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x000000001d0935e5 in /usr/bin/clickhouse 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:38: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d092fe5 in /usr/bin/clickhouse 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:731: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0ad608 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:24:10.643181 [ 12007 ] {26d3026c-391e-4775-8d71-458a0ea01ae4} DynamicQueryHandler: Code: 457. DB::Exception: Value Hello, World cannot be parsed as Nullable(String) for query parameter 'x' because it isn't parsed completely: only 6 of 12 bytes was parsed: Hello,. (BAD_QUERY_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String const&, unsigned long&&, unsigned long&&, String&&) @ 0x000000001d094376 in /usr/bin/clickhouse 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:104: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x000000001d0935e5 in /usr/bin/clickhouse 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:38: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d092fe5 in /usr/bin/clickhouse 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:731: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0ad608 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:24:10.823917 [ 2329 ] {0f2c1cc9-0b09-465c-b041-b1f08a2b0efc} executeQuery: Code: 36. DB::Exception: Wrong index name. Cannot find index `idx2` to drop. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39070) (comment: 01079_bad_alters_zookeeper_long.sh) (in query: ALTER TABLE table_for_bad_alters DROP INDEX idx2), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x000000000d9ec76c in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:555: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001d5899b3 in /usr/bin/clickhouse 7. /build/src/Storages/AlterCommands.cpp:929: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001d58c785 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8f06c in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:24:10.825644 [ 2329 ] {0f2c1cc9-0b09-465c-b041-b1f08a2b0efc} TCPHandler: Code: 36. DB::Exception: Wrong index name. Cannot find index `idx2` to drop. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x000000000d9ec76c in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:555: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001d5899b3 in /usr/bin/clickhouse 7. /build/src/Storages/AlterCommands.cpp:929: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001d58c785 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8f06c in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:24:12.743705 [ 1123 ] {2d64108a-c404-43d1-9444-42cb921aeb86} executeQuery: Code: 503. DB::Exception: Aggregate function aggThrow has thrown exception successfully: while executing 'FUNCTION arrayReduce('aggThrow(0.0001)' :: 1, range(modulo(number, 10)) :: 2) -> arrayReduce('aggThrow(0.0001)', range(modulo(number, 10))) UInt8 : 3'. (AGGREGATE_FUNCTION_THROW) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:50860) (comment: 01052_array_reduce_exception.sql) (in query: SELECT arrayReduce('aggThrow(0.0001)', range(number % 10)) FROM system.numbers FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionAggThrow.cpp:71: DB::(anonymous namespace)::AggregateFunctionThrow::create(char*) const @ 0x000000001781c007 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayReduce.cpp:161: DB::FunctionArrayReduce::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000132b7fcc in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 2024.09.24 01:24:12.744996 [ 1123 ] {2d64108a-c404-43d1-9444-42cb921aeb86} TCPHandler: Code: 503. DB::Exception: Aggregate function aggThrow has thrown exception successfully: while executing 'FUNCTION arrayReduce('aggThrow(0.0001)' :: 1, range(modulo(number, 10)) :: 2) -> arrayReduce('aggThrow(0.0001)', range(modulo(number, 10))) UInt8 : 3'. (AGGREGATE_FUNCTION_THROW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionAggThrow.cpp:71: DB::(anonymous namespace)::AggregateFunctionThrow::create(char*) const @ 0x000000001781c007 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayReduce.cpp:161: DB::FunctionArrayReduce::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000132b7fcc in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 2024.09.24 01:24:17.907952 [ 22250 ] {7f5a4ad9-9790-4f9d-890d-ea04f2b278b3} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085327 bytes), maximum: 8.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:51028) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d74460a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da51ea4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6efbf in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6edd4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6eb91 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e897 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e70a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5c636 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da54a1d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 2024.09.24 01:24:17.909119 [ 22250 ] {7f5a4ad9-9790-4f9d-890d-ea04f2b278b3} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085327 bytes), maximum: 8.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d74460a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da51ea4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6efbf in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6edd4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6eb91 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e897 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e70a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5c636 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da54a1d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 2024.09.24 01:24:20.628354 [ 2329 ] {12fc1e11-db20-4530-be9a-7207d9dd09da} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.038832198 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:51046) (comment: 01039_mergetree_exec_time.sql) (in query: select sum(sleep(0.1)) from tab settings max_block_size = 1, max_execution_time=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b87a98c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b879dd3 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x000000001b879ce8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x000000001ccaa2b9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6d0a80 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6d115c in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d09f6 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 17. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a610e2 in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:24:20.634816 [ 2329 ] {12fc1e11-db20-4530-be9a-7207d9dd09da} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.038832198 seconds, maximum: 1. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b87a98c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b879dd3 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x000000001b879ce8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x000000001ccaa2b9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6d0a80 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6d115c in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d09f6 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 17. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a610e2 in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:24:21.527181 [ 2329 ] {4f5e7322-d8b1-41f8-b2ce-c3785b0f1e36} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1086127 bytes), maximum: 16.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:45034) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d74460a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da51ea4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6efbf in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6edd4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6eb91 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e897 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e70a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5c636 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da54a1d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 2024.09.24 01:24:21.528646 [ 2329 ] {4f5e7322-d8b1-41f8-b2ce-c3785b0f1e36} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1086127 bytes), maximum: 16.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d74460a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da51ea4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6efbf in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6edd4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6eb91 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e897 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e70a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5c636 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da54a1d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 2024.09.24 01:24:24.802335 [ 2329 ] {517bd6da-70af-4f24-946f-29c59500cf4b} executeQuery: Code: 15. DB::Exception: Column time specified more than once. (DUPLICATE_COLUMN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:45090) (comment: 01032_duplicate_column_insert_query.sql) (in query: INSERT INTO sometable (date, time, value, time) VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterInsertQuery.cpp:163: DB::InterpreterInsertQuery::getSampleBlock(std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001ca7f9c7 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterInsertQuery.cpp:149: DB::InterpreterInsertQuery::getSampleBlock(DB::ASTInsertQuery const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001ca7f7f2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:393: DB::InterpreterInsertQuery::execute() @ 0x000000001ca817a6 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:24:24.803059 [ 2329 ] {517bd6da-70af-4f24-946f-29c59500cf4b} TCPHandler: Code: 15. DB::Exception: Column time specified more than once. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterInsertQuery.cpp:163: DB::InterpreterInsertQuery::getSampleBlock(std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001ca7f9c7 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterInsertQuery.cpp:149: DB::InterpreterInsertQuery::getSampleBlock(DB::ASTInsertQuery const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001ca7f7f2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:393: DB::InterpreterInsertQuery::execute() @ 0x000000001ca817a6 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:24:25.302603 [ 22255 ] {023bf1e2-a68d-43a1-8511-d9bc316b4399} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 32.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:45152) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d74460a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da51ea4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6efbf in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6edd4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6eb91 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e897 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e70a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5c636 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da54a1d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 2024.09.24 01:24:25.303819 [ 22255 ] {023bf1e2-a68d-43a1-8511-d9bc316b4399} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 32.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d74460a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da51ea4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6efbf in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6edd4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6eb91 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e897 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e70a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5c636 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da54a1d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 2024.09.24 01:24:26.736602 [ 2329 ] {6acef61a-6529-45b2-b9d8-ec1a0e31d0d7} executeQuery: Code: 43. DB::Exception: Function __getScalar accepts one const string argument: While processing _CAST(__getScalar(key) AS macro_tmp_alter4968006459817823414, 'String') AS macro: default expression and column type are incompatible. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:45192) (comment: 01024__getScalar.sql) (in query: CREATE TABLE foo (key String, macro String MATERIALIZED __getScalar(key)) Engine=Null();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/getScalar.cpp:55: DB::(anonymous namespace)::FunctionGetScalar::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e486f7d in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefe15 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1696: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x000000001bfb8f58 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1729: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x000000001bfb92c3 in /usr/bin/clickhouse 25. /build/src/Storages/ColumnsDescription.cpp:847: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000001d5a9405 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:571: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e861a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e9748 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f0864 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 2024.09.24 01:24:26.737540 [ 2329 ] {6acef61a-6529-45b2-b9d8-ec1a0e31d0d7} TCPHandler: Code: 43. DB::Exception: Function __getScalar accepts one const string argument: While processing _CAST(__getScalar(key) AS macro_tmp_alter4968006459817823414, 'String') AS macro: default expression and column type are incompatible. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/getScalar.cpp:55: DB::(anonymous namespace)::FunctionGetScalar::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e486f7d in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefe15 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1696: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x000000001bfb8f58 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1729: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x000000001bfb92c3 in /usr/bin/clickhouse 25. /build/src/Storages/ColumnsDescription.cpp:847: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000001d5a9405 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:571: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e861a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e9748 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f0864 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 2024.09.24 01:24:29.263439 [ 22255 ] {70674f8f-ec98-4baa-ae65-54f93e90fd7d} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 64.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:45268) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d74460a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da51ea4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6efbf in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6edd4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6eb91 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e897 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e70a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5c636 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da54a1d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 2024.09.24 01:24:29.264774 [ 22255 ] {70674f8f-ec98-4baa-ae65-54f93e90fd7d} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 64.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d74460a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da51ea4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6efbf in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6edd4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6eb91 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e897 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e70a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5c636 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da54a1d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 2024.09.24 01:24:30.111008 [ 22255 ] {6b90e719-d2ae-49f0-a816-094bd2545088} executeQuery: Code: 36. DB::Exception: Dictionary (`test_hxiyzvh1.dict1`) not found: While processing dictGetUInt8(concat('test_hxiyzvh1', '.dict1'), 'second_column', toUInt64(11)). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:45276) (comment: 01018_ddl_dictionaries_select.sql) (in query: SELECT dictGetUInt8(concat('test_hxiyzvh1', '.dict1'), 'second_column', toUInt64(11))), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x000000001c533072 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x000000001c533500 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x000000000bc63498 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:361: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc5be4a in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:736: DB::FunctionDictGetImpl, DB::NameDictGetUInt8, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc71848 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 2024.09.24 01:24:30.112302 [ 22255 ] {6b90e719-d2ae-49f0-a816-094bd2545088} TCPHandler: Code: 36. DB::Exception: Dictionary (`test_hxiyzvh1.dict1`) not found: While processing dictGetUInt8(concat('test_hxiyzvh1', '.dict1'), 'second_column', toUInt64(11)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x000000001c533072 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x000000001c533500 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x000000000bc63498 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:361: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc5be4a in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:736: DB::FunctionDictGetImpl, DB::NameDictGetUInt8, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc71848 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 2024.09.24 01:24:30.286232 [ 12003 ] {0207042e-e1d0-40b0-826e-48ae817c5f1b} executeQuery: Code: 403. DB::Exception: JOIN system.one AS l ALL INNER JOIN system.one AS r ON l.dummy = l.dummy cannot get JOIN keys. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:45284) (comment: 01018_ambiguous_column.sql) (in query: SELECT dummy FROM one l JOIN one r ON l.dummy = dummy;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Planner/PlannerJoins.cpp:443: DB::(anonymous namespace)::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, std::vector> const&, DB::JoinNode const&, std::shared_ptr const&) @ 0x000000001cba663e in /usr/bin/clickhouse 7. /build/src/Planner/PlannerJoins.cpp:511: DB::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cba5384 in /usr/bin/clickhouse 8. /build/src/Planner/PlannerJoinTree.cpp:936: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001cb8df0d in /usr/bin/clickhouse 9. /build/src/Planner/PlannerJoinTree.cpp:1504: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001cb88ea5 in /usr/bin/clickhouse 10. /build/src/Planner/Planner.cpp:1253: DB::Planner::buildPlanForQueryNode() @ 0x000000001cb6a9e3 in /usr/bin/clickhouse 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001cb68c39 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001cb6705d in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1039: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0872 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:24:30.286522 [ 22255 ] {73dce954-ff67-4e2c-9685-8314f7ff5a09} executeQuery: Code: 36. DB::Exception: Dictionary (`test_hxiyzvh1.dict1`) not found: While processing dictGetUInt8(concat('test_hxiyzvh1', '.dict1'), 'second_column', toUInt64(11)). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:45276) (comment: 01018_ddl_dictionaries_select.sql) (in query: SELECT dictGetUInt8(concat('test_hxiyzvh1', '.dict1'), 'second_column', toUInt64(11))), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x000000001c533072 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x000000001c533500 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x000000000bc63498 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:361: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc5be4a in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:736: DB::FunctionDictGetImpl, DB::NameDictGetUInt8, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc71848 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 2024.09.24 01:24:30.287096 [ 12003 ] {0207042e-e1d0-40b0-826e-48ae817c5f1b} TCPHandler: Code: 403. DB::Exception: JOIN system.one AS l ALL INNER JOIN system.one AS r ON l.dummy = l.dummy cannot get JOIN keys. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Planner/PlannerJoins.cpp:443: DB::(anonymous namespace)::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, std::vector> const&, DB::JoinNode const&, std::shared_ptr const&) @ 0x000000001cba663e in /usr/bin/clickhouse 7. /build/src/Planner/PlannerJoins.cpp:511: DB::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cba5384 in /usr/bin/clickhouse 8. /build/src/Planner/PlannerJoinTree.cpp:936: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001cb8df0d in /usr/bin/clickhouse 9. /build/src/Planner/PlannerJoinTree.cpp:1504: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001cb88ea5 in /usr/bin/clickhouse 10. /build/src/Planner/Planner.cpp:1253: DB::Planner::buildPlanForQueryNode() @ 0x000000001cb6a9e3 in /usr/bin/clickhouse 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001cb68c39 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001cb6705d in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1039: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0872 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:24:30.287568 [ 22255 ] {73dce954-ff67-4e2c-9685-8314f7ff5a09} TCPHandler: Code: 36. DB::Exception: Dictionary (`test_hxiyzvh1.dict1`) not found: While processing dictGetUInt8(concat('test_hxiyzvh1', '.dict1'), 'second_column', toUInt64(11)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x000000001c533072 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x000000001c533500 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x000000000bc63498 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:361: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc5be4a in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:736: DB::FunctionDictGetImpl, DB::NameDictGetUInt8, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc71848 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 2024.09.24 01:24:30.326065 [ 12003 ] {5d39c643-4d00-4608-9c8f-f32d22391232} executeQuery: Code: 403. DB::Exception: JOIN system.one AS l ALL INNER JOIN system.one AS r ON l.dummy = l.dummy cannot get JOIN keys. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:45284) (comment: 01018_ambiguous_column.sql) (in query: SELECT dummy FROM one l JOIN one r ON l.dummy = one.dummy;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Planner/PlannerJoins.cpp:443: DB::(anonymous namespace)::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, std::vector> const&, DB::JoinNode const&, std::shared_ptr const&) @ 0x000000001cba663e in /usr/bin/clickhouse 7. /build/src/Planner/PlannerJoins.cpp:511: DB::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cba5384 in /usr/bin/clickhouse 8. /build/src/Planner/PlannerJoinTree.cpp:936: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001cb8df0d in /usr/bin/clickhouse 9. /build/src/Planner/PlannerJoinTree.cpp:1504: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001cb88ea5 in /usr/bin/clickhouse 10. /build/src/Planner/Planner.cpp:1253: DB::Planner::buildPlanForQueryNode() @ 0x000000001cb6a9e3 in /usr/bin/clickhouse 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001cb68c39 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001cb6705d in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1039: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0872 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:24:30.327024 [ 12003 ] {5d39c643-4d00-4608-9c8f-f32d22391232} TCPHandler: Code: 403. DB::Exception: JOIN system.one AS l ALL INNER JOIN system.one AS r ON l.dummy = l.dummy cannot get JOIN keys. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Planner/PlannerJoins.cpp:443: DB::(anonymous namespace)::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, std::vector> const&, DB::JoinNode const&, std::shared_ptr const&) @ 0x000000001cba663e in /usr/bin/clickhouse 7. /build/src/Planner/PlannerJoins.cpp:511: DB::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cba5384 in /usr/bin/clickhouse 8. /build/src/Planner/PlannerJoinTree.cpp:936: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001cb8df0d in /usr/bin/clickhouse 9. /build/src/Planner/PlannerJoinTree.cpp:1504: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001cb88ea5 in /usr/bin/clickhouse 10. /build/src/Planner/Planner.cpp:1253: DB::Planner::buildPlanForQueryNode() @ 0x000000001cb6a9e3 in /usr/bin/clickhouse 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001cb68c39 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001cb6705d in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1039: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0872 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:24:30.562834 [ 22255 ] {267a8ef5-cd0f-4a20-9874-b1003eaeb0a3} executeQuery: Code: 36. DB::Exception: Dictionary (`test_hxiyzvh1.dict1`) not found: While processing dictGetUInt8(concat('test_hxiyzvh1', '.dict1'), 'second_column', (toUInt64(11), '121')). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:45276) (comment: 01018_ddl_dictionaries_select.sql) (in query: SELECT dictGetUInt8(concat('test_hxiyzvh1', '.dict1'), 'second_column', (toUInt64(11), '121'))), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x000000001c533072 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x000000001c533500 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x000000000bc63498 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:361: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc5be4a in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:736: DB::FunctionDictGetImpl, DB::NameDictGetUInt8, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc71848 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 2024.09.24 01:24:30.563613 [ 22255 ] {267a8ef5-cd0f-4a20-9874-b1003eaeb0a3} TCPHandler: Code: 36. DB::Exception: Dictionary (`test_hxiyzvh1.dict1`) not found: While processing dictGetUInt8(concat('test_hxiyzvh1', '.dict1'), 'second_column', (toUInt64(11), '121')). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x000000001c533072 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x000000001c533500 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x000000000bc63498 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:361: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc5be4a in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:736: DB::FunctionDictGetImpl, DB::NameDictGetUInt8, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc71848 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 2024.09.24 01:24:31.051540 [ 22255 ] {e7a78f7d-2acd-40dd-b990-21c2a93db070} executeQuery: Code: 36. DB::Exception: Dictionary (`default.dict3`) not found: While processing dictGetString(default.dict3, 'some_column', toUInt64(12)). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:45276) (comment: 01018_ddl_dictionaries_select.sql) (in query: SELECT dictGetString(default.dict3, 'some_column', toUInt64(12));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x000000001c533072 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x000000001c533500 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x000000000bc63498 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:361: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc5be4a in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:736: DB::FunctionDictGetImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc83108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 2024.09.24 01:24:31.052452 [ 22255 ] {e7a78f7d-2acd-40dd-b990-21c2a93db070} TCPHandler: Code: 36. DB::Exception: Dictionary (`default.dict3`) not found: While processing dictGetString(default.dict3, 'some_column', toUInt64(12)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x000000001c533072 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x000000001c533500 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x000000000bc63498 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:361: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc5be4a in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:736: DB::FunctionDictGetImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc83108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 2024.09.24 01:24:31.239830 [ 22255 ] {00e981bc-9915-40bc-9673-7d50437a0cdd} executeQuery: Code: 36. DB::Exception: Dictionary (`default.dict3`) not found: While processing dictGet(default.dict3, 'some_column', toUInt64(12)). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:45276) (comment: 01018_ddl_dictionaries_select.sql) (in query: SELECT dictGet(default.dict3, 'some_column', toUInt64(12));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x000000001c533072 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x000000001c533500 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x000000000bc63498 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:361: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc5be4a in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 2024.09.24 01:24:31.241449 [ 22255 ] {00e981bc-9915-40bc-9673-7d50437a0cdd} TCPHandler: Code: 36. DB::Exception: Dictionary (`default.dict3`) not found: While processing dictGet(default.dict3, 'some_column', toUInt64(12)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x000000001c533072 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x000000001c533500 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x000000000bc63498 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:361: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc5be4a in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 2024.09.24 01:24:31.450134 [ 16567 ] {36bbd4b4-c39c-4945-a80b-8328faa948ae} ExternalDictionariesLoader: Could not update external dictionary '6d6f64b4-84c3-441b-9457-75b2451ae942', leaving the previous version, next update is scheduled at 2024-09-24 01:24:36: Code: 60. DB::Exception: Table test_hxiyzvh1.table_for_dict does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53612 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc20756 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:171: DB::ClickHouseDictionarySource::createStreamForQuery(String const&) @ 0x0000000017c22db1 in /usr/bin/clickhouse 20. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:113: DB::ClickHouseDictionarySource::loadAll() @ 0x0000000017c22c8a in /usr/bin/clickhouse 21. /build/src/Dictionaries/HashedDictionary.cpp:935: DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::loadData() @ 0x0000000017dce188 in /usr/bin/clickhouse 22. /build/src/Dictionaries/HashedDictionary.cpp:214: DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::HashedDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration const&, std::shared_ptr) @ 0x0000000017dcdc3c in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if>::__unique_single std::make_unique[abi:v15000], DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration&>(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr&&, DB::HashedDictionaryConfiguration&) @ 0x0000000018363d06 in /usr/bin/clickhouse 24. /build/src/Dictionaries/HashedDictionary.cpp:1213: DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x0000000017dcc866 in /usr/bin/clickhouse 25. /build/src/Dictionaries/HashedDictionary.cpp:1238: auto DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_0::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x0000000017dcb4b2 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval>(), std::declval>(), std::declval())) std::__invoke[abi:v15000], std::shared_ptr, bool>(DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_0&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x0000000017dcb3db in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::unique_ptr> std::__invoke_void_return_wrapper>, false>::__call, std::shared_ptr, bool>(DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_0&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x0000000017dcb2f6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x0000000017dcb276 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x0000000017dcb202 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) const @ 0x000000001abd67e2 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000001abd3b7b in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:24:31.452062 [ 17165 ] {36bbd4b4-c39c-4945-a80b-8328faa948ae} ExternalDictionariesLoader: Could not update external dictionary '4f04513c-45c7-40cd-b450-dcbc39b159df', leaving the previous version: Code: 60. DB::Exception: Table test_hxiyzvh1.table_for_dict does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53612 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc20756 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:171: DB::ClickHouseDictionarySource::createStreamForQuery(String const&) @ 0x0000000017c22db1 in /usr/bin/clickhouse 20. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:113: DB::ClickHouseDictionarySource::loadAll() @ 0x0000000017c22c8a in /usr/bin/clickhouse 21. /build/src/Dictionaries/HashedDictionary.cpp:935: DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::loadData() @ 0x0000000017dce188 in /usr/bin/clickhouse 22. /build/src/Dictionaries/HashedDictionary.cpp:214: DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::HashedDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration const&, std::shared_ptr) @ 0x0000000017dcdc3c in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if>::__unique_single std::make_unique[abi:v15000], DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration&>(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr&&, DB::HashedDictionaryConfiguration&) @ 0x0000000018363d06 in /usr/bin/clickhouse 24. /build/src/Dictionaries/HashedDictionary.cpp:1213: DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x0000000017dcc866 in /usr/bin/clickhouse 25. /build/src/Dictionaries/HashedDictionary.cpp:1238: auto DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_0::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x0000000017dcb4b2 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval>(), std::declval>(), std::declval())) std::__invoke[abi:v15000], std::shared_ptr, bool>(DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_0&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x0000000017dcb3db in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::unique_ptr> std::__invoke_void_return_wrapper>, false>::__call, std::shared_ptr, bool>(DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_0&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x0000000017dcb2f6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x0000000017dcb276 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x0000000017dcb202 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) const @ 0x000000001abd67e2 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000001abd3b7b in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:24:31.453578 [ 22255 ] {36bbd4b4-c39c-4945-a80b-8328faa948ae} ExternalDictionariesLoader: Code: 60. DB::Exception: Table test_hxiyzvh1.table_for_dict does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53612 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc20756 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:171: DB::ClickHouseDictionarySource::createStreamForQuery(String const&) @ 0x0000000017c22db1 in /usr/bin/clickhouse 20. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:113: DB::ClickHouseDictionarySource::loadAll() @ 0x0000000017c22c8a in /usr/bin/clickhouse 21. /build/src/Dictionaries/HashedDictionary.cpp:935: DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::loadData() @ 0x0000000017dce188 in /usr/bin/clickhouse 22. /build/src/Dictionaries/HashedDictionary.cpp:214: DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::HashedDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration const&, std::shared_ptr) @ 0x0000000017dcdc3c in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if>::__unique_single std::make_unique[abi:v15000], DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration&>(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr&&, DB::HashedDictionaryConfiguration&) @ 0x0000000018363d06 in /usr/bin/clickhouse 24. /build/src/Dictionaries/HashedDictionary.cpp:1213: DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x0000000017dcc866 in /usr/bin/clickhouse 25. /build/src/Dictionaries/HashedDictionary.cpp:1238: auto DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_0::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x0000000017dcb4b2 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval>(), std::declval>(), std::declval())) std::__invoke[abi:v15000], std::shared_ptr, bool>(DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_0&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x0000000017dcb3db in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::unique_ptr> std::__invoke_void_return_wrapper>, false>::__call, std::shared_ptr, bool>(DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_0&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x0000000017dcb2f6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x0000000017dcb276 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x0000000017dcb202 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) const @ 0x000000001abd67e2 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000001abd3b7b in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:24:31.569189 [ 22255 ] {36bbd4b4-c39c-4945-a80b-8328faa948ae} executeQuery: Code: 60. DB::Exception: Code: 60. DB::Exception: Table test_hxiyzvh1.table_for_dict does not exist. (UNKNOWN_TABLE) (version 23.8.16.41.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:45276) (comment: 01018_ddl_dictionaries_select.sql) (in query: SYSTEM RELOAD DICTIONARIES;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b200fea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b200f95 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSystemQuery.cpp:138: DB::(anonymous namespace)::executeCommandsAndThrowIfError(std::vector, std::allocator>>) @ 0x000000001cbdf37b in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:479: DB::InterpreterSystemQuery::execute() @ 0x000000001cbdc0a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:24:31.569921 [ 22255 ] {36bbd4b4-c39c-4945-a80b-8328faa948ae} TCPHandler: Code: 60. DB::Exception: Code: 60. DB::Exception: Table test_hxiyzvh1.table_for_dict does not exist. (UNKNOWN_TABLE) (version 23.8.16.41.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b200fea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b200f95 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSystemQuery.cpp:138: DB::(anonymous namespace)::executeCommandsAndThrowIfError(std::vector, std::allocator>>) @ 0x000000001cbdf37b in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:479: DB::InterpreterSystemQuery::execute() @ 0x000000001cbdc0a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:24:32.924051 [ 22255 ] {b967f8df-ef7f-4edf-b024-8c62b9dfc695} executeQuery: Code: 53. DB::Exception: Cannot convert string a to type UInt8: While processing toUInt8(1) IN ('a'). (TYPE_MISMATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:49514) (comment: 01017_in_unconvertible_complex_type.sql) (in query: -- When left and right element types are not compatible, we should get an error. select (toUInt8(1)) in ('a');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Interpreters/convertFieldToType.cpp:508: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d06dfa2 in /usr/bin/clickhouse 7. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d06a6dd in /usr/bin/clickhouse 8. /build/src/Interpreters/convertFieldToType.cpp:582: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x000000001d06e89d in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:117: DB::Block DB::createBlockFromCollection(DB::Array const&, std::vector, std::allocator>> const&, bool) @ 0x000000001bfef88f in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:317: DB::(anonymous namespace)::createBlockForSet(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000001bfe481a in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:427: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x000000001bfe3e3d in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x000000001bfedf0e in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe81a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:24:32.925108 [ 22255 ] {b967f8df-ef7f-4edf-b024-8c62b9dfc695} TCPHandler: Code: 53. DB::Exception: Cannot convert string a to type UInt8: While processing toUInt8(1) IN ('a'). (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Interpreters/convertFieldToType.cpp:508: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d06dfa2 in /usr/bin/clickhouse 7. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d06a6dd in /usr/bin/clickhouse 8. /build/src/Interpreters/convertFieldToType.cpp:582: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x000000001d06e89d in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:117: DB::Block DB::createBlockFromCollection(DB::Array const&, std::vector, std::allocator>> const&, bool) @ 0x000000001bfef88f in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:317: DB::(anonymous namespace)::createBlockForSet(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000001bfe481a in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:427: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x000000001bfe3e3d in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x000000001bfedf0e in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe81a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:24:33.071627 [ 22255 ] {48da615b-3c98-4e1a-9692-45525117bc6a} executeQuery: Code: 53. DB::Exception: Cannot convert string a to type UInt8: While processing [toUInt8(1)] IN ['a']. (TYPE_MISMATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:49514) (comment: 01017_in_unconvertible_complex_type.sql) (in query: select [toUInt8(1)] in ['a'];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Interpreters/convertFieldToType.cpp:508: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d06dfa2 in /usr/bin/clickhouse 7. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d06a6dd in /usr/bin/clickhouse 8. /build/src/Interpreters/convertFieldToType.cpp:338: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d06c1e5 in /usr/bin/clickhouse 9. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d06a6dd in /usr/bin/clickhouse 10. /build/src/Interpreters/convertFieldToType.cpp:582: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x000000001d06e89d in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:117: DB::Block DB::createBlockFromCollection(DB::Array const&, std::vector, std::allocator>> const&, bool) @ 0x000000001bfef88f in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:317: DB::(anonymous namespace)::createBlockForSet(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000001bfe481a in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:427: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x000000001bfe3e3d in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x000000001bfedf0e in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe81a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:24:33.071696 [ 22251 ] {9920d949-0a3e-4224-8aac-c7f21d182233} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 128.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:49536) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d74460a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da51ea4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6efbf in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6edd4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6eb91 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e897 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e70a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5c636 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da54a1d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 2024.09.24 01:24:33.072525 [ 22255 ] {48da615b-3c98-4e1a-9692-45525117bc6a} TCPHandler: Code: 53. DB::Exception: Cannot convert string a to type UInt8: While processing [toUInt8(1)] IN ['a']. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Interpreters/convertFieldToType.cpp:508: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d06dfa2 in /usr/bin/clickhouse 7. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d06a6dd in /usr/bin/clickhouse 8. /build/src/Interpreters/convertFieldToType.cpp:338: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d06c1e5 in /usr/bin/clickhouse 9. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d06a6dd in /usr/bin/clickhouse 10. /build/src/Interpreters/convertFieldToType.cpp:582: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x000000001d06e89d in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:117: DB::Block DB::createBlockFromCollection(DB::Array const&, std::vector, std::allocator>> const&, bool) @ 0x000000001bfef88f in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:317: DB::(anonymous namespace)::createBlockForSet(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000001bfe481a in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:427: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x000000001bfe3e3d in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x000000001bfedf0e in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe81a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:24:33.073059 [ 22251 ] {9920d949-0a3e-4224-8aac-c7f21d182233} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 128.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d74460a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da51ea4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6efbf in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6edd4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6eb91 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e897 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e70a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5c636 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da54a1d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 2024.09.24 01:24:35.858825 [ 22251 ] {26a1d807-e1ef-4825-b155-211b023a86a8} executeQuery: Code: 131. DB::Exception: Too many times to repeat (1000001), maximum is: 1000000: While processing length(repeat('x', 1000001)). (TOO_LARGE_STRING_SIZE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:49632) (comment: 01014_function_repeat_corner_cases.sql) (in query: SELECT length(repeat('x', 1000001));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long const&) @ 0x000000000c4b2acc in /usr/bin/clickhouse 6. /build/src/Functions/repeat.cpp:29: DB::(anonymous namespace)::RepeatImpl::checkRepeatTime(unsigned long) @ 0x00000000124a5b98 in /usr/bin/clickhouse 7. /build/src/Functions/repeat.cpp:91: void DB::(anonymous namespace)::RepeatImpl::vectorStrVectorRepeat(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul> const&) @ 0x00000000124a89bb in /usr/bin/clickhouse 8. /build/src/Functions/repeat.cpp:227: auto DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)::operator()>(auto const&) const @ 0x00000000124a775e in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)>(DB::IDataType const*, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)&&) @ 0x00000000124a6e87 in /usr/bin/clickhouse 10. /build/src/Functions/repeat.cpp:172: bool DB::(anonymous namespace)::FunctionRepeat::castType> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)>(DB::IDataType const*, auto&&) @ 0x00000000124a503d in /usr/bin/clickhouse 11. /build/src/Functions/repeat.cpp:221: DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000124a48e1 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 2024.09.24 01:24:35.859965 [ 22251 ] {26a1d807-e1ef-4825-b155-211b023a86a8} TCPHandler: Code: 131. DB::Exception: Too many times to repeat (1000001), maximum is: 1000000: While processing length(repeat('x', 1000001)). (TOO_LARGE_STRING_SIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long const&) @ 0x000000000c4b2acc in /usr/bin/clickhouse 6. /build/src/Functions/repeat.cpp:29: DB::(anonymous namespace)::RepeatImpl::checkRepeatTime(unsigned long) @ 0x00000000124a5b98 in /usr/bin/clickhouse 7. /build/src/Functions/repeat.cpp:91: void DB::(anonymous namespace)::RepeatImpl::vectorStrVectorRepeat(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul> const&) @ 0x00000000124a89bb in /usr/bin/clickhouse 8. /build/src/Functions/repeat.cpp:227: auto DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)::operator()>(auto const&) const @ 0x00000000124a775e in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)>(DB::IDataType const*, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)&&) @ 0x00000000124a6e87 in /usr/bin/clickhouse 10. /build/src/Functions/repeat.cpp:172: bool DB::(anonymous namespace)::FunctionRepeat::castType> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)>(DB::IDataType const*, auto&&) @ 0x00000000124a503d in /usr/bin/clickhouse 11. /build/src/Functions/repeat.cpp:221: DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000124a48e1 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 2024.09.24 01:24:35.971554 [ 22251 ] {879f6842-8fca-43d6-a1a8-4e0165fc70b7} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 144.05 MiB (attempt to allocate chunk of 134223144 bytes), maximum: 95.37 MiB.: While processing length(repeat(repeat('Hello, world!', 1000000), 10)). (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:49632) (comment: 01014_function_repeat_corner_cases.sql) (in query: SELECT length(repeat(repeat('Hello, world!', 1000000), 10));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b201225 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b2010b9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b200ea6 in /usr/bin/clickhouse 14. /build/src/Functions/repeat.cpp:87: void DB::(anonymous namespace)::RepeatImpl::vectorStrVectorRepeat(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul> const&) @ 0x00000000124a8452 in /usr/bin/clickhouse 15. /build/src/Functions/repeat.cpp:227: auto DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)::operator()>(auto const&) const @ 0x00000000124a74de in /usr/bin/clickhouse 16. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)>(DB::IDataType const*, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)&&) @ 0x00000000124a6e07 in /usr/bin/clickhouse 17. /build/src/Functions/repeat.cpp:172: bool DB::(anonymous namespace)::FunctionRepeat::castType> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)>(DB::IDataType const*, auto&&) @ 0x00000000124a503d in /usr/bin/clickhouse 18. /build/src/Functions/repeat.cpp:221: DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000124a48e1 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 2024.09.24 01:24:35.972846 [ 22251 ] {879f6842-8fca-43d6-a1a8-4e0165fc70b7} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 144.05 MiB (attempt to allocate chunk of 134223144 bytes), maximum: 95.37 MiB.: While processing length(repeat(repeat('Hello, world!', 1000000), 10)). (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b201225 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b2010b9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b200ea6 in /usr/bin/clickhouse 14. /build/src/Functions/repeat.cpp:87: void DB::(anonymous namespace)::RepeatImpl::vectorStrVectorRepeat(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul> const&) @ 0x00000000124a8452 in /usr/bin/clickhouse 15. /build/src/Functions/repeat.cpp:227: auto DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)::operator()>(auto const&) const @ 0x00000000124a74de in /usr/bin/clickhouse 16. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)>(DB::IDataType const*, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)&&) @ 0x00000000124a6e07 in /usr/bin/clickhouse 17. /build/src/Functions/repeat.cpp:172: bool DB::(anonymous namespace)::FunctionRepeat::castType> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)>(DB::IDataType const*, auto&&) @ 0x00000000124a503d in /usr/bin/clickhouse 18. /build/src/Functions/repeat.cpp:221: DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000124a48e1 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 2024.09.24 01:24:36.898197 [ 8853 ] {2d8e4dca-8028-4e85-8e3e-ab20564e2003} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 256.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:49682) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d74460a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da51ea4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6efbf in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6edd4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6eb91 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e897 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e70a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5c636 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da54a1d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 2024.09.24 01:24:36.899253 [ 8853 ] {2d8e4dca-8028-4e85-8e3e-ab20564e2003} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 256.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d74460a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da51ea4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6efbf in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6edd4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6eb91 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e897 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e70a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5c636 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da54a1d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 2024.09.24 01:24:40.574368 [ 22252 ] {0bcf4862-bc14-462a-805d-3cba2e7d0dd0} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 512.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:49820) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d74460a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da51ea4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6efbf in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6edd4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6eb91 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e897 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e70a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5c636 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da54a1d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 2024.09.24 01:24:40.575915 [ 22252 ] {0bcf4862-bc14-462a-805d-3cba2e7d0dd0} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 512.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d74460a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da51ea4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6efbf in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6edd4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6eb91 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e897 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e70a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5c636 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da54a1d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 2024.09.24 01:24:40.672489 [ 22244 ] {c76a6224-d2f5-4052-8597-b264c0baf893} executeQuery: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statements must use only deterministic functions. Function 'rand' is non-deterministic. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:49832) (comment: 01017_mutations_with_nondeterministic_functions_zookeeper.sh) (in query: ALTER TABLE table_1017_1 DELETE WHERE ignore(rand())), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:1289: DB::MutationsInterpreter::validate() @ 0x000000001cc70840 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d5f03 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:24:40.674331 [ 22244 ] {c76a6224-d2f5-4052-8597-b264c0baf893} TCPHandler: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statements must use only deterministic functions. Function 'rand' is non-deterministic. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:1289: DB::MutationsInterpreter::validate() @ 0x000000001cc70840 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d5f03 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:24:42.790874 [ 22251 ] {c2052801-095f-4561-886f-d9dc27e6949e} executeQuery: Code: 191. DB::Exception: Limit for JOIN exceeded, max rows: 1.00 thousand, current rows: 4.00 thousand: While executing FillingRightJoinSide. (SET_SIZE_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:57210) (comment: 01010_pmj_on_disk.sql) (in query: SELECT n, j FROM (SELECT number AS n FROM numbers(4)) nums ANY LEFT JOIN ( SELECT number * 2 AS n, number + 10 AS j FROM numbers(4000) ) js2 USING n ORDER BY n;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x000000001b8a1f28 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x000000001b8a1a4c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001b8a1d99 in /usr/bin/clickhouse 8. /build/src/Interpreters/HashJoin.cpp:882: DB::HashJoin::addBlockToJoin(DB::Block const&, bool) @ 0x000000001c587070 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:307: DB::FillingRightJoinSideTransform::work() @ 0x000000001ebd702f in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 2024.09.24 01:24:42.793243 [ 22251 ] {c2052801-095f-4561-886f-d9dc27e6949e} TCPHandler: Code: 191. DB::Exception: Limit for JOIN exceeded, max rows: 1.00 thousand, current rows: 4.00 thousand: While executing FillingRightJoinSide. (SET_SIZE_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x000000001b8a1f28 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x000000001b8a1a4c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001b8a1d99 in /usr/bin/clickhouse 8. /build/src/Interpreters/HashJoin.cpp:882: DB::HashJoin::addBlockToJoin(DB::Block const&, bool) @ 0x000000001c587070 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:307: DB::FillingRightJoinSideTransform::work() @ 0x000000001ebd702f in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 2024.09.24 01:24:42.884807 [ 22252 ] {0ab37553-0e51-4d40-a178-7c74da12c8d7} executeQuery: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statements must use only deterministic functions. Function 'rand' is non-deterministic. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:57234) (comment: 01017_mutations_with_nondeterministic_functions_zookeeper.sh) (in query: ALTER TABLE table_1017_1 UPDATE y = y + rand() % 1 WHERE not ignore()), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:1289: DB::MutationsInterpreter::validate() @ 0x000000001cc70840 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d5f03 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:24:42.886638 [ 22252 ] {0ab37553-0e51-4d40-a178-7c74da12c8d7} TCPHandler: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statements must use only deterministic functions. Function 'rand' is non-deterministic. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:1289: DB::MutationsInterpreter::validate() @ 0x000000001cc70840 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d5f03 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:24:44.330458 [ 22251 ] {3e6613f3-f2b7-4708-9927-47c343fc9d61} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1086127 bytes), maximum: 1.00 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:57290) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d74460a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da51ea4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6efbf in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6edd4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6eb91 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e897 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e70a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5c636 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da54a1d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 2024.09.24 01:24:44.331505 [ 22251 ] {3e6613f3-f2b7-4708-9927-47c343fc9d61} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1086127 bytes), maximum: 1.00 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d74460a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da51ea4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6efbf in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6edd4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6eb91 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e897 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6e70a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5c636 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da54a1d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 2024.09.24 01:24:46.901034 [ 22252 ] {05f7be37-f71e-4ef5-a2fd-2f389b9804d8} executeQuery: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statements must use only deterministic functions. Function 'rand' is non-deterministic. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:57340) (comment: 01017_mutations_with_nondeterministic_functions_zookeeper.sh) (in query: ALTER TABLE table_1017_1 UPDATE y = x + arrayCount(x -> (rand() + x) % 2, range(y)) WHERE not ignore()), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:1289: DB::MutationsInterpreter::validate() @ 0x000000001cc70840 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d5f03 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:24:46.902848 [ 22252 ] {05f7be37-f71e-4ef5-a2fd-2f389b9804d8} TCPHandler: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statements must use only deterministic functions. Function 'rand' is non-deterministic. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:1289: DB::MutationsInterpreter::validate() @ 0x000000001cc70840 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d5f03 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:24:48.116526 [ 6138 ] {ed177f07-5f17-4012-a0e5-3eeab4723d5b} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 7.67 MiB (attempt to allocate chunk of 8005536 bytes), maximum: 2.00 MiB.: While executing Numbers. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:57398) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a54a5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:126: DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc_for_num_elements(unsigned long) @ 0x00000000139141ad in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:341: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x000000001391412a in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:137: DB::ColumnVector::ColumnVector(unsigned long) @ 0x000000001d3cc818 in /usr/bin/clickhouse 15. /build/src/Common/COW.h:284: COW::mutable_ptr> COWHelper>::create(unsigned long&) @ 0x000000000b2d6d3b in /usr/bin/clickhouse 16. /build/src/Storages/System/StorageSystemNumbers.cpp:29: DB::(anonymous namespace)::NumbersSource::generate() @ 0x000000001a9f9d26 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:49: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6cec1d in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:90: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x000000001e6ceaaa in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x000000001e6cea55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6cea39 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x000000001e6ce99d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x000000001e6ce8a7 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x000000001e6ce815 in /usr/bin/clickhouse 2024.09.24 01:24:48.118835 [ 6138 ] {ed177f07-5f17-4012-a0e5-3eeab4723d5b} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 7.67 MiB (attempt to allocate chunk of 8005536 bytes), maximum: 2.00 MiB.: While executing Numbers. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a54a5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:126: DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc_for_num_elements(unsigned long) @ 0x00000000139141ad in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:341: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x000000001391412a in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:137: DB::ColumnVector::ColumnVector(unsigned long) @ 0x000000001d3cc818 in /usr/bin/clickhouse 15. /build/src/Common/COW.h:284: COW::mutable_ptr> COWHelper>::create(unsigned long&) @ 0x000000000b2d6d3b in /usr/bin/clickhouse 16. /build/src/Storages/System/StorageSystemNumbers.cpp:29: DB::(anonymous namespace)::NumbersSource::generate() @ 0x000000001a9f9d26 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:49: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6cec1d in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:90: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x000000001e6ceaaa in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x000000001e6cea55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6cea39 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x000000001e6ce99d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x000000001e6ce8a7 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x000000001e6ce815 in /usr/bin/clickhouse 2024.09.24 01:24:51.975129 [ 22244 ] {6ac60506-2165-40c5-bb10-80c26cabe8f2} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 7.67 MiB (attempt to allocate chunk of 8005536 bytes), maximum: 4.00 MiB.: While executing Numbers. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:37748) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a54a5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:126: DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc_for_num_elements(unsigned long) @ 0x00000000139141ad in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:341: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x000000001391412a in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:137: DB::ColumnVector::ColumnVector(unsigned long) @ 0x000000001d3cc818 in /usr/bin/clickhouse 15. /build/src/Common/COW.h:284: COW::mutable_ptr> COWHelper>::create(unsigned long&) @ 0x000000000b2d6d3b in /usr/bin/clickhouse 16. /build/src/Storages/System/StorageSystemNumbers.cpp:29: DB::(anonymous namespace)::NumbersSource::generate() @ 0x000000001a9f9d26 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:49: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6cec1d in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:90: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x000000001e6ceaaa in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x000000001e6cea55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6cea39 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x000000001e6ce99d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x000000001e6ce8a7 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x000000001e6ce815 in /usr/bin/clickhouse 2024.09.24 01:24:51.976428 [ 22244 ] {6ac60506-2165-40c5-bb10-80c26cabe8f2} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 7.67 MiB (attempt to allocate chunk of 8005536 bytes), maximum: 4.00 MiB.: While executing Numbers. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a54a5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:126: DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc_for_num_elements(unsigned long) @ 0x00000000139141ad in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:341: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x000000001391412a in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:137: DB::ColumnVector::ColumnVector(unsigned long) @ 0x000000001d3cc818 in /usr/bin/clickhouse 15. /build/src/Common/COW.h:284: COW::mutable_ptr> COWHelper>::create(unsigned long&) @ 0x000000000b2d6d3b in /usr/bin/clickhouse 16. /build/src/Storages/System/StorageSystemNumbers.cpp:29: DB::(anonymous namespace)::NumbersSource::generate() @ 0x000000001a9f9d26 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:49: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6cec1d in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:90: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x000000001e6ceaaa in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x000000001e6cea55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6cea39 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x000000001e6ce99d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x000000001e6ce8a7 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x000000001e6ce815 in /usr/bin/clickhouse 2024.09.24 01:24:52.103252 [ 6138 ] {e186078d-9080-470e-a716-399127b134da} executeQuery: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statements must use only deterministic functions. Function 'joinGet' is non-deterministic. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:37754) (comment: 01017_mutations_with_nondeterministic_functions_zookeeper.sh) (in query: ALTER TABLE table_1017_1 UPDATE y = joinGet('test_0y1r9hjv.lookup_table', 'y_new', y) WHERE x=1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:1289: DB::MutationsInterpreter::validate() @ 0x000000001cc70840 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d5f03 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:24:52.104664 [ 6138 ] {e186078d-9080-470e-a716-399127b134da} TCPHandler: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statements must use only deterministic functions. Function 'joinGet' is non-deterministic. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:1289: DB::MutationsInterpreter::validate() @ 0x000000001cc70840 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d5f03 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:24:54.094572 [ 22244 ] {14535cb6-f9ed-4dbf-9215-23667c18dd56} executeQuery: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statements must use only deterministic functions. Function 'dictHas' is non-deterministic. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:37830) (comment: 01017_mutations_with_nondeterministic_functions_zookeeper.sh) (in query: ALTER TABLE table_1017_1 DELETE WHERE dictHas('test_0y1r9hjv.dict1', toUInt64(x))), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:1289: DB::MutationsInterpreter::validate() @ 0x000000001cc70840 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d5f03 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:24:54.096616 [ 22244 ] {14535cb6-f9ed-4dbf-9215-23667c18dd56} TCPHandler: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statements must use only deterministic functions. Function 'dictHas' is non-deterministic. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:1289: DB::MutationsInterpreter::validate() @ 0x000000001cc70840 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d5f03 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:24:55.516094 [ 6138 ] {a522c288-ddda-4309-a77d-50c5224e3919} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 8.67 MiB (attempt to allocate chunk of 1050031 bytes), maximum: 8.00 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:37898) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Storages/StorageLog.cpp:326: DB::LogSink::Stream::Stream(std::shared_ptr const&, String const&, unsigned long, std::shared_ptr, unsigned long) @ 0x000000001da69041 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1775: std::pair::pair[abi:v15000] const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&, 0ul, 0ul, 1ul, 2ul, 3ul, 4ul>(std::piecewise_construct_t, std::tuple&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&, std::__tuple_indices<0ul>, std::__tuple_indices<0ul, 1ul, 2ul, 3ul, 4ul>) @ 0x000000001da68eae in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__utility/pair.h:259: std::pair::pair[abi:v15000] const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>(std::piecewise_construct_t, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>) @ 0x000000001da68de1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::pair* std::construct_at[abi:v15000], std::piecewise_construct_t const&, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>, std::pair*>(std::pair*, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da68da7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, void*>>>::construct[abi:v15000], std::piecewise_construct_t const&, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>, void, void>(std::allocator, void*>>&, std::pair*, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da68b71 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__tree:2133: std::unique_ptr, void*>, std::__tree_node_destructor, void*>>>> std::__tree, std::__map_value_compare, std::less, true>, std::allocator>>::__construct_node, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>>(std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da68849 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__tree:2096: std::pair, std::__tree_node, void*>*, long>, bool> std::__tree, std::__map_value_compare, std::less, true>, std::allocator>>::__emplace_unique_key_args, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>>(String const&, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da684ce in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/map:1281: std::pair, std::__tree_node, void*>*, long>>, bool> std::map, std::allocator>>::try_emplace[abi:v15000] const&, String const&, unsigned long, std::shared_ptr, unsigned long const&>(String const&, std::shared_ptr const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&) @ 0x000000001da67fcf in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:455: DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001da5885b in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001da584dd in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001da5849d in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001da5845d in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001da58425 in /usr/bin/clickhouse 2024.09.24 01:24:55.517884 [ 6138 ] {a522c288-ddda-4309-a77d-50c5224e3919} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 8.67 MiB (attempt to allocate chunk of 1050031 bytes), maximum: 8.00 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Storages/StorageLog.cpp:326: DB::LogSink::Stream::Stream(std::shared_ptr const&, String const&, unsigned long, std::shared_ptr, unsigned long) @ 0x000000001da69041 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1775: std::pair::pair[abi:v15000] const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&, 0ul, 0ul, 1ul, 2ul, 3ul, 4ul>(std::piecewise_construct_t, std::tuple&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&, std::__tuple_indices<0ul>, std::__tuple_indices<0ul, 1ul, 2ul, 3ul, 4ul>) @ 0x000000001da68eae in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__utility/pair.h:259: std::pair::pair[abi:v15000] const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>(std::piecewise_construct_t, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>) @ 0x000000001da68de1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::pair* std::construct_at[abi:v15000], std::piecewise_construct_t const&, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>, std::pair*>(std::pair*, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da68da7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, void*>>>::construct[abi:v15000], std::piecewise_construct_t const&, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>, void, void>(std::allocator, void*>>&, std::pair*, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da68b71 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__tree:2133: std::unique_ptr, void*>, std::__tree_node_destructor, void*>>>> std::__tree, std::__map_value_compare, std::less, true>, std::allocator>>::__construct_node, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>>(std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da68849 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__tree:2096: std::pair, std::__tree_node, void*>*, long>, bool> std::__tree, std::__map_value_compare, std::less, true>, std::allocator>>::__emplace_unique_key_args, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>>(String const&, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da684ce in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/map:1281: std::pair, std::__tree_node, void*>*, long>>, bool> std::map, std::allocator>>::try_emplace[abi:v15000] const&, String const&, unsigned long, std::shared_ptr, unsigned long const&>(String const&, std::shared_ptr const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&) @ 0x000000001da67fcf in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:455: DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001da5885b in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001da584dd in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001da5849d in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001da5845d in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001da58425 in /usr/bin/clickhouse 2024.09.24 01:24:59.842726 [ 8835 ] {c6c80c23-47c8-45b4-aa2e-7c5d8d1641ae} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 16.67 MiB (attempt to allocate chunk of 1049487 bytes), maximum: 16.00 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:38052) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Storages/StorageLog.cpp:326: DB::LogSink::Stream::Stream(std::shared_ptr const&, String const&, unsigned long, std::shared_ptr, unsigned long) @ 0x000000001da69041 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1775: std::pair::pair[abi:v15000] const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&, 0ul, 0ul, 1ul, 2ul, 3ul, 4ul>(std::piecewise_construct_t, std::tuple&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&, std::__tuple_indices<0ul>, std::__tuple_indices<0ul, 1ul, 2ul, 3ul, 4ul>) @ 0x000000001da68eae in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__utility/pair.h:259: std::pair::pair[abi:v15000] const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>(std::piecewise_construct_t, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>) @ 0x000000001da68de1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::pair* std::construct_at[abi:v15000], std::piecewise_construct_t const&, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>, std::pair*>(std::pair*, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da68da7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, void*>>>::construct[abi:v15000], std::piecewise_construct_t const&, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>, void, void>(std::allocator, void*>>&, std::pair*, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da68b71 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__tree:2133: std::unique_ptr, void*>, std::__tree_node_destructor, void*>>>> std::__tree, std::__map_value_compare, std::less, true>, std::allocator>>::__construct_node, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>>(std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da68849 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__tree:2096: std::pair, std::__tree_node, void*>*, long>, bool> std::__tree, std::__map_value_compare, std::less, true>, std::allocator>>::__emplace_unique_key_args, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>>(String const&, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da684ce in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/map:1281: std::pair, std::__tree_node, void*>*, long>>, bool> std::map, std::allocator>>::try_emplace[abi:v15000] const&, String const&, unsigned long, std::shared_ptr, unsigned long const&>(String const&, std::shared_ptr const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&) @ 0x000000001da67fcf in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:455: DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001da5885b in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001da584dd in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001da5849d in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001da5845d in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001da58425 in /usr/bin/clickhouse 2024.09.24 01:24:59.845361 [ 8835 ] {c6c80c23-47c8-45b4-aa2e-7c5d8d1641ae} FileChecker: Will truncate file store/202/202005ec-a770-434d-92ec-cbfc0ec202e5/x.bin that has size 4001641 to size 0 2024.09.24 01:24:59.849209 [ 8835 ] {c6c80c23-47c8-45b4-aa2e-7c5d8d1641ae} FileChecker: Will truncate file store/202/202005ec-a770-434d-92ec-cbfc0ec202e5/y.bin that has size 4001641 to size 0 2024.09.24 01:24:59.851388 [ 8835 ] {c6c80c23-47c8-45b4-aa2e-7c5d8d1641ae} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 16.67 MiB (attempt to allocate chunk of 1049487 bytes), maximum: 16.00 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399cd51 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000001399bda4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1b73c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb82cb5 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb7b63e in /usr/bin/clickhouse 19. /build/src/Storages/StorageLog.cpp:326: DB::LogSink::Stream::Stream(std::shared_ptr const&, String const&, unsigned long, std::shared_ptr, unsigned long) @ 0x000000001da69041 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1775: std::pair::pair[abi:v15000] const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&, 0ul, 0ul, 1ul, 2ul, 3ul, 4ul>(std::piecewise_construct_t, std::tuple&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&, std::__tuple_indices<0ul>, std::__tuple_indices<0ul, 1ul, 2ul, 3ul, 4ul>) @ 0x000000001da68eae in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__utility/pair.h:259: std::pair::pair[abi:v15000] const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>(std::piecewise_construct_t, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>) @ 0x000000001da68de1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::pair* std::construct_at[abi:v15000], std::piecewise_construct_t const&, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>, std::pair*>(std::pair*, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da68da7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, void*>>>::construct[abi:v15000], std::piecewise_construct_t const&, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>, void, void>(std::allocator, void*>>&, std::pair*, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da68b71 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__tree:2133: std::unique_ptr, void*>, std::__tree_node_destructor, void*>>>> std::__tree, std::__map_value_compare, std::less, true>, std::allocator>>::__construct_node, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>>(std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da68849 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__tree:2096: std::pair, std::__tree_node, void*>*, long>, bool> std::__tree, std::__map_value_compare, std::less, true>, std::allocator>>::__emplace_unique_key_args, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>>(String const&, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da684ce in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/map:1281: std::pair, std::__tree_node, void*>*, long>>, bool> std::map, std::allocator>>::try_emplace[abi:v15000] const&, String const&, unsigned long, std::shared_ptr, unsigned long const&>(String const&, std::shared_ptr const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&) @ 0x000000001da67fcf in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:455: DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001da5885b in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001da584dd in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001da5849d in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001da5845d in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001da58425 in /usr/bin/clickhouse 2024.09.24 01:25:02.987581 [ 22250 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:57876). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000013cee00c in /usr/bin/clickhouse 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000013ced280 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2189bc in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:105: DB::TCPHandler::runImpl() @ 0x000000001e6425a1 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:25:03.098754 [ 671 ] {cbdbe3a7-ff51-457d-9c60-49b2e70f7a44} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:57852). (NETWORK_ERROR) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:57852) (comment: 01007_r1r2_w_r2r1_deadlock.sh) (in query: SELECT x FROM a WHERE x IN (SELECT toUInt8(count()) FROM system.tables);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000013cefb88 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000013cef1a4 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b204acd in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:1090: DB::TCPHandler::sendProfileInfo(DB::ProfileInfo const&) @ 0x000000001e64eced in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:966: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001e64b7bc in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:518: DB::TCPHandler::runImpl() @ 0x000000001e643931 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:03.186879 [ 671 ] {cbdbe3a7-ff51-457d-9c60-49b2e70f7a44} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:57852). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000013cefb88 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000013cef1a4 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b204acd in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:2073: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001e655c35 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2150: DB::TCPHandler::sendLogs() @ 0x000000001e64c2df in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:672: DB::TCPHandler::runImpl() @ 0x000000001e6448d7 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:25:03.187245 [ 671 ] {cbdbe3a7-ff51-457d-9c60-49b2e70f7a44} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:57852). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000013cefb88 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000013cef1a4 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b204acd in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:1090: DB::TCPHandler::sendProfileInfo(DB::ProfileInfo const&) @ 0x000000001e64eced in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:966: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001e64b7bc in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:518: DB::TCPHandler::runImpl() @ 0x000000001e643931 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:03.187781 [ 671 ] {cbdbe3a7-ff51-457d-9c60-49b2e70f7a44} TCPHandler: Client has gone away. 2024.09.24 01:25:06.653809 [ 22250 ] {3422f46a-4840-4426-a10d-7289b91fcfc0} executeQuery: Code: 469. DB::Exception: Constraint `a_constraint` for table test_ej7shww2.replicated_constraints1 (d2fd2eaa-fa2d-4c40-9a84-c94ec541c9d0) is violated at row 1. Expression: (a < 10). Column values: a = 10. (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58020) (comment: 00988_constraints_replication_zookeeper_long.sql) (in query: INSERT INTO replicated_constraints1 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:06.655293 [ 22250 ] {3422f46a-4840-4426-a10d-7289b91fcfc0} TCPHandler: Code: 469. DB::Exception: Constraint `a_constraint` for table test_ej7shww2.replicated_constraints1 (d2fd2eaa-fa2d-4c40-9a84-c94ec541c9d0) is violated at row 1. Expression: (a < 10). Column values: a = 10. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:06.993177 [ 934 ] {} test_ej7shww2.replicated_constraints2 (b6994232-3c77-4890-b8d0-7aeb5bcfb2c1): auto DB::StorageReplicatedMergeTree::processQueueEntry(ReplicatedMergeTreeQueue::SelectedEntryPtr)::(anonymous class)::operator()(LogEntryPtr &) const: Code: 235. DB::Exception: Part all_2_2_0 (state Active) already exists. (DUPLICATE_DATA_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3774: DB::MergeTreeData::checkPartDuplicate(std::shared_ptr&, DB::MergeTreeData::Transaction&, DB::DataPartsLock&) const @ 0x000000001de9865e in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3878: DB::MergeTreeData::renameTempPartAndReplaceImpl(std::shared_ptr&, DB::MergeTreeData::Transaction&, DB::DataPartsLock&, std::vector, std::allocator>>*) @ 0x000000001de9adb1 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:3930: DB::MergeTreeData::renameTempPartAndReplace(std::shared_ptr&, DB::MergeTreeData::Transaction&) @ 0x000000001de9b459 in /usr/bin/clickhouse 9. /build/src/Storages/StorageReplicatedMergeTree.cpp:4625: DB::StorageReplicatedMergeTree::fetchPart(String const&, std::shared_ptr const&, String const&, String const&, bool, unsigned long, std::shared_ptr, bool) @ 0x000000001d839e2c in /usr/bin/clickhouse 10. /build/src/Storages/StorageReplicatedMergeTree.cpp:1953: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82f71f in /usr/bin/clickhouse 11. /build/src/Storages/StorageReplicatedMergeTree.cpp:1794: DB::StorageReplicatedMergeTree::executeLogEntry(DB::ReplicatedMergeTreeLogEntry&) @ 0x000000001d821ece in /usr/bin/clickhouse 12. /build/src/Storages/StorageReplicatedMergeTree.cpp:3279: DB::StorageReplicatedMergeTree::processQueueEntry(std::shared_ptr)::$_1::operator()(std::shared_ptr&) const @ 0x000000001d8da0d9 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval)::$_1&>()(std::declval&>())) std::__invoke[abi:v15000])::$_1&, std::shared_ptr&>(DB::StorageReplicatedMergeTree::processQueueEntry(std::shared_ptr)::$_1&, std::shared_ptr&) @ 0x000000001d8da07d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: bool std::__invoke_void_return_wrapper::__call)::$_1&, std::shared_ptr&>(DB::StorageReplicatedMergeTree::processQueueEntry(std::shared_ptr)::$_1&, std::shared_ptr&) @ 0x000000001d8da03d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func)::$_1, bool (std::shared_ptr&)>::operator()[abi:v15000](std::shared_ptr&) @ 0x000000001d8d9ffd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker&)>::__call_impl)::$_1, bool (std::shared_ptr&)>>(std::__function::__policy_storage const*, std::shared_ptr&) @ 0x000000001d8d9fc5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func&)>::operator()[abi:v15000](std::shared_ptr&) const @ 0x000000001e30023e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function&)>::operator()(std::shared_ptr&) const @ 0x000000001e2e7d7d in /usr/bin/clickhouse 19. /build/src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp:1766: DB::ReplicatedMergeTreeQueue::processEntry(std::function ()>, std::shared_ptr&, std::function&)>) @ 0x000000001e2d38d9 in /usr/bin/clickhouse 20. /build/src/Storages/StorageReplicatedMergeTree.cpp:3275: DB::StorageReplicatedMergeTree::processQueueEntry(std::shared_ptr) @ 0x000000001d857808 in /usr/bin/clickhouse 21. /build/src/Storages/StorageReplicatedMergeTree.cpp:3338: DB::StorageReplicatedMergeTree::scheduleDataProcessingJob(DB::BackgroundJobsAssignee&)::$_0::operator()() @ 0x000000001d8db495 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::StorageReplicatedMergeTree::scheduleDataProcessingJob(DB::BackgroundJobsAssignee&)::$_0&) @ 0x000000001d8db455 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: bool std::__invoke_void_return_wrapper::__call(DB::StorageReplicatedMergeTree::scheduleDataProcessingJob(DB::BackgroundJobsAssignee&)::$_0&) @ 0x000000001d8db435 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001d8db415 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001d8db3e0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x00000000138a16b6 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x00000000138a0915 in /usr/bin/clickhouse 28. /build/src/Storages/MergeTree/IExecutableTask.h:61: DB::ExecutableLambdaAdapter::executeStep() @ 0x000000001d92825d in /usr/bin/clickhouse 29. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de4c56d in /usr/bin/clickhouse 30. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de4d02e in /usr/bin/clickhouse 31. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de59b18 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:25:07.763351 [ 22250 ] {4691e28a-65f3-4645-b8be-a637a2d885ee} executeQuery: Code: 469. DB::Exception: Constraint `a_constraint` for table test_ej7shww2.replicated_constraints1 (d2fd2eaa-fa2d-4c40-9a84-c94ec541c9d0) is violated at row 1. Expression: (a < 10). Column values: a = 10. (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58020) (comment: 00988_constraints_replication_zookeeper_long.sql) (in query: INSERT INTO replicated_constraints1 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:07.764449 [ 22250 ] {4691e28a-65f3-4645-b8be-a637a2d885ee} TCPHandler: Code: 469. DB::Exception: Constraint `a_constraint` for table test_ej7shww2.replicated_constraints1 (d2fd2eaa-fa2d-4c40-9a84-c94ec541c9d0) is violated at row 1. Expression: (a < 10). Column values: a = 10. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:07.779212 [ 22250 ] {adaf522c-1944-4b1d-be5f-142a26ef8447} executeQuery: Code: 469. DB::Exception: Constraint `b_constraint` for table test_ej7shww2.replicated_constraints2 (b6994232-3c77-4890-b8d0-7aeb5bcfb2c1) is violated at row 1. Expression: (b > 10). Column values: b = 10. (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58020) (comment: 00988_constraints_replication_zookeeper_long.sql) (in query: INSERT INTO replicated_constraints2 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:07.780321 [ 22250 ] {adaf522c-1944-4b1d-be5f-142a26ef8447} TCPHandler: Code: 469. DB::Exception: Constraint `b_constraint` for table test_ej7shww2.replicated_constraints2 (b6994232-3c77-4890-b8d0-7aeb5bcfb2c1) is violated at row 1. Expression: (b > 10). Column values: b = 10. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:09.435282 [ 12007 ] {d2cd502d-62b5-4760-a4dc-8e11774baaa0} executeQuery: Code: 36. DB::Exception: Cannot alter settings, because table engine doesn't support settings changes. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58142) (comment: 00980_merge_alter_settings.sql) (in query: ALTER TABLE log_for_alter MODIFY SETTING aaa=123;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [77]) @ 0x000000000bc3f9be in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1268: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d5908c7 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:09.436055 [ 12007 ] {d2cd502d-62b5-4760-a4dc-8e11774baaa0} TCPHandler: Code: 36. DB::Exception: Cannot alter settings, because table engine doesn't support settings changes. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [77]) @ 0x000000000bc3f9be in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1268: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d5908c7 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:09.579490 [ 12007 ] {38fac7a9-92dc-46b0-b48d-0f65fd53b998} executeQuery: Code: 472. DB::Exception: Setting 'index_granularity' is readonly for storage 'MergeTree'. (READONLY_SETTING) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58142) (comment: 00980_merge_alter_settings.sql) (in query: ALTER TABLE table_for_alter MODIFY SETTING index_granularity=555;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3433: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de923bd in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:09.580248 [ 12007 ] {38fac7a9-92dc-46b0-b48d-0f65fd53b998} TCPHandler: Code: 472. DB::Exception: Setting 'index_granularity' is readonly for storage 'MergeTree'. (READONLY_SETTING), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3433: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de923bd in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:10.202721 [ 12007 ] {5a57425f-ddad-4c53-bffd-9562c66546a7} executeQuery: Code: 252. DB::Exception: Too many parts (1 with average size of 320.00 B) in table 'test_xih403mr.table_for_alter (4c8e3a46-3496-46e7-a461-5a376ffacc06)'. Merges are processing significantly slower than inserts. (TOO_MANY_PARTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58142) (comment: 00980_merge_alter_settings.sql) (in query: INSERT INTO table_for_alter VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000001def3d28 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4511: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000001dea61e4 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x000000001e3a7a0c in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x000000001ebc9319 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_0&) @ 0x000000001ebc92f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_0&) @ 0x000000001ebc92d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc92b5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc927d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc8695 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x000000001e6fb6f6 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:841: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d22a in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:25:10.203728 [ 12007 ] {5a57425f-ddad-4c53-bffd-9562c66546a7} TCPHandler: Code: 252. DB::Exception: Too many parts (1 with average size of 320.00 B) in table 'test_xih403mr.table_for_alter (4c8e3a46-3496-46e7-a461-5a376ffacc06)'. Merges are processing significantly slower than inserts. (TOO_MANY_PARTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000001def3d28 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4511: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000001dea61e4 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x000000001e3a7a0c in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x000000001ebc9319 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_0&) @ 0x000000001ebc92f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_0&) @ 0x000000001ebc92d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc92b5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc927d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc8695 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x000000001e6fb6f6 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:841: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d22a in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:25:10.250987 [ 12007 ] {10d54b0a-882d-4f06-b8e9-9e9e3b357690} executeQuery: Code: 252. DB::Exception: Too many parts (1 with average size of 320.00 B) in table 'test_xih403mr.table_for_alter (4c8e3a46-3496-46e7-a461-5a376ffacc06)'. Merges are processing significantly slower than inserts. (TOO_MANY_PARTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58142) (comment: 00980_merge_alter_settings.sql) (in query: INSERT INTO table_for_alter VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000001def3d28 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4511: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000001dea61e4 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x000000001e3a7a0c in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x000000001ebc9319 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_0&) @ 0x000000001ebc92f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_0&) @ 0x000000001ebc92d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc92b5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc927d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc8695 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x000000001e6fb6f6 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:841: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d22a in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:25:10.252544 [ 12007 ] {10d54b0a-882d-4f06-b8e9-9e9e3b357690} TCPHandler: Code: 252. DB::Exception: Too many parts (1 with average size of 320.00 B) in table 'test_xih403mr.table_for_alter (4c8e3a46-3496-46e7-a461-5a376ffacc06)'. Merges are processing significantly slower than inserts. (TOO_MANY_PARTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000001def3d28 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4511: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000001dea61e4 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x000000001e3a7a0c in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x000000001ebc9319 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_0&) @ 0x000000001ebc92f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_0&) @ 0x000000001ebc92d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc92b5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc927d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc8695 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x000000001e6fb6f6 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:841: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d22a in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:25:10.422923 [ 12007 ] {3a1a0010-3c97-430a-b68a-a0a179f0f891} executeQuery: Code: 115. DB::Exception: Unknown setting xxx_yyy. (UNKNOWN_SETTING) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58142) (comment: 00980_merge_alter_settings.sql) (in query: ALTER TABLE table_for_alter MODIFY SETTING xxx_yyy=124;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Core/BaseSettings.cpp:44: DB::BaseSettingsHelpers::throwSettingNotFound(std::basic_string_view>) @ 0x000000001b3e1b27 in /usr/bin/clickhouse 7. ? @ 0x000000001b20bbf3 in /usr/bin/clickhouse 8. /build/src/Access/SettingsConstraints.cpp:233: bool DB::getNewValueToCheck(DB::MergeTreeSettings const&, DB::SettingChange&, DB::Field&, bool) @ 0x000000001b20ac2b in /usr/bin/clickhouse 9. /build/src/Access/SettingsConstraints.cpp:294: DB::SettingsConstraints::checkImpl(DB::MergeTreeSettings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation) const @ 0x000000001b206354 in /usr/bin/clickhouse 10. /build/src/Access/SettingsConstraints.cpp:204: DB::SettingsConstraints::check(DB::MergeTreeSettings const&, DB::SettingChange const&) const @ 0x000000001b2062e7 in /usr/bin/clickhouse 11. /build/src/Access/SettingsConstraints.cpp:208: DB::SettingsConstraints::check(DB::MergeTreeSettings const&, DB::SettingsChanges const&) const @ 0x000000001b2064f6 in /usr/bin/clickhouse 12. /build/src/Interpreters/Context.cpp:1914: DB::Context::checkMergeTreeSettingsConstraints(DB::MergeTreeSettings const&, DB::SettingsChanges const&) const @ 0x000000001bdcb9de in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeData.cpp:3421: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de92184 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:10.423770 [ 12007 ] {3a1a0010-3c97-430a-b68a-a0a179f0f891} TCPHandler: Code: 115. DB::Exception: Unknown setting xxx_yyy. (UNKNOWN_SETTING), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Core/BaseSettings.cpp:44: DB::BaseSettingsHelpers::throwSettingNotFound(std::basic_string_view>) @ 0x000000001b3e1b27 in /usr/bin/clickhouse 7. ? @ 0x000000001b20bbf3 in /usr/bin/clickhouse 8. /build/src/Access/SettingsConstraints.cpp:233: bool DB::getNewValueToCheck(DB::MergeTreeSettings const&, DB::SettingChange&, DB::Field&, bool) @ 0x000000001b20ac2b in /usr/bin/clickhouse 9. /build/src/Access/SettingsConstraints.cpp:294: DB::SettingsConstraints::checkImpl(DB::MergeTreeSettings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation) const @ 0x000000001b206354 in /usr/bin/clickhouse 10. /build/src/Access/SettingsConstraints.cpp:204: DB::SettingsConstraints::check(DB::MergeTreeSettings const&, DB::SettingChange const&) const @ 0x000000001b2062e7 in /usr/bin/clickhouse 11. /build/src/Access/SettingsConstraints.cpp:208: DB::SettingsConstraints::check(DB::MergeTreeSettings const&, DB::SettingsChanges const&) const @ 0x000000001b2064f6 in /usr/bin/clickhouse 12. /build/src/Interpreters/Context.cpp:1914: DB::Context::checkMergeTreeSettingsConstraints(DB::MergeTreeSettings const&, DB::SettingsChanges const&) const @ 0x000000001bdcb9de in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeData.cpp:3421: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de92184 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:10.622192 [ 12007 ] {6822023b-bf8c-42ce-bfe1-0b1e47118730} executeQuery: Code: 472. DB::Exception: Setting 'index_granularity' is readonly for storage 'MergeTree'. (READONLY_SETTING) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58142) (comment: 00980_merge_alter_settings.sql) (in query: ALTER TABLE table_for_reset_setting MODIFY SETTING index_granularity=555;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3433: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de923bd in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:10.622832 [ 12007 ] {6822023b-bf8c-42ce-bfe1-0b1e47118730} TCPHandler: Code: 472. DB::Exception: Setting 'index_granularity' is readonly for storage 'MergeTree'. (READONLY_SETTING), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3433: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de923bd in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:10.711776 [ 12007 ] {475a28b6-1041-4eae-a2f3-ee145840b3e3} executeQuery: Code: 252. DB::Exception: Too many parts (2 with average size of 320.00 B) in table 'test_xih403mr.table_for_reset_setting (8b45f768-7d74-4d50-a43f-ff996d70016e)'. Merges are processing significantly slower than inserts. (TOO_MANY_PARTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58142) (comment: 00980_merge_alter_settings.sql) (in query: INSERT INTO table_for_reset_setting VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000001def3d28 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4511: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000001dea61e4 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x000000001e3a7a0c in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x000000001ebc9319 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_0&) @ 0x000000001ebc92f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_0&) @ 0x000000001ebc92d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc92b5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc927d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc8695 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x000000001e6fb6f6 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:841: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d22a in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:25:10.713069 [ 12007 ] {475a28b6-1041-4eae-a2f3-ee145840b3e3} TCPHandler: Code: 252. DB::Exception: Too many parts (2 with average size of 320.00 B) in table 'test_xih403mr.table_for_reset_setting (8b45f768-7d74-4d50-a43f-ff996d70016e)'. Merges are processing significantly slower than inserts. (TOO_MANY_PARTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000001def3d28 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4511: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000001dea61e4 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x000000001e3a7a0c in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x000000001ebc9319 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_0&) @ 0x000000001ebc92f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_0&) @ 0x000000001ebc92d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc92b5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc927d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc8695 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x000000001e6fb6f6 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:841: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d22a in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:25:10.953554 [ 12007 ] {408af5d2-abcb-4d13-8176-fb27f8998a44} executeQuery: Code: 472. DB::Exception: Setting 'index_granularity' is readonly for storage 'MergeTree'. (READONLY_SETTING) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58142) (comment: 00980_merge_alter_settings.sql) (in query: ALTER TABLE table_for_reset_setting RESET SETTING index_granularity;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3457: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de92a1d in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:10.954345 [ 12007 ] {408af5d2-abcb-4d13-8176-fb27f8998a44} TCPHandler: Code: 472. DB::Exception: Setting 'index_granularity' is readonly for storage 'MergeTree'. (READONLY_SETTING), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3457: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de92a1d in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:11.051566 [ 12007 ] {dce61526-dc86-47bc-9f40-cf28cdbfdfa2} executeQuery: Code: 36. DB::Exception: Cannot reset setting 'unknown_setting' because it doesn't exist for MergeTree engines family. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58142) (comment: 00980_merge_alter_settings.sql) (in query: -- don't execute alter with incorrect setting ALTER TABLE table_for_reset_setting RESET SETTING merge_with_ttl_timeout, unknown_setting;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3347: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de91327 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:11.052332 [ 12007 ] {dce61526-dc86-47bc-9f40-cf28cdbfdfa2} TCPHandler: Code: 36. DB::Exception: Cannot reset setting 'unknown_setting' because it doesn't exist for MergeTree engines family. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3347: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de91327 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:19.766685 [ 12003 ] {996b9eb4-f24e-48cc-9b95-acd35356f34b} executeQuery: Code: 20. DB::Exception: Number of columns in section IN doesn't match. 3 at left, 2 at right. (NUMBER_OF_COLUMNS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:41254) (comment: 00981_in_subquery_with_tuple.sh) (in query: SELECT * FROM bug WHERE (s, d, s) IN (SELECT s, max(d) FROM bug GROUP BY s)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x000000000b66908c in /usr/bin/clickhouse 6. /build/src/Interpreters/Set.cpp:440: DB::Set::checkColumnsNumber(unsigned long) const @ 0x000000001ce18248 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/KeyCondition.cpp:1273: DB::KeyCondition::tryPrepareSetIndex(DB::RPNBuilderFunctionTreeNode const&, DB::KeyCondition::RPNElement&, unsigned long&) @ 0x000000001ddcefc0 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/KeyCondition.cpp:1546: DB::KeyCondition::extractAtomFromTree(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x000000001ddd05bc in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/KeyCondition.cpp:859: DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x000000001dddeb28 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0&>()(std::declval(), std::declval())) std::__invoke[abi:v15000], std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x000000001dddeae5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: bool std::__invoke_void_return_wrapper::__call, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x000000001dddeaa5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x000000001dddea65 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>>(std::__function::__policy_storage const*, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x000000001dddea2d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x000000001de05066 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x000000001de04ea5 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/RPNBuilder.h:252: DB::RPNBuilder::traverseTree(DB::RPNBuilderTreeNode const&) @ 0x000000001de04bb8 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/RPNBuilder.h:207: DB::RPNBuilder::RPNBuilder(DB::ActionsDAG::Node const*, std::shared_ptr, std::function const&) @ 0x000000001ddf6a2a in /usr/bin/clickhouse 18. /build/src/Storages/MergeTree/KeyCondition.cpp:857: DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool) @ 0x000000001ddcbf59 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::KeyCondition* std::construct_at[abi:v15000]&, std::shared_ptr const&, std::vector>&, std::shared_ptr&, std::unordered_set, std::equal_to, std::allocator>, DB::KeyCondition*>(DB::KeyCondition*, std::shared_ptr&, std::shared_ptr const&, std::vector>&, std::shared_ptr&, std::unordered_set, std::equal_to, std::allocator>&&) @ 0x000000001eeba05b in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/optional:374: void std::__optional_storage_base::__construct[abi:v15000]&, std::shared_ptr const&, std::vector>&, std::shared_ptr&, std::unordered_set, std::equal_to, std::allocator>>(std::shared_ptr&, std::shared_ptr const&, std::vector>&, std::shared_ptr&, std::unordered_set, std::equal_to, std::allocator>&&) @ 0x000000001eeb9f4a in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/optional:898: DB::KeyCondition& std::optional::emplace[abi:v15000]&, std::shared_ptr const&, std::vector>&, std::shared_ptr&, std::unordered_set, std::equal_to, std::allocator>, void>(std::shared_ptr&, std::shared_ptr const&, std::vector>&, std::shared_ptr&, std::unordered_set, std::equal_to, std::allocator>&&) @ 0x000000001eeb84ea in /usr/bin/clickhouse 22. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1268: DB::buildIndexes(std::optional&, std::shared_ptr, DB::MergeTreeData const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&) @ 0x000000001ee9f603 in /usr/bin/clickhouse 23. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1349: DB::ReadFromMergeTree::applyFilters() @ 0x000000001ee9eb5d in /usr/bin/clickhouse 24. /build/src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:205: DB::QueryPlanOptimizations::optimizeTreeThirdPass(DB::QueryPlan&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001ef2a528 in /usr/bin/clickhouse 25. /build/src/Processors/QueryPlan/QueryPlan.cpp:484: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x000000001ee78411 in /usr/bin/clickhouse 26. /build/src/Processors/QueryPlan/QueryPlan.cpp:169: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee77f17 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd8cb in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:25:19.768642 [ 12003 ] {996b9eb4-f24e-48cc-9b95-acd35356f34b} TCPHandler: Code: 20. DB::Exception: Number of columns in section IN doesn't match. 3 at left, 2 at right. (NUMBER_OF_COLUMNS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x000000000b66908c in /usr/bin/clickhouse 6. /build/src/Interpreters/Set.cpp:440: DB::Set::checkColumnsNumber(unsigned long) const @ 0x000000001ce18248 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/KeyCondition.cpp:1273: DB::KeyCondition::tryPrepareSetIndex(DB::RPNBuilderFunctionTreeNode const&, DB::KeyCondition::RPNElement&, unsigned long&) @ 0x000000001ddcefc0 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/KeyCondition.cpp:1546: DB::KeyCondition::extractAtomFromTree(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x000000001ddd05bc in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/KeyCondition.cpp:859: DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x000000001dddeb28 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0&>()(std::declval(), std::declval())) std::__invoke[abi:v15000], std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x000000001dddeae5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: bool std::__invoke_void_return_wrapper::__call, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x000000001dddeaa5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x000000001dddea65 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>>(std::__function::__policy_storage const*, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x000000001dddea2d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x000000001de05066 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x000000001de04ea5 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/RPNBuilder.h:252: DB::RPNBuilder::traverseTree(DB::RPNBuilderTreeNode const&) @ 0x000000001de04bb8 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/RPNBuilder.h:207: DB::RPNBuilder::RPNBuilder(DB::ActionsDAG::Node const*, std::shared_ptr, std::function const&) @ 0x000000001ddf6a2a in /usr/bin/clickhouse 18. /build/src/Storages/MergeTree/KeyCondition.cpp:857: DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool) @ 0x000000001ddcbf59 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::KeyCondition* std::construct_at[abi:v15000]&, std::shared_ptr const&, std::vector>&, std::shared_ptr&, std::unordered_set, std::equal_to, std::allocator>, DB::KeyCondition*>(DB::KeyCondition*, std::shared_ptr&, std::shared_ptr const&, std::vector>&, std::shared_ptr&, std::unordered_set, std::equal_to, std::allocator>&&) @ 0x000000001eeba05b in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/optional:374: void std::__optional_storage_base::__construct[abi:v15000]&, std::shared_ptr const&, std::vector>&, std::shared_ptr&, std::unordered_set, std::equal_to, std::allocator>>(std::shared_ptr&, std::shared_ptr const&, std::vector>&, std::shared_ptr&, std::unordered_set, std::equal_to, std::allocator>&&) @ 0x000000001eeb9f4a in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/optional:898: DB::KeyCondition& std::optional::emplace[abi:v15000]&, std::shared_ptr const&, std::vector>&, std::shared_ptr&, std::unordered_set, std::equal_to, std::allocator>, void>(std::shared_ptr&, std::shared_ptr const&, std::vector>&, std::shared_ptr&, std::unordered_set, std::equal_to, std::allocator>&&) @ 0x000000001eeb84ea in /usr/bin/clickhouse 22. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1268: DB::buildIndexes(std::optional&, std::shared_ptr, DB::MergeTreeData const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&) @ 0x000000001ee9f603 in /usr/bin/clickhouse 23. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1349: DB::ReadFromMergeTree::applyFilters() @ 0x000000001ee9eb5d in /usr/bin/clickhouse 24. /build/src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:205: DB::QueryPlanOptimizations::optimizeTreeThirdPass(DB::QueryPlan&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001ef2a528 in /usr/bin/clickhouse 25. /build/src/Processors/QueryPlan/QueryPlan.cpp:484: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x000000001ee78411 in /usr/bin/clickhouse 26. /build/src/Processors/QueryPlan/QueryPlan.cpp:169: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee77f17 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd8cb in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:25:19.930971 [ 12007 ] {0bad2794-8a8e-4124-a26a-6333e58a4639} executeQuery: Code: 403. DB::Exception: No inequality in ASOF JOIN ON section. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:41232) (comment: 00976_asof_join_on.sql) (in query: SELECT count() FROM A ASOF JOIN B ON A.a == B.b AND A.t == B.t;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [39]) @ 0x000000000c57947e in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:80: DB::CollectJoinOnKeysMatcher::Data::asofToJoinKeys() @ 0x000000001d0173b1 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:666: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cfa1746 in /usr/bin/clickhouse 8. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9da52 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:19.931824 [ 12007 ] {0bad2794-8a8e-4124-a26a-6333e58a4639} TCPHandler: Code: 403. DB::Exception: No inequality in ASOF JOIN ON section. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [39]) @ 0x000000000c57947e in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:80: DB::CollectJoinOnKeysMatcher::Data::asofToJoinKeys() @ 0x000000001d0173b1 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:666: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cfa1746 in /usr/bin/clickhouse 8. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9da52 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:19.943610 [ 12007 ] {7795094c-d576-434d-83aa-042d4a4856c1} executeQuery: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected 't != B.t': While processing t != B.t. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:41232) (comment: 00976_asof_join_on.sql) (in query: SELECT count() FROM A ASOF JOIN B ON A.a == B.b AND A.t != B.t;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:151: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001d0186b6 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001cfb2044 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001cfb1e40 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb2241 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb22e6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb224e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb22e6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb224e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001cfb1c85 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:650: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cfa143c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9da52 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:25:19.944554 [ 12007 ] {7795094c-d576-434d-83aa-042d4a4856c1} TCPHandler: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected 't != B.t': While processing t != B.t. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:151: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001d0186b6 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001cfb2044 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001cfb1e40 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb2241 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb22e6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb224e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb22e6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb224e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb1dca in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001cfb1c85 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:650: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cfa143c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9da52 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:25:20.092892 [ 12007 ] {80222509-3148-493a-9b09-005c0137733c} executeQuery: Code: 48. DB::Exception: ASOF join doesn't support multiple ORs for keys in JOIN ON section. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:41232) (comment: 00976_asof_join_on.sql) (in query: SELECT A.a, A.t, B.b, B.t FROM A ASOF JOIN B ON A.a == B.b AND A.t < B.t OR A.a == B.b + 1 ORDER BY (A.a, A.t);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [67]) @ 0x000000001254341e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:665: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cfa16f9 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9da52 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:20.093917 [ 12007 ] {80222509-3148-493a-9b09-005c0137733c} TCPHandler: Code: 48. DB::Exception: ASOF join doesn't support multiple ORs for keys in JOIN ON section. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [67]) @ 0x000000001254341e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:665: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cfa16f9 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9da52 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:21.570201 [ 12007 ] {219724c6-3a43-46c1-a050-2d1d314075d6} executeQuery: Code: 122. DB::Exception: Tables have different structure. (INCOMPATIBLE_COLUMNS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56512) (comment: 01034_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [32]) @ 0x0000000011951bbe in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7408: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001deca176 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7782: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d8a7257 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deadd35 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:21.570906 [ 12007 ] {219724c6-3a43-46c1-a050-2d1d314075d6} TCPHandler: Code: 122. DB::Exception: Tables have different structure. (INCOMPATIBLE_COLUMNS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [32]) @ 0x0000000011951bbe in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7408: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001deca176 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7782: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d8a7257 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deadd35 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:21.868882 [ 22247 ] {5b8f97b7-dd7d-4dfa-9f60-417b52698f06} executeQuery: Code: 20. DB::Exception: Number of columns in section IN doesn't match. 2 at left, 3 at right. (NUMBER_OF_COLUMNS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56516) (comment: 00981_in_subquery_with_tuple.sh) (in query: SELECT * FROM bug WHERE (s, d) IN (SELECT s, max(d), s FROM bug GROUP BY s)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x000000000b66908c in /usr/bin/clickhouse 6. /build/src/Interpreters/Set.cpp:440: DB::Set::checkColumnsNumber(unsigned long) const @ 0x000000001ce18248 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/KeyCondition.cpp:1273: DB::KeyCondition::tryPrepareSetIndex(DB::RPNBuilderFunctionTreeNode const&, DB::KeyCondition::RPNElement&, unsigned long&) @ 0x000000001ddcefc0 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/KeyCondition.cpp:1546: DB::KeyCondition::extractAtomFromTree(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x000000001ddd05bc in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/KeyCondition.cpp:859: DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x000000001dddeb28 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0&>()(std::declval(), std::declval())) std::__invoke[abi:v15000], std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x000000001dddeae5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: bool std::__invoke_void_return_wrapper::__call, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x000000001dddeaa5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x000000001dddea65 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>>(std::__function::__policy_storage const*, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x000000001dddea2d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x000000001de05066 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x000000001de04ea5 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/RPNBuilder.h:252: DB::RPNBuilder::traverseTree(DB::RPNBuilderTreeNode const&) @ 0x000000001de04bb8 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/RPNBuilder.h:207: DB::RPNBuilder::RPNBuilder(DB::ActionsDAG::Node const*, std::shared_ptr, std::function const&) @ 0x000000001ddf6a2a in /usr/bin/clickhouse 18. /build/src/Storages/MergeTree/KeyCondition.cpp:857: DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool) @ 0x000000001ddcbf59 in /usr/bin/clickhouse 19. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1246: DB::buildIndexes(std::optional&, std::shared_ptr, DB::MergeTreeData const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&) @ 0x000000001ee9f293 in /usr/bin/clickhouse 20. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1349: DB::ReadFromMergeTree::applyFilters() @ 0x000000001ee9eb5d in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:205: DB::QueryPlanOptimizations::optimizeTreeThirdPass(DB::QueryPlan&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001ef2a528 in /usr/bin/clickhouse 22. /build/src/Processors/QueryPlan/QueryPlan.cpp:484: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x000000001ee78411 in /usr/bin/clickhouse 23. /build/src/Processors/QueryPlan/QueryPlan.cpp:169: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee77f17 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd8cb in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 2024.09.24 01:25:21.871020 [ 22247 ] {5b8f97b7-dd7d-4dfa-9f60-417b52698f06} TCPHandler: Code: 20. DB::Exception: Number of columns in section IN doesn't match. 2 at left, 3 at right. (NUMBER_OF_COLUMNS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x000000000b66908c in /usr/bin/clickhouse 6. /build/src/Interpreters/Set.cpp:440: DB::Set::checkColumnsNumber(unsigned long) const @ 0x000000001ce18248 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/KeyCondition.cpp:1273: DB::KeyCondition::tryPrepareSetIndex(DB::RPNBuilderFunctionTreeNode const&, DB::KeyCondition::RPNElement&, unsigned long&) @ 0x000000001ddcefc0 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/KeyCondition.cpp:1546: DB::KeyCondition::extractAtomFromTree(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x000000001ddd05bc in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/KeyCondition.cpp:859: DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x000000001dddeb28 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0&>()(std::declval(), std::declval())) std::__invoke[abi:v15000], std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x000000001dddeae5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: bool std::__invoke_void_return_wrapper::__call, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x000000001dddeaa5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x000000001dddea65 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>>(std::__function::__policy_storage const*, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x000000001dddea2d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x000000001de05066 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x000000001de04ea5 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/RPNBuilder.h:252: DB::RPNBuilder::traverseTree(DB::RPNBuilderTreeNode const&) @ 0x000000001de04bb8 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/RPNBuilder.h:207: DB::RPNBuilder::RPNBuilder(DB::ActionsDAG::Node const*, std::shared_ptr, std::function const&) @ 0x000000001ddf6a2a in /usr/bin/clickhouse 18. /build/src/Storages/MergeTree/KeyCondition.cpp:857: DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool) @ 0x000000001ddcbf59 in /usr/bin/clickhouse 19. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1246: DB::buildIndexes(std::optional&, std::shared_ptr, DB::MergeTreeData const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&) @ 0x000000001ee9f293 in /usr/bin/clickhouse 20. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1349: DB::ReadFromMergeTree::applyFilters() @ 0x000000001ee9eb5d in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:205: DB::QueryPlanOptimizations::optimizeTreeThirdPass(DB::QueryPlan&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001ef2a528 in /usr/bin/clickhouse 22. /build/src/Processors/QueryPlan/QueryPlan.cpp:484: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x000000001ee78411 in /usr/bin/clickhouse 23. /build/src/Processors/QueryPlan/QueryPlan.cpp:169: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee77f17 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd8cb in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 2024.09.24 01:25:24.994415 [ 12003 ] {54e4c82c-506f-435c-b6f7-f9de3bbf94a2} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 3.001024378 seconds, maximum: 3. (TIMEOUT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56530) (comment: 00976_max_execution_speed.sql) (in query: SELECT count() FROM system.numbers;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b87a98c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b879dd3 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x000000001b879ce8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x000000001ccaa2b9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6d0a80 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6d115c in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d09f6 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 17. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a610e2 in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:24.996011 [ 12003 ] {54e4c82c-506f-435c-b6f7-f9de3bbf94a2} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 3.001024378 seconds, maximum: 3. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b87a98c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b879dd3 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x000000001b879ce8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x000000001ccaa2b9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6d0a80 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6d115c in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d09f6 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 17. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a610e2 in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:26.153743 [ 22251 ] {9919fef0-8fe9-450b-85c2-b5a4660f09fc} executeQuery: Code: 122. DB::Exception: Tables have different structure. (INCOMPATIBLE_COLUMNS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56608) (comment: 01034_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [32]) @ 0x0000000011951bbe in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7408: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001deca176 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7782: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d8a7257 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deadd35 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:26.154327 [ 22251 ] {9919fef0-8fe9-450b-85c2-b5a4660f09fc} TCPHandler: Code: 122. DB::Exception: Tables have different structure. (INCOMPATIBLE_COLUMNS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [32]) @ 0x0000000011951bbe in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7408: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001deca176 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7782: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d8a7257 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deadd35 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:27.535322 [ 22247 ] {68bff9b1-54f4-4522-9c50-5683659c3679} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 900.00 thousand, current rows: 1.00 million. (TOO_MANY_ROWS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56612) (comment: 00971_merge_tree_uniform_read_distribution_and_max_rows_to_read.sql) (in query: -- constant ignore will be pruned by part pruner. ignore(*) is used. SELECT count() FROM merge_tree WHERE not ignore(*);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x000000001b8a1f28 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x000000001b8a1a4c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001b8a1d99 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:234: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x000000001ee95fa3 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1791: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea48e6 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee51b4c in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee780df in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd8cb in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:27.536208 [ 22247 ] {68bff9b1-54f4-4522-9c50-5683659c3679} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 900.00 thousand, current rows: 1.00 million. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x000000001b8a1f28 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x000000001b8a1a4c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001b8a1d99 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:234: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x000000001ee95fa3 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1791: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea48e6 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee51b4c in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee780df in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd8cb in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:27.555187 [ 22247 ] {c56f1d42-a91f-4dcb-9445-2fb5e022d9b9} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 900.00 thousand, current rows: 1.00 million. (TOO_MANY_ROWS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56612) (comment: 00971_merge_tree_uniform_read_distribution_and_max_rows_to_read.sql) (in query: SELECT count() FROM merge_tree WHERE not ignore(*);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x000000001b8a1f28 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x000000001b8a1a4c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001b8a1d99 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:234: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x000000001ee95fa3 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1791: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea48e6 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee51b4c in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee780df in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd8cb in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:27.555948 [ 22247 ] {c56f1d42-a91f-4dcb-9445-2fb5e022d9b9} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 900.00 thousand, current rows: 1.00 million. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x000000001b8a1f28 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x000000001b8a1a4c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001b8a1d99 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:234: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x000000001ee95fa3 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1791: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea48e6 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee51b4c in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee780df in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd8cb in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:30.733879 [ 8853 ] {19c08b01-30d1-460d-9e3a-cd89a4496b32} executeQuery: Code: 122. DB::Exception: Tables have different structure. (INCOMPATIBLE_COLUMNS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56714) (comment: 01034_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [32]) @ 0x0000000011951bbe in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7408: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001deca176 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7782: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d8a7257 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deadd35 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:30.734820 [ 8853 ] {19c08b01-30d1-460d-9e3a-cd89a4496b32} TCPHandler: Code: 122. DB::Exception: Tables have different structure. (INCOMPATIBLE_COLUMNS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [32]) @ 0x0000000011951bbe in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7408: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001deca176 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7782: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d8a7257 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deadd35 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:31.436092 [ 12003 ] {9ad5ab6c-adea-4c4a-9a95-76a11bb1737b} executeQuery: Code: 42. DB::Exception: Number of arguments for function neighbor doesn't match: passed 0, should be from 2 to 3: While processing neighbor(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:42790) (comment: 00957_neighbor.sql) (in query: -- no arguments select neighbor();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x000000000bc9dc4c in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:64: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000115041f1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefe15 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:25:31.437213 [ 12003 ] {9ad5ab6c-adea-4c4a-9a95-76a11bb1737b} TCPHandler: Code: 42. DB::Exception: Number of arguments for function neighbor doesn't match: passed 0, should be from 2 to 3: While processing neighbor(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x000000000bc9dc4c in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:64: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000115041f1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefe15 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:25:31.445202 [ 12003 ] {09469128-51c0-48a2-9cb9-438e7888d61d} executeQuery: Code: 42. DB::Exception: Number of arguments for function neighbor doesn't match: passed 1, should be from 2 to 3: While processing neighbor(1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:42790) (comment: 00957_neighbor.sql) (in query: -- single argument select neighbor(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x000000000bc9dc4c in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:64: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000115041f1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefe15 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:25:31.446013 [ 12003 ] {09469128-51c0-48a2-9cb9-438e7888d61d} TCPHandler: Code: 42. DB::Exception: Number of arguments for function neighbor doesn't match: passed 1, should be from 2 to 3: While processing neighbor(1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x000000000bc9dc4c in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:64: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000115041f1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefe15 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:25:31.453360 [ 12003 ] {053fa6fe-0848-4ee2-b54a-840243a53886} executeQuery: Code: 42. DB::Exception: Number of arguments for function neighbor doesn't match: passed 4, should be from 2 to 3: While processing neighbor(1, 2, 3, 4). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:42790) (comment: 00957_neighbor.sql) (in query: -- greater than 3 arguments select neighbor(1,2,3,4);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x000000000bc9dc4c in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:64: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000115041f1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefe15 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:25:31.454160 [ 12003 ] {053fa6fe-0848-4ee2-b54a-840243a53886} TCPHandler: Code: 42. DB::Exception: Number of arguments for function neighbor doesn't match: passed 4, should be from 2 to 3: While processing neighbor(1, 2, 3, 4). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x000000000bc9dc4c in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:64: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000115041f1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefe15 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:25:31.584263 [ 12003 ] {c088bd75-e6dc-4162-879e-b2f627a27f9b} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt8, String because some of them are String/FixedString and some of them are not: While processing neighbor(dummy, 1, 'hello'). (NO_COMMON_TYPE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:42790) (comment: 00957_neighbor.sql) (in query: -- bad default value select neighbor(dummy, 1, 'hello');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x00000000119578ec in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001ba067e6 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:454: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x000000001ba0aa6f in /usr/bin/clickhouse 8. /build/src/Functions/neighbor.cpp:78: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000011504631 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefe15 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 2024.09.24 01:25:31.585311 [ 12003 ] {c088bd75-e6dc-4162-879e-b2f627a27f9b} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt8, String because some of them are String/FixedString and some of them are not: While processing neighbor(dummy, 1, 'hello'). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x00000000119578ec in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001ba067e6 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:454: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x000000001ba0aa6f in /usr/bin/clickhouse 8. /build/src/Functions/neighbor.cpp:78: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000011504631 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefe15 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 2024.09.24 01:25:31.720565 [ 12003 ] {795a1912-d14c-47fc-8496-c7237dfc48d7} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int8, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing number, neighbor(number, 1, -10). (NO_COMMON_TYPE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:42790) (comment: 00957_neighbor.sql) (in query: -- types without common supertype (UInt64 and Int8) select number, neighbor(number, 1, -10) from numbers(3);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x00000000119578ec in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001ba07326 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:137: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001ba06ca4 in /usr/bin/clickhouse 8. /build/src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x000000001ba0bb58 in /usr/bin/clickhouse 9. /build/src/Functions/neighbor.cpp:78: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000011504631 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefe15 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:25:31.721718 [ 12003 ] {795a1912-d14c-47fc-8496-c7237dfc48d7} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int8, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing number, neighbor(number, 1, -10). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x00000000119578ec in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001ba07326 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:137: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001ba06ca4 in /usr/bin/clickhouse 8. /build/src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x000000001ba0bb58 in /usr/bin/clickhouse 9. /build/src/Functions/neighbor.cpp:78: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000011504631 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefe15 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:25:31.857330 [ 12003 ] {76bb945a-53c5-460e-a18e-247a07faa947} executeQuery: Code: 43. DB::Exception: Illegal type Nullable(UInt64) of second argument of function neighbor - should be an integer: While processing number, if(number > 1, number, NULL) AS offset, neighbor(number, offset). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:42790) (comment: 00957_neighbor.sql) (in query: -- nullable offset is not allowed select number, if(number > 1, number, null) as offset, neighbor(number, offset) from numbers(3);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:70: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000011504344 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefe15 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:25:31.858370 [ 12003 ] {76bb945a-53c5-460e-a18e-247a07faa947} TCPHandler: Code: 43. DB::Exception: Illegal type Nullable(UInt64) of second argument of function neighbor - should be an integer: While processing number, if(number > 1, number, NULL) AS offset, neighbor(number, offset). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:70: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000011504344 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefe15 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:25:35.838646 [ 22251 ] {c4f9f50f-623e-4a74-9784-56a73a8bbae9} executeQuery: Code: 122. DB::Exception: Tables have different structure. (INCOMPATIBLE_COLUMNS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:42872) (comment: 01034_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [32]) @ 0x0000000011951bbe in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7408: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001deca176 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7782: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d8a7257 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deadd35 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:35.839464 [ 22251 ] {c4f9f50f-623e-4a74-9784-56a73a8bbae9} TCPHandler: Code: 122. DB::Exception: Tables have different structure. (INCOMPATIBLE_COLUMNS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [32]) @ 0x0000000011951bbe in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7408: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001deca176 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7782: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d8a7257 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deadd35 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:40.510609 [ 22244 ] {35ad877f-1e13-4ef5-9917-d13752680f50} executeQuery: Code: 122. DB::Exception: Tables have different structure. (INCOMPATIBLE_COLUMNS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:42968) (comment: 01034_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [32]) @ 0x0000000011951bbe in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7408: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001deca176 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7782: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d8a7257 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deadd35 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:40.511184 [ 22244 ] {35ad877f-1e13-4ef5-9917-d13752680f50} TCPHandler: Code: 122. DB::Exception: Tables have different structure. (INCOMPATIBLE_COLUMNS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [32]) @ 0x0000000011951bbe in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7408: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001deca176 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7782: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d8a7257 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deadd35 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:44.647947 [ 670 ] {} InterserverIOHTTPHandler: Code: 221. DB::Exception: No interserver IO endpoint named DataPartsExchange:/clickhouse/tables/01-01/visits/replicas/some.server.com. (NO_SUCH_INTERSERVER_IO_ENDPOINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterserverIOHandler.h:80: DB::InterserverIOHandler::getEndpoint(String const&) const @ 0x000000001e5ed652 in /usr/bin/clickhouse 7. /build/src/Server/InterserverIOHTTPHandler.cpp:62: DB::InterserverIOHTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTTPServerResponse&, DB::InterserverIOHTTPHandler::Output&) @ 0x000000001e5eb298 in /usr/bin/clickhouse 8. /build/src/Server/InterserverIOHTTPHandler.cpp:120: DB::InterserverIOHTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5eb92e in /usr/bin/clickhouse 9. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:25:51.908688 [ 6745 ] {2c5e7f4b-eb67-4279-acb9-5a6b3bec4927} executeQuery: Code: 456. DB::Exception: Substitution `s` is not set. (UNKNOWN_QUERY_PARAMETER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:33280) (comment: 00954_client_prepared_statements.sh) (in query: SELECT {s:String}), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:70: DB::ReplaceQueryParameterVisitor::getParamValue(String const&) @ 0x000000001d093ded in /usr/bin/clickhouse 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:79: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x000000001d09314a in /usr/bin/clickhouse 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:38: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d092fe5 in /usr/bin/clickhouse 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 16. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:731: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0ad608 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:51.910198 [ 6745 ] {2c5e7f4b-eb67-4279-acb9-5a6b3bec4927} TCPHandler: Code: 456. DB::Exception: Substitution `s` is not set. (UNKNOWN_QUERY_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:70: DB::ReplaceQueryParameterVisitor::getParamValue(String const&) @ 0x000000001d093ded in /usr/bin/clickhouse 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:79: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x000000001d09314a in /usr/bin/clickhouse 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:38: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d092fe5 in /usr/bin/clickhouse 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 16. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:731: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0ad608 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:53.877415 [ 6745 ] {3a32a1fd-a00e-4b2f-8c8b-6912d8fcbfd3} executeQuery: Code: 457. DB::Exception: Value [1] OR 1 cannot be parsed as Array(UInt32) for query parameter 'injection' because it isn't parsed completely: only 3 of 8 bytes was parsed: [1]. (BAD_QUERY_PARAMETER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:33312) (comment: 00955_complex_prepared_statements.sh) (in query: SELECT * FROM ps WHERE a = {injection:Array(UInt32)}), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String const&, unsigned long&&, unsigned long&&, String&&) @ 0x000000001d094376 in /usr/bin/clickhouse 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:104: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x000000001d0935e5 in /usr/bin/clickhouse 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:38: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d092fe5 in /usr/bin/clickhouse 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 16. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 17. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:731: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0ad608 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:53.879182 [ 6745 ] {3a32a1fd-a00e-4b2f-8c8b-6912d8fcbfd3} TCPHandler: Code: 457. DB::Exception: Value [1] OR 1 cannot be parsed as Array(UInt32) for query parameter 'injection' because it isn't parsed completely: only 3 of 8 bytes was parsed: [1]. (BAD_QUERY_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String const&, unsigned long&&, unsigned long&&, String&&) @ 0x000000001d094376 in /usr/bin/clickhouse 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:104: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x000000001d0935e5 in /usr/bin/clickhouse 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:38: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d092fe5 in /usr/bin/clickhouse 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 16. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d093c93 in /usr/bin/clickhouse 17. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0930db in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:731: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0ad608 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:56.633719 [ 12042 ] {72e66b22-81ce-40f1-8325-9937127ec58e} executeQuery: Code: 450. DB::Exception: TTL expression result column should have DateTime or Date type, but has Int32. (BAD_TTL_EXPRESSION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:33380) (comment: 00933_alter_ttl.sql) (in query: alter table ttl modify ttl a;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/TTLDescription.cpp:77: DB::(anonymous namespace)::checkTTLExpression(std::shared_ptr const&, String const&) @ 0x000000001da327d6 in /usr/bin/clickhouse 7. /build/src/Storages/TTLDescription.cpp:292: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000001da323c1 in /usr/bin/clickhouse 8. /build/src/Storages/TTLDescription.cpp:341: DB::TTLTableDescription::getTTLForTableFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000001da32cac in /usr/bin/clickhouse 9. /build/src/Storages/AlterCommands.cpp:613: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001d58a1b8 in /usr/bin/clickhouse 10. /build/src/Storages/AlterCommands.cpp:929: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001d58c785 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8f06c in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:56.634496 [ 12042 ] {72e66b22-81ce-40f1-8325-9937127ec58e} TCPHandler: Code: 450. DB::Exception: TTL expression result column should have DateTime or Date type, but has Int32. (BAD_TTL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/TTLDescription.cpp:77: DB::(anonymous namespace)::checkTTLExpression(std::shared_ptr const&, String const&) @ 0x000000001da327d6 in /usr/bin/clickhouse 7. /build/src/Storages/TTLDescription.cpp:292: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000001da323c1 in /usr/bin/clickhouse 8. /build/src/Storages/TTLDescription.cpp:341: DB::TTLTableDescription::getTTLForTableFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000001da32cac in /usr/bin/clickhouse 9. /build/src/Storages/AlterCommands.cpp:613: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001d58a1b8 in /usr/bin/clickhouse 10. /build/src/Storages/AlterCommands.cpp:929: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001d58c785 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8f06c in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:56.907233 [ 12042 ] {1a3f4530-42bc-42a6-a5ae-324a0ad18cf8} executeQuery: Code: 43. DB::Exception: Illegal type Int32 of argument of function toDayOfMonth. Should be Date, Date32, DateTime or DateTime64: While processing toDayOfMonth(d). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:33380) (comment: 00933_alter_ttl.sql) (in query: alter table ttl modify column d Int ttl d + interval 1 day;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionDateOrDateTime.h:114: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x000000001263fcf1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:60: DB::FunctionDateOrDateTimeToSomething, DB::ToDayOfMonthImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001263e39f in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1696: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x000000001bfb8f58 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1729: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x000000001bfb92c3 in /usr/bin/clickhouse 24. /build/src/Storages/KeyDescription.cpp:142: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x000000001d5fce25 in /usr/bin/clickhouse 25. /build/src/Storages/KeyDescription.cpp:75: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x000000001d5fc966 in /usr/bin/clickhouse 26. /build/src/Storages/AlterCommands.cpp:946: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001d58c9af in /usr/bin/clickhouse 27. /build/src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8f06c in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 2024.09.24 01:25:56.908444 [ 12042 ] {1a3f4530-42bc-42a6-a5ae-324a0ad18cf8} TCPHandler: Code: 43. DB::Exception: Illegal type Int32 of argument of function toDayOfMonth. Should be Date, Date32, DateTime or DateTime64: While processing toDayOfMonth(d). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionDateOrDateTime.h:114: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x000000001263fcf1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:60: DB::FunctionDateOrDateTimeToSomething, DB::ToDayOfMonthImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001263e39f in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1696: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x000000001bfb8f58 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1729: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x000000001bfb92c3 in /usr/bin/clickhouse 24. /build/src/Storages/KeyDescription.cpp:142: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x000000001d5fce25 in /usr/bin/clickhouse 25. /build/src/Storages/KeyDescription.cpp:75: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x000000001d5fc966 in /usr/bin/clickhouse 26. /build/src/Storages/AlterCommands.cpp:946: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001d58c9af in /usr/bin/clickhouse 27. /build/src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8f06c in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 2024.09.24 01:25:57.045260 [ 12042 ] {800d00b0-6db2-449a-8da4-54ec62a59054} executeQuery: Code: 524. DB::Exception: ALTER of key column d is forbidden. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:33380) (comment: 00933_alter_ttl.sql) (in query: alter table ttl modify column d DateTime ttl d + interval 1 day;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3357: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de914eb in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:25:57.046207 [ 12042 ] {800d00b0-6db2-449a-8da4-54ec62a59054} TCPHandler: Code: 524. DB::Exception: ALTER of key column d is forbidden. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3357: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de914eb in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:26:01.838353 [ 6138 ] {81236d25-dc0d-441b-8b4f-12e28a6d6e11} executeQuery: Code: 36. DB::Exception: Pattern 'a1c' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': While processing multiFuzzyMatchAny('abc', 3, ['a1c']). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40468) (comment: 00929_multi_match_edit_distance.sql) (in query: select multiFuzzyMatchAny('abc', 3, ['a1c']) from system.numbers limit 3;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x000000001113f42b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x000000001113ef01 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113eeb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113ee75 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x000000001113ee35 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x000000001113ee00 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001113a2d6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001113a1d5 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x000000001112fa21 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001113d9e9 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001113c58c in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 18. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 2024.09.24 01:26:01.839301 [ 6138 ] {81236d25-dc0d-441b-8b4f-12e28a6d6e11} TCPHandler: Code: 36. DB::Exception: Pattern 'a1c' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': While processing multiFuzzyMatchAny('abc', 3, ['a1c']). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x000000001113f42b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x000000001113ef01 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113eeb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113ee75 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x000000001113ee35 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x000000001113ee00 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001113a2d6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001113a1d5 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x000000001112fa21 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001113d9e9 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001113c58c in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 18. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 2024.09.24 01:26:01.850521 [ 6138 ] {1e88569a-4af1-46d8-9501-223c3216ed28} executeQuery: Code: 36. DB::Exception: Pattern 'a1c' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': While processing multiFuzzyMatchAny('abc', 4, ['a1c']). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40468) (comment: 00929_multi_match_edit_distance.sql) (in query: select multiFuzzyMatchAny('abc', 4, ['a1c']) from system.numbers limit 3;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x000000001113f42b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x000000001113ef01 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113eeb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113ee75 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x000000001113ee35 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x000000001113ee00 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001113a2d6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001113a1d5 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x000000001112fa21 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001113d9e9 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001113c58c in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 18. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 2024.09.24 01:26:01.851363 [ 6138 ] {1e88569a-4af1-46d8-9501-223c3216ed28} TCPHandler: Code: 36. DB::Exception: Pattern 'a1c' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': While processing multiFuzzyMatchAny('abc', 4, ['a1c']). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x000000001113f42b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x000000001113ef01 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113eeb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113ee75 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x000000001113ee35 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x000000001113ee00 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001113a2d6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001113a1d5 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x000000001112fa21 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001113d9e9 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001113c58c in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 18. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 2024.09.24 01:26:03.995753 [ 6138 ] {58c61082-2127-4b44-ba36-2685b1c898c0} executeQuery: Code: 36. DB::Exception: Pattern '^hello.*world$' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': While processing multiFuzzyMatchAny('hello some world', 10, ['^hello.*world$']). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40468) (comment: 00929_multi_match_edit_distance.sql) (in query: select multiFuzzyMatchAny('hello some world', 10, ['^hello.*world$']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x000000001113f42b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x000000001113ef01 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113eeb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113ee75 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x000000001113ee35 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x000000001113ee00 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001113a2d6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001113a1d5 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x000000001112fa21 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001113d9e9 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001113c58c in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 18. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 2024.09.24 01:26:03.996980 [ 6138 ] {58c61082-2127-4b44-ba36-2685b1c898c0} TCPHandler: Code: 36. DB::Exception: Pattern '^hello.*world$' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': While processing multiFuzzyMatchAny('hello some world', 10, ['^hello.*world$']). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x000000001113f42b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x000000001113ef01 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113eeb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113ee75 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x000000001113ee35 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x000000001113ee00 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001113a2d6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001113a1d5 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x000000001112fa21 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001113d9e9 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001113c58c in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 18. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 2024.09.24 01:26:04.153309 [ 6138 ] {38331b78-b136-451e-ace6-25e1691d2639} executeQuery: Code: 43. DB::Exception: Illegal type Int8 of argument of function multiFuzzyMatchAny: While processing multiFuzzyMatchAny('hello some world', -1, ['^hello.*world$']). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40468) (comment: 00929_multi_match_edit_distance.sql) (in query: select multiFuzzyMatchAny('hello some world', -1, ['^hello.*world$']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:64: DB::FunctionsMultiStringFuzzySearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001113c92d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:04.154521 [ 6138 ] {38331b78-b136-451e-ace6-25e1691d2639} TCPHandler: Code: 43. DB::Exception: Illegal type Int8 of argument of function multiFuzzyMatchAny: While processing multiFuzzyMatchAny('hello some world', -1, ['^hello.*world$']). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:64: DB::FunctionsMultiStringFuzzySearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001113c92d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:04.308923 [ 6138 ] {5d930d27-f478-43e6-8a2c-d925a1f679f7} executeQuery: Code: 44. DB::Exception: Illegal column Const(UInt64). The number is not const or does not fit in UInt32: While processing multiFuzzyMatchAny('hello some world', 10000000000, ['^hello.*world$']). (ILLEGAL_COLUMN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40468) (comment: 00929_multi_match_edit_distance.sql) (in query: select multiFuzzyMatchAny('hello some world', 10000000000, ['^hello.*world$']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:91: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001113c0b0 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:26:04.310245 [ 6138 ] {5d930d27-f478-43e6-8a2c-d925a1f679f7} TCPHandler: Code: 44. DB::Exception: Illegal column Const(UInt64). The number is not const or does not fit in UInt32: While processing multiFuzzyMatchAny('hello some world', 10000000000, ['^hello.*world$']). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:91: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001113c0b0 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:26:08.201202 [ 6745 ] {4ff9efca-263e-40b4-89e2-8ec85e423025} executeQuery: Code: 36. DB::Exception: Tables have different ordering. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40638) (comment: 01034_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [31]) @ 0x000000000d57371e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7416: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001deca331 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7782: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d8a7257 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deadd35 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:26:08.201880 [ 6745 ] {4ff9efca-263e-40b4-89e2-8ec85e423025} TCPHandler: Code: 36. DB::Exception: Tables have different ordering. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [31]) @ 0x000000000d57371e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7416: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001deca331 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7782: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d8a7257 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deadd35 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:26:08.476937 [ 22254 ] {0839d72f-4b55-454f-88c0-a32f888a9482} executeQuery: Code: 48. DB::Exception: Alter of type 'MODIFY_ORDER_BY' is not supported by storage Distributed. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40658) (comment: 00910_crash_when_distributed_modify_order_by.sql) (in query: ALTER TABLE union2 MODIFY ORDER BY a;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, DB::AlterCommand::Type const&, String&&) @ 0x000000001af4792c in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1078: DB::StorageDistributed::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001d65e05c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:26:08.477663 [ 22254 ] {0839d72f-4b55-454f-88c0-a32f888a9482} TCPHandler: Code: 48. DB::Exception: Alter of type 'MODIFY_ORDER_BY' is not supported by storage Distributed. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, DB::AlterCommand::Type const&, String&&) @ 0x000000001af4792c in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1078: DB::StorageDistributed::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001d65e05c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:26:09.148102 [ 6138 ] {55b27952-6271-40fc-a83b-73e7d2d2ae54} executeQuery: Code: 36. DB::Exception: Pattern 'a1c' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': while executing 'FUNCTION multiFuzzyMatchAny(materialize('abc') :: 3, 3 :: 1, materialize(['a1c']) :: 0) -> multiFuzzyMatchAny(materialize('abc'), 3, materialize(['a1c'])) UInt8 : 2'. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40468) (comment: 00929_multi_match_edit_distance.sql) (in query: select multiFuzzyMatchAny(materialize('abc'), 3, materialize(['a1c'])) from system.numbers limit 3;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x000000001113f42b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x000000001113ef01 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113eeb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113ee75 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x000000001113ee35 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x000000001113ee00 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001113a2d6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001113a1d5 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x000000001112fa21 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001113d9e9 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001113c58c in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 24. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 25. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 2024.09.24 01:26:09.149460 [ 6138 ] {55b27952-6271-40fc-a83b-73e7d2d2ae54} TCPHandler: Code: 36. DB::Exception: Pattern 'a1c' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': while executing 'FUNCTION multiFuzzyMatchAny(materialize('abc') :: 3, 3 :: 1, materialize(['a1c']) :: 0) -> multiFuzzyMatchAny(materialize('abc'), 3, materialize(['a1c'])) UInt8 : 2'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x000000001113f42b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x000000001113ef01 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113eeb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113ee75 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x000000001113ee35 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x000000001113ee00 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001113a2d6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001113a1d5 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x000000001112fa21 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001113d9e9 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001113c58c in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 24. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 25. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 2024.09.24 01:26:09.173716 [ 6138 ] {1fea0ff8-0903-4d44-add9-8bf673858244} executeQuery: Code: 36. DB::Exception: Pattern 'a1c' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': while executing 'FUNCTION multiFuzzyMatchAny(materialize('abc') :: 3, 4 :: 1, materialize(['a1c']) :: 0) -> multiFuzzyMatchAny(materialize('abc'), 4, materialize(['a1c'])) UInt8 : 2'. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40468) (comment: 00929_multi_match_edit_distance.sql) (in query: select multiFuzzyMatchAny(materialize('abc'), 4, materialize(['a1c'])) from system.numbers limit 3;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x000000001113f42b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x000000001113ef01 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113eeb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113ee75 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x000000001113ee35 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x000000001113ee00 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001113a2d6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001113a1d5 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x000000001112fa21 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001113d9e9 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001113c58c in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 24. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 25. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 2024.09.24 01:26:09.175044 [ 6138 ] {1fea0ff8-0903-4d44-add9-8bf673858244} TCPHandler: Code: 36. DB::Exception: Pattern 'a1c' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': while executing 'FUNCTION multiFuzzyMatchAny(materialize('abc') :: 3, 4 :: 1, materialize(['a1c']) :: 0) -> multiFuzzyMatchAny(materialize('abc'), 4, materialize(['a1c'])) UInt8 : 2'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x000000001113f42b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x000000001113ef01 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113eeb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113ee75 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x000000001113ee35 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x000000001113ee00 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001113a2d6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001113a1d5 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x000000001112fa21 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001113d9e9 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001113c58c in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 24. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 25. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 2024.09.24 01:26:09.335069 [ 6138 ] {fe3c4387-7ad1-4e43-8acb-2f89fd0fa181} executeQuery: Code: 36. DB::Exception: Pattern '^hello.*world$' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': while executing 'FUNCTION multiFuzzyMatchAny(materialize('hello some world') :: 3, 10 :: 1, materialize(['^hello.*world$']) :: 0) -> multiFuzzyMatchAny(materialize('hello some world'), 10, materialize(['^hello.*world$'])) UInt8 : 2'. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40468) (comment: 00929_multi_match_edit_distance.sql) (in query: select multiFuzzyMatchAny(materialize('hello some world'), 10, materialize(['^hello.*world$']));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x000000001113f42b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x000000001113ef01 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113eeb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113ee75 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x000000001113ee35 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x000000001113ee00 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001113a2d6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001113a1d5 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x000000001112fa21 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001113d9e9 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001113c58c in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 24. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 25. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 2024.09.24 01:26:09.336072 [ 6138 ] {fe3c4387-7ad1-4e43-8acb-2f89fd0fa181} TCPHandler: Code: 36. DB::Exception: Pattern '^hello.*world$' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': while executing 'FUNCTION multiFuzzyMatchAny(materialize('hello some world') :: 3, 10 :: 1, materialize(['^hello.*world$']) :: 0) -> multiFuzzyMatchAny(materialize('hello some world'), 10, materialize(['^hello.*world$'])) UInt8 : 2'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x000000001113f42b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x000000001113ef01 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113eeb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113ee75 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x000000001113ee35 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x000000001113ee00 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001113a2d6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001113a1d5 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x000000001112fa21 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001113d9e9 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001113c58c in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 24. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 25. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 2024.09.24 01:26:09.346457 [ 6138 ] {57cba4e3-feed-40a9-a7f6-e926505bd942} executeQuery: Code: 43. DB::Exception: Illegal type Int8 of argument of function multiFuzzyMatchAny: While processing multiFuzzyMatchAny(materialize('hello some world'), -1, materialize(['^hello.*world$'])). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40468) (comment: 00929_multi_match_edit_distance.sql) (in query: select multiFuzzyMatchAny(materialize('hello some world'), -1, materialize(['^hello.*world$']));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:64: DB::FunctionsMultiStringFuzzySearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001113c92d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:09.347403 [ 6138 ] {57cba4e3-feed-40a9-a7f6-e926505bd942} TCPHandler: Code: 43. DB::Exception: Illegal type Int8 of argument of function multiFuzzyMatchAny: While processing multiFuzzyMatchAny(materialize('hello some world'), -1, materialize(['^hello.*world$'])). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:64: DB::FunctionsMultiStringFuzzySearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001113c92d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:09.500639 [ 6138 ] {1e3fed2f-4ef8-4280-8fb5-d49a3a01a4c0} executeQuery: Code: 44. DB::Exception: Illegal column Const(UInt64). The number is not const or does not fit in UInt32. (ILLEGAL_COLUMN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40468) (comment: 00929_multi_match_edit_distance.sql) (in query: select multiFuzzyMatchAny(materialize('hello some world'), 10000000000, materialize(['^hello.*world$']));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:91: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001113c0b0 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 15. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:26:09.501513 [ 6138 ] {1e3fed2f-4ef8-4280-8fb5-d49a3a01a4c0} TCPHandler: Code: 44. DB::Exception: Illegal column Const(UInt64). The number is not const or does not fit in UInt32. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:91: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001113c0b0 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 15. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:26:12.886317 [ 22254 ] {858a5183-b662-4b2b-b5dd-3b0bbb4b036f} executeQuery: Code: 36. DB::Exception: Tables have different ordering. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56790) (comment: 01034_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [31]) @ 0x000000000d57371e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7416: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001deca331 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7782: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d8a7257 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deadd35 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:26:12.886888 [ 22254 ] {858a5183-b662-4b2b-b5dd-3b0bbb4b036f} TCPHandler: Code: 36. DB::Exception: Tables have different ordering. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [31]) @ 0x000000000d57371e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7416: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001deca331 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7782: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d8a7257 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deadd35 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:26:13.024793 [ 6745 ] {47ac0700-ccc7-4139-81ce-2fdff930ebe4} executeQuery: Code: 42. DB::Exception: Number of arguments for function arrayEnumerateUniqRanked doesn't match: passed 0, should be at least 1.: While processing arrayEnumerateUniqRanked(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40708) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b232e2c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:104: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x0000000013204569 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:26:13.025790 [ 6745 ] {47ac0700-ccc7-4139-81ce-2fdff930ebe4} TCPHandler: Code: 42. DB::Exception: Number of arguments for function arrayEnumerateUniqRanked doesn't match: passed 0, should be at least 1.: While processing arrayEnumerateUniqRanked(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b232e2c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:104: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x0000000013204569 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:26:13.165936 [ 6745 ] {1b56bb10-9da5-4a4d-871b-e0236b305e9f} executeQuery: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked: At least one array should be passed: While processing arrayEnumerateUniqRanked(1). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40708) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8f10d3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:100: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e77ea in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132045f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:13.166876 [ 6745 ] {1b56bb10-9da5-4a4d-871b-e0236b305e9f} TCPHandler: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked: At least one array should be passed: While processing arrayEnumerateUniqRanked(1). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8f10d3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:100: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e77ea in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132045f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:13.300009 [ 6745 ] {a0b7a0f2-0ef1-468c-948d-c2e5bf655094} executeQuery: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked: clear_depth (2) can't be larger than max_array_depth (1): While processing arrayEnumerateUniqRanked(2, []). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40708) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(2,[]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, unsigned int&, unsigned int&) @ 0x00000000131e8428 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:108: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e796b in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132045f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:13.301282 [ 6745 ] {a0b7a0f2-0ef1-468c-948d-c2e5bf655094} TCPHandler: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked: clear_depth (2) can't be larger than max_array_depth (1): While processing arrayEnumerateUniqRanked(2, []). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, unsigned int&, unsigned int&) @ 0x00000000131e8428 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:108: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e796b in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132045f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:13.430867 [ 6745 ] {12004c70-28c3-4cf8-bd73-fda6d0dec573} executeQuery: Code: 36. DB::Exception: Incorrect argument 3 of function arrayEnumerateUniqRanked. Required depth '2' is larger than the array depth (1): While processing arrayEnumerateUniqRanked(2, [], 2). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40708) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(2,[],2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, unsigned long&, unsigned long&) @ 0x00000000131e8184 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:87: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e76cb in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132045f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:13.431807 [ 6745 ] {12004c70-28c3-4cf8-bd73-fda6d0dec573} TCPHandler: Code: 36. DB::Exception: Incorrect argument 3 of function arrayEnumerateUniqRanked. Required depth '2' is larger than the array depth (1): While processing arrayEnumerateUniqRanked(2, [], 2). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, unsigned long&, unsigned long&) @ 0x00000000131e8184 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:87: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e76cb in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132045f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:13.442725 [ 6745 ] {f4bdf858-a715-4fc7-ba56-99aee067b889} executeQuery: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked: clear_depth (2) can't be larger than max_array_depth (1): While processing arrayEnumerateUniqRanked(2, [], []). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40708) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(2,[],[]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, unsigned int&, unsigned int&) @ 0x00000000131e8428 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:108: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e796b in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132045f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:13.443536 [ 6745 ] {f4bdf858-a715-4fc7-ba56-99aee067b889} TCPHandler: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked: clear_depth (2) can't be larger than max_array_depth (1): While processing arrayEnumerateUniqRanked(2, [], []). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, unsigned int&, unsigned int&) @ 0x00000000131e8428 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:108: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e796b in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132045f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:13.453974 [ 6745 ] {ece47705-92eb-4fcf-b176-b84c3a482cb9} executeQuery: Code: 36. DB::Exception: Incorrect argument 4 of function arrayEnumerateUniqRanked. Required depth '3' is larger than the array depth (1): While processing arrayEnumerateUniqRanked(2, [], [], 3). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40708) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(2,[],[],3);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, unsigned long&, unsigned long&) @ 0x00000000131e8184 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:87: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e76cb in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132045f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:13.454866 [ 6745 ] {ece47705-92eb-4fcf-b176-b84c3a482cb9} TCPHandler: Code: 36. DB::Exception: Incorrect argument 4 of function arrayEnumerateUniqRanked. Required depth '3' is larger than the array depth (1): While processing arrayEnumerateUniqRanked(2, [], [], 3). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, unsigned long&, unsigned long&) @ 0x00000000131e8184 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:87: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e76cb in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132045f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:13.466050 [ 6745 ] {633868f2-2435-4a73-9015-829ed787b509} executeQuery: Code: 36. DB::Exception: Incorrect argument 2 of function arrayEnumerateUniqRanked. Required depth '2' is larger than the array depth (1): While processing arrayEnumerateUniqRanked([], 2). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40708) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked([],2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, unsigned long&, unsigned long&) @ 0x00000000131e8184 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:87: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e76cb in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132045f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:13.466992 [ 6745 ] {633868f2-2435-4a73-9015-829ed787b509} TCPHandler: Code: 36. DB::Exception: Incorrect argument 2 of function arrayEnumerateUniqRanked. Required depth '2' is larger than the array depth (1): While processing arrayEnumerateUniqRanked([], 2). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, unsigned long&, unsigned long&) @ 0x00000000131e8184 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:87: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e76cb in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132045f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:13.478262 [ 6745 ] {2c12b927-93e1-44a9-8175-3903c2221aab} executeQuery: Code: 36. DB::Exception: Incorrect argument 2 of function arrayEnumerateUniqRanked. Required depth '2' is larger than the array depth (1): While processing arrayEnumerateUniqRanked([], 2, []). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40708) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked([],2,[]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, unsigned long&, unsigned long&) @ 0x00000000131e8184 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:87: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e76cb in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132045f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:13.479104 [ 6745 ] {2c12b927-93e1-44a9-8175-3903c2221aab} TCPHandler: Code: 36. DB::Exception: Incorrect argument 2 of function arrayEnumerateUniqRanked. Required depth '2' is larger than the array depth (1): While processing arrayEnumerateUniqRanked([], 2, []). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, unsigned long&, unsigned long&) @ 0x00000000131e8184 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:87: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e76cb in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132045f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:13.609643 [ 6745 ] {eff35723-6c5c-445b-abee-942054928d70} executeQuery: Code: 36. DB::Exception: First argument of arrayEnumerateUniqRanked must be a positive integer: While processing arrayEnumerateUniqRanked(0, [], 0). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40708) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(0,[],0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8f10d3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:31: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e6fa2 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132045f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:13.610695 [ 6745 ] {eff35723-6c5c-445b-abee-942054928d70} TCPHandler: Code: 36. DB::Exception: First argument of arrayEnumerateUniqRanked must be a positive integer: While processing arrayEnumerateUniqRanked(0, [], 0). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8f10d3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:31: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e6fa2 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132045f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:13.621907 [ 6745 ] {53d909ec-2b46-4f74-8963-856badae8c50} executeQuery: Code: 36. DB::Exception: First argument of arrayEnumerateUniqRanked must be a positive integer: While processing arrayEnumerateUniqRanked(0, 0, 0). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40708) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(0,0,0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8f10d3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:31: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e6fa2 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132045f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:13.622689 [ 6745 ] {53d909ec-2b46-4f74-8963-856badae8c50} TCPHandler: Code: 36. DB::Exception: First argument of arrayEnumerateUniqRanked must be a positive integer: While processing arrayEnumerateUniqRanked(0, 0, 0). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8f10d3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:31: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e6fa2 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132045f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:13.757637 [ 6745 ] {071e4b12-d75e-4a4e-9367-056043e1d589} executeQuery: Code: 36. DB::Exception: Incorrect argument 2 type of function arrayEnumerateUniqRanked. Expected an Array, got UInt8: While processing arrayEnumerateUniqRanked(1, 1, 1). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40708) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(1,1,1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, String&&) @ 0x00000000131e7cc8 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:47: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e7167 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132045f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:13.758661 [ 6745 ] {071e4b12-d75e-4a4e-9367-056043e1d589} TCPHandler: Code: 36. DB::Exception: Incorrect argument 2 type of function arrayEnumerateUniqRanked. Expected an Array, got UInt8: While processing arrayEnumerateUniqRanked(1, 1, 1). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, String&&) @ 0x00000000131e7cc8 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:47: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e7167 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132045f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:13.897415 [ 6745 ] {72ee20b8-6f9b-4e0d-8ce6-961c138c24c2} executeQuery: Code: 36. DB::Exception: Incorrect argument 3 of function arrayEnumerateDenseRanked. Expected a positive integer: While processing arrayEnumerateDenseRanked(1, [10, 20, 10, 30], 0). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40708) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateDenseRanked(1, [10,20,10,30], 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, char const*&) @ 0x00000000131e7f4c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:79: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e7587 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000131e2793 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:13.898665 [ 6745 ] {72ee20b8-6f9b-4e0d-8ce6-961c138c24c2} TCPHandler: Code: 36. DB::Exception: Incorrect argument 3 of function arrayEnumerateDenseRanked. Expected a positive integer: While processing arrayEnumerateDenseRanked(1, [10, 20, 10, 30], 0). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, char const*&) @ 0x00000000131e7f4c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:79: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e7587 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000131e2793 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:14.042207 [ 6745 ] {a475ae9d-5db3-4e7c-b62e-7cf7d9587aaf} executeQuery: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [[7, 8, 9, 10], [10, 11, 12]], 2, [[14, 15, 16], [17, 18, 19], [20], [21]], 2). (SIZES_OF_ARRAYS_DONT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40708) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(1, [[7,8,9,10],[10,11,12]], 2, [[14,15,16],[17,18,19],[20],[21]], 2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:193: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000013203a44 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 2024.09.24 01:26:14.043377 [ 6745 ] {a475ae9d-5db3-4e7c-b62e-7cf7d9587aaf} TCPHandler: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [[7, 8, 9, 10], [10, 11, 12]], 2, [[14, 15, 16], [17, 18, 19], [20], [21]], 2). (SIZES_OF_ARRAYS_DONT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:193: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000013203a44 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 2024.09.24 01:26:14.056700 [ 6745 ] {6425297f-bc70-4a9f-b4b4-33c56c887f11} executeQuery: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [1, 2], 1, ['a', 'b', 'c', 'd'], 1). (SIZES_OF_ARRAYS_DONT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40708) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(1, [1,2], 1, ['a', 'b', 'c', 'd'],1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:193: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000013203a44 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 2024.09.24 01:26:14.057692 [ 6745 ] {6425297f-bc70-4a9f-b4b4-33c56c887f11} TCPHandler: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [1, 2], 1, ['a', 'b', 'c', 'd'], 1). (SIZES_OF_ARRAYS_DONT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:193: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000013203a44 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 2024.09.24 01:26:14.068484 [ 6745 ] {9a81258d-4ff6-4a19-a576-2c2d99ac36d8} executeQuery: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [1, 2], 1, [14, 15, 16, 17, 18, 19], 1). (SIZES_OF_ARRAYS_DONT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40708) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(1, [1,2], 1, [14,15,16,17,18,19], 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:193: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000013203a44 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 2024.09.24 01:26:14.069348 [ 6745 ] {9a81258d-4ff6-4a19-a576-2c2d99ac36d8} TCPHandler: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [1, 2], 1, [14, 15, 16, 17, 18, 19], 1). (SIZES_OF_ARRAYS_DONT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:193: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000013203a44 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 2024.09.24 01:26:14.082047 [ 6745 ] {818d0a0e-27aa-4330-ae40-c10ff0a2ff90} executeQuery: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [14, 15, 16, 17, 18, 19], 1, [1, 2], 1). (SIZES_OF_ARRAYS_DONT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40708) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(1, [14,15,16,17,18,19], 1, [1,2], 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:193: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000013203a44 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 2024.09.24 01:26:14.082966 [ 6745 ] {818d0a0e-27aa-4330-ae40-c10ff0a2ff90} TCPHandler: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [14, 15, 16, 17, 18, 19], 1, [1, 2], 1). (SIZES_OF_ARRAYS_DONT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:193: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000013203a44 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 2024.09.24 01:26:14.099487 [ 6745 ] {2b9f2f2e-9ae7-4abe-88fe-9ec1c19d41e1} executeQuery: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [1, 1, 1, 1, 1, 1], 1, [1, 1], 1). (SIZES_OF_ARRAYS_DONT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40708) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(1, [1,1,1,1,1,1], 1, [1,1], 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:193: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000013203a44 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 2024.09.24 01:26:14.100600 [ 6745 ] {2b9f2f2e-9ae7-4abe-88fe-9ec1c19d41e1} TCPHandler: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [1, 1, 1, 1, 1, 1], 1, [1, 1], 1). (SIZES_OF_ARRAYS_DONT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:193: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000013203a44 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 2024.09.24 01:26:14.123559 [ 6745 ] {6c2659e1-f244-4cfd-a6d0-5469667a5d8f} executeQuery: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 1, [1, 1], 1). (SIZES_OF_ARRAYS_DONT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40708) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(1, [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1], 1, [1,1], 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:193: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000013203a44 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 2024.09.24 01:26:14.124892 [ 6745 ] {6c2659e1-f244-4cfd-a6d0-5469667a5d8f} TCPHandler: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 1, [1, 1], 1). (SIZES_OF_ARRAYS_DONT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:193: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000013203a44 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 2024.09.24 01:26:14.214694 [ 6745 ] {679f93de-63ca-4c66-a365-3e1c117b66a7} executeQuery: Code: 36. DB::Exception: Incorrect argument 2 of function arrayEnumerateUniqRanked. Required depth '3' is larger than the array depth (1): While processing arrayEnumerateUniqRanked([1, 2], 3, 4, 5). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40708) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked([1,2], 3, 4, 5);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, unsigned long&, unsigned long&) @ 0x00000000131e8184 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:87: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e76cb in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132045f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:14.215590 [ 6745 ] {679f93de-63ca-4c66-a365-3e1c117b66a7} TCPHandler: Code: 36. DB::Exception: Incorrect argument 2 of function arrayEnumerateUniqRanked. Required depth '3' is larger than the array depth (1): While processing arrayEnumerateUniqRanked([1, 2], 3, 4, 5). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, unsigned long&, unsigned long&) @ 0x00000000131e8184 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:87: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e76cb in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132045f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:14.225973 [ 6745 ] {4fee4a65-c503-4ad0-b699-d2806ed85082} executeQuery: Code: 36. DB::Exception: Incorrect argument 3 type of function arrayEnumerateUniqRanked. Expected an Array, got UInt8: While processing arrayEnumerateUniqRanked([1, 2], 1, 2). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40708) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked([1,2], 1, 2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, String&&) @ 0x00000000131e7cc8 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:47: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e7167 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132045f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:14.226858 [ 6745 ] {4fee4a65-c503-4ad0-b699-d2806ed85082} TCPHandler: Code: 36. DB::Exception: Incorrect argument 3 type of function arrayEnumerateUniqRanked. Expected an Array, got UInt8: While processing arrayEnumerateUniqRanked([1, 2], 1, 2). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, String&&) @ 0x00000000131e7cc8 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:47: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e7167 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132045f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:14.237529 [ 6745 ] {b504b3eb-fe37-473b-9e51-eedd6c01d792} executeQuery: Code: 36. DB::Exception: Incorrect argument 3 type of function arrayEnumerateUniqRanked. Expected an Array, got UInt8: While processing arrayEnumerateUniqRanked([1, 2], 1, 3, 4, 5). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40708) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked([1,2], 1, 3, 4, 5);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, String&&) @ 0x00000000131e7cc8 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:47: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e7167 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132045f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:14.238494 [ 6745 ] {b504b3eb-fe37-473b-9e51-eedd6c01d792} TCPHandler: Code: 36. DB::Exception: Incorrect argument 3 type of function arrayEnumerateUniqRanked. Expected an Array, got UInt8: While processing arrayEnumerateUniqRanked([1, 2], 1, 3, 4, 5). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, String&&) @ 0x00000000131e7cc8 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:47: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e7167 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132045f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:14.248807 [ 6745 ] {32bab293-a05a-4e2b-b9dc-825177af1913} executeQuery: Code: 36. DB::Exception: Incorrect argument 3 type of function arrayEnumerateUniqRanked. Expected an Array, got UInt8: While processing arrayEnumerateUniqRanked([1, 2], 1, 3, [4], 5). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40708) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked([1,2], 1, 3, [4], 5);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, String&&) @ 0x00000000131e7cc8 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:47: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e7167 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132045f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:14.249717 [ 6745 ] {32bab293-a05a-4e2b-b9dc-825177af1913} TCPHandler: Code: 36. DB::Exception: Incorrect argument 3 type of function arrayEnumerateUniqRanked. Expected an Array, got UInt8: While processing arrayEnumerateUniqRanked([1, 2], 1, 3, [4], 5). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, String&&) @ 0x00000000131e7cc8 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:47: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e7167 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132045f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:14.280293 [ 6745 ] {a343afc2-f0fb-40d5-94d7-46d002df585d} executeQuery: Code: 36. DB::Exception: First argument of arrayEnumerateUniqRanked must be a positive integer: While processing arrayEnumerateUniqRanked('wat', [1, 2]). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40708) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked('wat', [1,2]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8f10d3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:31: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e6fa2 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132045f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:14.281218 [ 6745 ] {a343afc2-f0fb-40d5-94d7-46d002df585d} TCPHandler: Code: 36. DB::Exception: First argument of arrayEnumerateUniqRanked must be a positive integer: While processing arrayEnumerateUniqRanked('wat', [1, 2]). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8f10d3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:31: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e6fa2 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132045f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:14.423017 [ 6745 ] {9dd72276-a6f0-42e7-b7a6-b03457cc3096} executeQuery: Code: 36. DB::Exception: Incorrect argument 3 of function arrayEnumerateUniqRanked. Expected a positive integer: While processing arrayEnumerateUniqRanked(1, [1, 2], 'boom'). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40708) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(1, [1,2], 'boom');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, char const*&) @ 0x00000000131e7f4c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:79: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e7587 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132045f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:14.424101 [ 6745 ] {9dd72276-a6f0-42e7-b7a6-b03457cc3096} TCPHandler: Code: 36. DB::Exception: Incorrect argument 3 of function arrayEnumerateUniqRanked. Expected a positive integer: While processing arrayEnumerateUniqRanked(1, [1, 2], 'boom'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, char const*&) @ 0x00000000131e7f4c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:79: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e7587 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132045f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:14.435125 [ 6745 ] {35d5efac-a212-4944-b6d9-844818f48d37} executeQuery: Code: 36. DB::Exception: Incorrect argument 2 of function arrayEnumerateDenseRanked. Expected a positive integer: While processing arrayEnumerateDenseRanked(['\0'], -8363126). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40708) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateDenseRanked(['\0'], -8363126);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, char const*&) @ 0x00000000131e7f4c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:79: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e7587 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000131e2793 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:14.435912 [ 6745 ] {35d5efac-a212-4944-b6d9-844818f48d37} TCPHandler: Code: 36. DB::Exception: Incorrect argument 2 of function arrayEnumerateDenseRanked. Expected a positive integer: While processing arrayEnumerateDenseRanked(['\0'], -8363126). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, char const*&) @ 0x00000000131e7f4c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:79: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e7587 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000131e2793 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:14.573575 [ 6745 ] {ad7eeee4-8df1-4d76-b309-4149ae511cc1} executeQuery: Code: 36. DB::Exception: First argument of arrayEnumerateDenseRanked must be a positive integer: While processing arrayEnumerateDenseRanked(-10, ['\0'], -8363126). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40708) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateDenseRanked(-10, ['\0'], -8363126);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8f10d3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:31: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e6fa2 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000131e2793 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:14.574560 [ 6745 ] {ad7eeee4-8df1-4d76-b309-4149ae511cc1} TCPHandler: Code: 36. DB::Exception: First argument of arrayEnumerateDenseRanked must be a positive integer: While processing arrayEnumerateDenseRanked(-10, ['\0'], -8363126). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8f10d3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:31: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e6fa2 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000131e2793 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:14.585987 [ 6745 ] {323e01ae-ec1d-4792-89c9-add455e6c805} executeQuery: Code: 36. DB::Exception: Incorrect argument 3 of function arrayEnumerateDenseRanked. Expected a positive integer: While processing arrayEnumerateDenseRanked(1, ['\0'], -8363126). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40708) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateDenseRanked(1, ['\0'], -8363126);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, char const*&) @ 0x00000000131e7f4c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:79: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e7587 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000131e2793 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:14.586957 [ 6745 ] {323e01ae-ec1d-4792-89c9-add455e6c805} TCPHandler: Code: 36. DB::Exception: Incorrect argument 3 of function arrayEnumerateDenseRanked. Expected a positive integer: While processing arrayEnumerateDenseRanked(1, ['\0'], -8363126). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, char const*&) @ 0x00000000131e7f4c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:79: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e7587 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000131e2793 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:14.598044 [ 6745 ] {61d310db-395c-4f7f-ad0b-d126c401dcd9} executeQuery: Code: 36. DB::Exception: First argument of arrayEnumerateDenseRanked must be a positive integer: While processing arrayEnumerateDenseRanked(-101, ['\0']). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40708) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateDenseRanked(-101, ['\0']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8f10d3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:31: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e6fa2 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000131e2793 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:14.598885 [ 6745 ] {61d310db-395c-4f7f-ad0b-d126c401dcd9} TCPHandler: Code: 36. DB::Exception: First argument of arrayEnumerateDenseRanked must be a positive integer: While processing arrayEnumerateDenseRanked(-101, ['\0']). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8f10d3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:31: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e6fa2 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000131e2793 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:14.609306 [ 6745 ] {684117e8-568d-4d56-8de5-08f71e39fe22} executeQuery: Code: 36. DB::Exception: First argument of arrayEnumerateDenseRanked must be a positive integer: While processing arrayEnumerateDenseRanked(1.1, [10, 20, 10, 30]). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40708) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateDenseRanked(1.1, [10,20,10,30]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8f10d3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:31: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e6fa2 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000131e2793 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:14.610087 [ 6745 ] {684117e8-568d-4d56-8de5-08f71e39fe22} TCPHandler: Code: 36. DB::Exception: First argument of arrayEnumerateDenseRanked must be a positive integer: While processing arrayEnumerateDenseRanked(1.1, [10, 20, 10, 30]). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8f10d3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:31: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e6fa2 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000131e2793 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:14.620622 [ 6745 ] {4b9400ab-f7cb-4efc-a3ae-9b596477c953} executeQuery: Code: 36. DB::Exception: Incorrect argument 2 of function arrayEnumerateDenseRanked. Expected a positive integer: While processing arrayEnumerateDenseRanked([10, 20, 10, 30], 0.4). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40708) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateDenseRanked([10,20,10,30], 0.4);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, char const*&) @ 0x00000000131e7f4c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:79: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e7587 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000131e2793 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:14.621627 [ 6745 ] {4b9400ab-f7cb-4efc-a3ae-9b596477c953} TCPHandler: Code: 36. DB::Exception: Incorrect argument 2 of function arrayEnumerateDenseRanked. Expected a positive integer: While processing arrayEnumerateDenseRanked([10, 20, 10, 30], 0.4). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, char const*&) @ 0x00000000131e7f4c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:79: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e7587 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000131e2793 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:14.631930 [ 6745 ] {ece1a61d-d1b1-43b0-ac8e-3d070b3f9519} executeQuery: Code: 36. DB::Exception: Incorrect argument 2 of function arrayEnumerateDenseRanked. Expected a positive integer: While processing arrayEnumerateDenseRanked([10, 20, 10, 30], 1.8). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40708) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateDenseRanked([10,20,10,30], 1.8);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, char const*&) @ 0x00000000131e7f4c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:79: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e7587 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000131e2793 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:14.632796 [ 6745 ] {ece1a61d-d1b1-43b0-ac8e-3d070b3f9519} TCPHandler: Code: 36. DB::Exception: Incorrect argument 2 of function arrayEnumerateDenseRanked. Expected a positive integer: While processing arrayEnumerateDenseRanked([10, 20, 10, 30], 1.8). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, char const*&) @ 0x00000000131e7f4c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:79: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e7587 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000131e2793 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:14.643103 [ 6745 ] {f9990ea4-d71d-4ae0-9ae4-95d7f34063da} executeQuery: Code: 36. DB::Exception: Incorrect argument 3 of function arrayEnumerateUniqRanked. Required depth '1000000000' is larger than the array depth (1): While processing arrayEnumerateUniqRanked(1, [], 1000000000). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40708) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(1, [], 1000000000);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, unsigned long&, unsigned long&) @ 0x00000000131e8184 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:87: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e76cb in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132045f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:14.644056 [ 6745 ] {f9990ea4-d71d-4ae0-9ae4-95d7f34063da} TCPHandler: Code: 36. DB::Exception: Incorrect argument 3 of function arrayEnumerateUniqRanked. Required depth '1000000000' is larger than the array depth (1): While processing arrayEnumerateUniqRanked(1, [], 1000000000). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, unsigned long&, unsigned long&) @ 0x00000000131e8184 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:87: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e76cb in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132045f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:26:17.477403 [ 22250 ] {3b98f6d5-ee71-478b-8a69-44355c6ff7c0} executeQuery: Code: 36. DB::Exception: Tables have different ordering. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56876) (comment: 01034_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [31]) @ 0x000000000d57371e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7416: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001deca331 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7782: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d8a7257 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deadd35 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:26:17.478199 [ 22250 ] {3b98f6d5-ee71-478b-8a69-44355c6ff7c0} TCPHandler: Code: 36. DB::Exception: Tables have different ordering. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [31]) @ 0x000000000d57371e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7416: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001deca331 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7782: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d8a7257 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deadd35 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:26:22.191131 [ 8835 ] {9cbf6b1a-edf2-4a1e-b581-74f240a01c2a} executeQuery: Code: 36. DB::Exception: Tables have different ordering. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54178) (comment: 01034_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [31]) @ 0x000000000d57371e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7416: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001deca331 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7782: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d8a7257 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deadd35 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:26:22.191946 [ 8835 ] {9cbf6b1a-edf2-4a1e-b581-74f240a01c2a} TCPHandler: Code: 36. DB::Exception: Tables have different ordering. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [31]) @ 0x000000000d57371e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7416: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001deca331 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7782: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d8a7257 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deadd35 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:26:25.036917 [ 22247 ] {315b5f47-2f9e-4e87-ac75-1a2554bdbe62} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54266) (comment: 00909_kill_not_initialized_query.sh) (in query: SELECT sum(1) FROM cannot_kill_query WHERE NOT ignore(sleep(1)) SETTINGS max_threads = 1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f983e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x000000001ccaa25b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6d0a80 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6d115c in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d09f6 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 15. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a610e2 in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:26:25.038859 [ 22247 ] {315b5f47-2f9e-4e87-ac75-1a2554bdbe62} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f983e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x000000001ccaa25b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6d0a80 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6d115c in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d09f6 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 15. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a610e2 in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:26:26.781882 [ 2329 ] {e5a0f6e4-5907-486d-b4ad-7ff5b4c01604} executeQuery: Code: 36. DB::Exception: Tables have different ordering. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54378) (comment: 01034_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [31]) @ 0x000000000d57371e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7416: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001deca331 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7782: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d8a7257 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deadd35 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:26:26.782762 [ 2329 ] {e5a0f6e4-5907-486d-b4ad-7ff5b4c01604} TCPHandler: Code: 36. DB::Exception: Tables have different ordering. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [31]) @ 0x000000000d57371e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7416: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001deca331 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7782: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d8a7257 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deadd35 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:26:45.475273 [ 6138 ] {47c225ed-fac5-4d90-8652-b9c6cf606a79} executeQuery: Code: 60. DB::Exception: Table test_arknl7sp.test1_00843 does not exist. Maybe you meant test2_00843?. (UNKNOWN_TABLE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:44784) (comment: 00843_optimize_predicate_and_rename_table.sql) (in query: SELECT * FROM view_00843;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53833 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc20756 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:41: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbca1d3 in /usr/bin/clickhouse 16. /build/src/Storages/StorageView.cpp:169: DB::StorageView::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001da27fca in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:26:45.476515 [ 6138 ] {47c225ed-fac5-4d90-8652-b9c6cf606a79} TCPHandler: Code: 60. DB::Exception: Table test_arknl7sp.test1_00843 does not exist. Maybe you meant test2_00843?. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53833 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc20756 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:41: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbca1d3 in /usr/bin/clickhouse 16. /build/src/Storages/StorageView.cpp:169: DB::StorageView::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001da27fca in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:26:48.352788 [ 22252 ] {c3afcc39-0518-42c2-9932-6787f059bf18} executeQuery: Code: 160. DB::Exception: The maximum sleep time is 3000000 microseconds. Requested: 4295.967296: while executing 'FUNCTION sleep(4295.967296 :: 0) -> sleep(4295.967296) UInt8 : 1'. (TOO_SLOW) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:44880) (comment: 00833_sleep_overflow.sql) (in query: SELECT sleep(4295.967296);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, double&) @ 0x000000001254362c in /usr/bin/clickhouse 6. /build/src/Functions/sleep.h:116: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::execute(std::vector> const&, std::shared_ptr const&, bool) const @ 0x00000000125430dd in /usr/bin/clickhouse 7. /build/src/Functions/sleep.h:94: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012542a97 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 2024.09.24 01:26:48.353757 [ 22252 ] {c3afcc39-0518-42c2-9932-6787f059bf18} TCPHandler: Code: 160. DB::Exception: The maximum sleep time is 3000000 microseconds. Requested: 4295.967296: while executing 'FUNCTION sleep(4295.967296 :: 0) -> sleep(4295.967296) UInt8 : 1'. (TOO_SLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, double&) @ 0x000000001254362c in /usr/bin/clickhouse 6. /build/src/Functions/sleep.h:116: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::execute(std::vector> const&, std::shared_ptr const&, bool) const @ 0x00000000125430dd in /usr/bin/clickhouse 7. /build/src/Functions/sleep.h:94: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012542a97 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 2024.09.24 01:26:49.407639 [ 22244 ] {d19e1fe5-a8f2-4972-a1c1-a066957e856b} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/store/111/11154e24-fc7d-4800-a968-f8235419a4a2//data.TSV doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:44938) (comment: 00832_storage_file_lock.sql) (in query: SELECT * FROM file;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:26:49.408290 [ 22244 ] {d19e1fe5-a8f2-4972-a1c1-a066957e856b} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/store/111/11154e24-fc7d-4800-a968-f8235419a4a2//data.TSV doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:05.576408 [ 12003 ] {2ce336cd-ea6a-41ee-8161-10b2ebda5acc} executeQuery: Code: 44. DB::Exception: Illegal type of argument #2 'scale' of function toDecimal128, expected const Integer, got UInt64: While processing toDecimal128([], rowNumberInBlock()): While processing (SELECT toDecimal128([], rowNumberInBlock())) AS _subquery750. (ILLEGAL_COLUMN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:52002) (comment: 00811_garbage.sql) (in query: SELECT ( SELECT toDecimal128([], rowNumberInBlock()) ) , lcm('', [[(CAST(('>A') AS String))]]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x000000001abfe65a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001abfc8de in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:193: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abfc060 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1861: DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000ba929cc in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1823: auto DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000ba92820 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval> const&>())) std::__invoke[abi:v15000]>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(auto&&, std::vector> const&) @ 0x000000000ba927dd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&) @ 0x000000000ba9279d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) @ 0x000000000ba9275d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000ba92725 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) const @ 0x000000000b268ebe in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::vector> const&)>::operator()(std::vector> const&) const @ 0x000000000b267b7d in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1818: DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000ba9255b in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:1824: DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000ba75bfa in /usr/bin/clickhouse 18. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 2024.09.24 01:27:05.577525 [ 12003 ] {2ce336cd-ea6a-41ee-8161-10b2ebda5acc} TCPHandler: Code: 44. DB::Exception: Illegal type of argument #2 'scale' of function toDecimal128, expected const Integer, got UInt64: While processing toDecimal128([], rowNumberInBlock()): While processing (SELECT toDecimal128([], rowNumberInBlock())) AS _subquery750. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x000000001abfe65a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001abfc8de in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:193: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abfc060 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1861: DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000ba929cc in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1823: auto DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000ba92820 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval> const&>())) std::__invoke[abi:v15000]>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(auto&&, std::vector> const&) @ 0x000000000ba927dd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&) @ 0x000000000ba9279d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) @ 0x000000000ba9275d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000ba92725 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) const @ 0x000000000b268ebe in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::vector> const&)>::operator()(std::vector> const&) const @ 0x000000000b267b7d in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1818: DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000ba9255b in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:1824: DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000ba75bfa in /usr/bin/clickhouse 18. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 2024.09.24 01:27:07.846864 [ 22256 ] {24a95b20-022a-48dc-879e-ebe618cfa88c} executeQuery: Code: 43. DB::Exception: Elements of array of second argument of function roundDown must be numeric type.: While processing 1 AS x, roundDown(x, []). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:52070) (comment: 00805_round_down.sql) (in query: SELECT 1 as x, roundDown(x, []);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsRound.h:664: DB::FunctionRoundDown::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000c2ef62c in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:27:07.848143 [ 22256 ] {24a95b20-022a-48dc-879e-ebe618cfa88c} TCPHandler: Code: 43. DB::Exception: Elements of array of second argument of function roundDown must be numeric type.: While processing 1 AS x, roundDown(x, []). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsRound.h:664: DB::FunctionRoundDown::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000c2ef62c in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:27:07.861684 [ 22256 ] {d4f4a14f-0bcd-4887-b1aa-c986b2a59908} executeQuery: Code: 44. DB::Exception: Argument at index 1 for function roundDown must be constant. (ILLEGAL_COLUMN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:52070) (comment: 00805_round_down.sql) (in query: SELECT 1 as x, roundDown(x, emptyArrayUInt8());), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000b5e130c in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:124: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abecce5 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:07.862630 [ 22256 ] {d4f4a14f-0bcd-4887-b1aa-c986b2a59908} TCPHandler: Code: 44. DB::Exception: Argument at index 1 for function roundDown must be constant. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000b5e130c in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:124: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abecce5 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:07.875006 [ 22256 ] {b342e280-d911-4f0c-b0e9-ed25bc9a2ab5} executeQuery: Code: 44. DB::Exception: Argument at index 1 for function roundDown must be constant. (ILLEGAL_COLUMN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:52070) (comment: 00805_round_down.sql) (in query: SELECT roundDown(number, [number]) FROM system.numbers LIMIT 10;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000b5e130c in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:124: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abecce5 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:07.876268 [ 22256 ] {b342e280-d911-4f0c-b0e9-ed25bc9a2ab5} TCPHandler: Code: 44. DB::Exception: Argument at index 1 for function roundDown must be constant. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000b5e130c in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:124: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abecce5 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:09.715775 [ 6138 ] {6ef9cb5e-f429-4c28-a99e-98fcf1843dd2} executeQuery: Code: 432. DB::Exception: Unknown codec family: adssadads. (UNKNOWN_CODEC) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:52110) (comment: 00804_test_custom_compression_codecs.sql) (in query: CREATE TABLE bad_codec(id UInt64 CODEC(adssadads)) ENGINE = MergeTree() order by tuple();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionFactory.cpp:120: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dd6d7 in /usr/bin/clickhouse 7. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001c8b369a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b35bd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b357d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b353d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b3508 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba22e3e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba211dd in /usr/bin/clickhouse 14. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1ec56 in /usr/bin/clickhouse 15. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1eddc in /usr/bin/clickhouse 16. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001c8b1ffe in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:635: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e8f68 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e9748 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f0864 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:09.716767 [ 6138 ] {6ef9cb5e-f429-4c28-a99e-98fcf1843dd2} TCPHandler: Code: 432. DB::Exception: Unknown codec family: adssadads. (UNKNOWN_CODEC), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionFactory.cpp:120: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dd6d7 in /usr/bin/clickhouse 7. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001c8b369a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b35bd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b357d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b353d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b3508 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba22e3e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba211dd in /usr/bin/clickhouse 14. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1ec56 in /usr/bin/clickhouse 15. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1eddc in /usr/bin/clickhouse 16. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001c8b1ffe in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:635: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e8f68 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e9748 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f0864 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:09.846428 [ 6138 ] {cbb80cfc-463a-4534-a1de-d24cab14513c} executeQuery: Code: 431. DB::Exception: ZSTD codec must have 1 or 2 parameters, given 4. (ILLEGAL_SYNTAX_FOR_CODEC_TYPE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:52110) (comment: 00804_test_custom_compression_codecs.sql) (in query: CREATE TABLE too_many_params(id UInt64 CODEC(ZSTD(2,3,4,5))) ENGINE = MergeTree() order by tuple();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000d91e133 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionCodecZSTD.cpp:118: DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&) const @ 0x000000001b7ecc13 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval const&>())) std::__invoke[abi:v15000] const&>(DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&) @ 0x000000001b7ecafd in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call const&>(DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&) @ 0x000000001b7ecabd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x000000001b7eca7d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x000000001b7eca45 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x000000001b7e7b7e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x000000001b7e7b3d in /usr/bin/clickhouse 13. /build/src/Compression/CompressionFactory.cpp:148: DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7de6e5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::function (std::shared_ptr const&)>)::$_0&>()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000], std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7de6a8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7de665 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7de625 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x000000001b7de5d0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x000000001b7e3e89 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dfec5 in /usr/bin/clickhouse 20. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dd730 in /usr/bin/clickhouse 21. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001c8b369a in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b35bd in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b357d in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b353d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b3508 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba22e3e in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba211dd in /usr/bin/clickhouse 28. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1ec56 in /usr/bin/clickhouse 29. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1eddc in /usr/bin/clickhouse 30. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001c8b1ffe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterCreateQuery.cpp:635: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e8f68 in /usr/bin/clickhouse 2024.09.24 01:27:09.847803 [ 6138 ] {cbb80cfc-463a-4534-a1de-d24cab14513c} TCPHandler: Code: 431. DB::Exception: ZSTD codec must have 1 or 2 parameters, given 4. (ILLEGAL_SYNTAX_FOR_CODEC_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000d91e133 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionCodecZSTD.cpp:118: DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&) const @ 0x000000001b7ecc13 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval const&>())) std::__invoke[abi:v15000] const&>(DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&) @ 0x000000001b7ecafd in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call const&>(DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&) @ 0x000000001b7ecabd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x000000001b7eca7d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x000000001b7eca45 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x000000001b7e7b7e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x000000001b7e7b3d in /usr/bin/clickhouse 13. /build/src/Compression/CompressionFactory.cpp:148: DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7de6e5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::function (std::shared_ptr const&)>)::$_0&>()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000], std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7de6a8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7de665 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7de625 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x000000001b7de5d0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x000000001b7e3e89 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dfec5 in /usr/bin/clickhouse 20. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dd730 in /usr/bin/clickhouse 21. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001c8b369a in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b35bd in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b357d in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b353d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b3508 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba22e3e in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba211dd in /usr/bin/clickhouse 28. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1ec56 in /usr/bin/clickhouse 29. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1eddc in /usr/bin/clickhouse 30. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001c8b1ffe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterCreateQuery.cpp:635: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e8f68 in /usr/bin/clickhouse 2024.09.24 01:27:09.976533 [ 6138 ] {f2bd3d4b-848c-4911-9661-cb8cb5538303} executeQuery: Code: 378. DB::Exception: Compression codec LZ4 cannot have arguments. (DATA_TYPE_CANNOT_HAVE_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:52110) (comment: 00804_test_custom_compression_codecs.sql) (in query: CREATE TABLE params_when_no_params(id UInt64 CODEC(LZ4(1))) ENGINE = MergeTree() ORDER BY tuple();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionFactory.cpp:160: DB::CompressionCodecFactory::registerSimpleCompressionCodec(String const&, std::optional, std::function ()>)::$_0::operator()(std::shared_ptr const&) const @ 0x000000001b7dece8 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::function ()>)::$_0&>()(std::declval const&>())) std::__invoke[abi:v15000], std::function ()>)::$_0&, std::shared_ptr const&>(DB::CompressionCodecFactory::registerSimpleCompressionCodec(String const&, std::optional, std::function ()>)::$_0&, std::shared_ptr const&) @ 0x000000001b7dec3d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::function ()>)::$_0&, std::shared_ptr const&>(DB::CompressionCodecFactory::registerSimpleCompressionCodec(String const&, std::optional, std::function ()>)::$_0&, std::shared_ptr const&) @ 0x000000001b7debfd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::function ()>)::$_0, std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x000000001b7debbd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl, std::function ()>)::$_0, std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x000000001b7deb88 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x000000001b7e7b7e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x000000001b7e7b3d in /usr/bin/clickhouse 13. /build/src/Compression/CompressionFactory.cpp:148: DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7de6e5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::function (std::shared_ptr const&)>)::$_0&>()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000], std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7de6a8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7de665 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7de625 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x000000001b7de5d0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x000000001b7e3e89 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dfec5 in /usr/bin/clickhouse 20. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dd730 in /usr/bin/clickhouse 21. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001c8b369a in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b35bd in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b357d in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b353d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b3508 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba22e3e in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba211dd in /usr/bin/clickhouse 28. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1ec56 in /usr/bin/clickhouse 29. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1eddc in /usr/bin/clickhouse 30. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001c8b1ffe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterCreateQuery.cpp:635: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e8f68 in /usr/bin/clickhouse 2024.09.24 01:27:09.977791 [ 6138 ] {f2bd3d4b-848c-4911-9661-cb8cb5538303} TCPHandler: Code: 378. DB::Exception: Compression codec LZ4 cannot have arguments. (DATA_TYPE_CANNOT_HAVE_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionFactory.cpp:160: DB::CompressionCodecFactory::registerSimpleCompressionCodec(String const&, std::optional, std::function ()>)::$_0::operator()(std::shared_ptr const&) const @ 0x000000001b7dece8 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::function ()>)::$_0&>()(std::declval const&>())) std::__invoke[abi:v15000], std::function ()>)::$_0&, std::shared_ptr const&>(DB::CompressionCodecFactory::registerSimpleCompressionCodec(String const&, std::optional, std::function ()>)::$_0&, std::shared_ptr const&) @ 0x000000001b7dec3d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::function ()>)::$_0&, std::shared_ptr const&>(DB::CompressionCodecFactory::registerSimpleCompressionCodec(String const&, std::optional, std::function ()>)::$_0&, std::shared_ptr const&) @ 0x000000001b7debfd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::function ()>)::$_0, std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x000000001b7debbd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl, std::function ()>)::$_0, std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x000000001b7deb88 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x000000001b7e7b7e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x000000001b7e7b3d in /usr/bin/clickhouse 13. /build/src/Compression/CompressionFactory.cpp:148: DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7de6e5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::function (std::shared_ptr const&)>)::$_0&>()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000], std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7de6a8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7de665 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7de625 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x000000001b7de5d0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x000000001b7e3e89 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dfec5 in /usr/bin/clickhouse 20. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dd730 in /usr/bin/clickhouse 21. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001c8b369a in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b35bd in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b357d in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b353d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b3508 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba22e3e in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba211dd in /usr/bin/clickhouse 28. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1ec56 in /usr/bin/clickhouse 29. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1eddc in /usr/bin/clickhouse 30. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001c8b1ffe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterCreateQuery.cpp:635: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e8f68 in /usr/bin/clickhouse 2024.09.24 01:27:09.986455 [ 6138 ] {a8a46c04-15ca-4fff-aba6-defde57fb8b4} executeQuery: Code: 432. DB::Exception: Unknown codec family: MULTIPLE. (UNKNOWN_CODEC) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:52110) (comment: 00804_test_custom_compression_codecs.sql) (in query: CREATE TABLE codec_multiple_direct_specification_1(id UInt64 CODEC(MULTIPLE(LZ4, ZSTD))) ENGINE = MergeTree() ORDER BY tuple();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionFactory.cpp:120: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dd6d7 in /usr/bin/clickhouse 7. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001c8b369a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b35bd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b357d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b353d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b3508 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba22e3e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba211dd in /usr/bin/clickhouse 14. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1ec56 in /usr/bin/clickhouse 15. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1eddc in /usr/bin/clickhouse 16. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001c8b1ffe in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:635: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e8f68 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e9748 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f0864 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:09.987195 [ 6138 ] {a8a46c04-15ca-4fff-aba6-defde57fb8b4} TCPHandler: Code: 432. DB::Exception: Unknown codec family: MULTIPLE. (UNKNOWN_CODEC), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionFactory.cpp:120: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dd6d7 in /usr/bin/clickhouse 7. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001c8b369a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b35bd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b357d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b353d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b3508 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba22e3e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba211dd in /usr/bin/clickhouse 14. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1ec56 in /usr/bin/clickhouse 15. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1eddc in /usr/bin/clickhouse 16. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001c8b1ffe in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:635: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e8f68 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e9748 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f0864 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:09.994778 [ 6138 ] {6d59d94d-69e3-4251-b9ee-293ca59221ca} executeQuery: Code: 432. DB::Exception: Unknown codec family: multiple. (UNKNOWN_CODEC) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:52110) (comment: 00804_test_custom_compression_codecs.sql) (in query: CREATE TABLE codec_multiple_direct_specification_2(id UInt64 CODEC(multiple(LZ4, ZSTD))) ENGINE = MergeTree() ORDER BY tuple();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionFactory.cpp:120: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dd6d7 in /usr/bin/clickhouse 7. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001c8b369a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b35bd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b357d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b353d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b3508 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba22e3e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba211dd in /usr/bin/clickhouse 14. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1ec56 in /usr/bin/clickhouse 15. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1eddc in /usr/bin/clickhouse 16. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001c8b1ffe in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:635: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e8f68 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e9748 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f0864 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:09.995502 [ 6138 ] {6d59d94d-69e3-4251-b9ee-293ca59221ca} TCPHandler: Code: 432. DB::Exception: Unknown codec family: multiple. (UNKNOWN_CODEC), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionFactory.cpp:120: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dd6d7 in /usr/bin/clickhouse 7. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001c8b369a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b35bd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b357d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b353d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b3508 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba22e3e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba211dd in /usr/bin/clickhouse 14. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1ec56 in /usr/bin/clickhouse 15. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1eddc in /usr/bin/clickhouse 16. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001c8b1ffe in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:635: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e8f68 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e9748 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f0864 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:10.130037 [ 6138 ] {1c4fa827-3191-4543-bbec-6a5c0f59dbde} executeQuery: Code: 433. DB::Exception: Delta value for delta codec can be 1, 2, 4 or 8, given 3. (ILLEGAL_CODEC_PARAMETER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:52110) (comment: 00804_test_custom_compression_codecs.sql) (in query: CREATE TABLE delta_bad_params1(id UInt64 CODEC(Delta(3))) ENGINE = MergeTree() ORDER BY tuple();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000c0bde33 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionCodecDelta.cpp:211: DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7f2b95 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000] const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7f2848 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7f2805 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7f27c5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x000000001b7f276d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x000000001b7e3e89 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dfec5 in /usr/bin/clickhouse 13. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dd730 in /usr/bin/clickhouse 14. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001c8b369a in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b35bd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b357d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b353d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b3508 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba22e3e in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba211dd in /usr/bin/clickhouse 21. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1ec56 in /usr/bin/clickhouse 22. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1eddc in /usr/bin/clickhouse 23. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001c8b1ffe in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:635: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e8f68 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e9748 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f0864 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:27:10.131067 [ 6138 ] {1c4fa827-3191-4543-bbec-6a5c0f59dbde} TCPHandler: Code: 433. DB::Exception: Delta value for delta codec can be 1, 2, 4 or 8, given 3. (ILLEGAL_CODEC_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000c0bde33 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionCodecDelta.cpp:211: DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7f2b95 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000] const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7f2848 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7f2805 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7f27c5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x000000001b7f276d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x000000001b7e3e89 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dfec5 in /usr/bin/clickhouse 13. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dd730 in /usr/bin/clickhouse 14. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001c8b369a in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b35bd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b357d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b353d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b3508 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba22e3e in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba211dd in /usr/bin/clickhouse 21. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1ec56 in /usr/bin/clickhouse 22. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1eddc in /usr/bin/clickhouse 23. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001c8b1ffe in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:635: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e8f68 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e9748 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f0864 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:27:10.140282 [ 6138 ] {48cb29bd-f92d-4a53-bbe5-e3cef6dde49d} executeQuery: Code: 433. DB::Exception: Delta value for delta codec can be 1, 2, 4 or 8, given 16. (ILLEGAL_CODEC_PARAMETER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:52110) (comment: 00804_test_custom_compression_codecs.sql) (in query: CREATE TABLE delta_bad_params2(id UInt64 CODEC(Delta(16))) ENGINE = MergeTree() ORDER BY tuple();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000c0bde33 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionCodecDelta.cpp:211: DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7f2b95 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000] const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7f2848 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7f2805 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7f27c5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x000000001b7f276d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x000000001b7e3e89 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dfec5 in /usr/bin/clickhouse 13. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dd730 in /usr/bin/clickhouse 14. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001c8b369a in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b35bd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b357d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b353d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b3508 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba22e3e in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba211dd in /usr/bin/clickhouse 21. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1ec56 in /usr/bin/clickhouse 22. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1eddc in /usr/bin/clickhouse 23. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001c8b1ffe in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:635: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e8f68 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e9748 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f0864 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:27:10.141240 [ 6138 ] {48cb29bd-f92d-4a53-bbe5-e3cef6dde49d} TCPHandler: Code: 433. DB::Exception: Delta value for delta codec can be 1, 2, 4 or 8, given 16. (ILLEGAL_CODEC_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000c0bde33 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionCodecDelta.cpp:211: DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7f2b95 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000] const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7f2848 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7f2805 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7f27c5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x000000001b7f276d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x000000001b7e3e89 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dfec5 in /usr/bin/clickhouse 13. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dd730 in /usr/bin/clickhouse 14. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001c8b369a in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b35bd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b357d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b353d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b3508 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba22e3e in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba211dd in /usr/bin/clickhouse 21. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1ec56 in /usr/bin/clickhouse 22. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1eddc in /usr/bin/clickhouse 23. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001c8b1ffe in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:635: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e8f68 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e9748 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f0864 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:27:10.791983 [ 6138 ] {0285643e-2dfe-4fa7-86d2-9b17645f6cfc} executeQuery: Code: 36. DB::Exception: Codec Delta is only applicable for data types of size 1, 2, 4, 8 bytes. Given type FixedString(12). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:52110) (comment: 00804_test_custom_compression_codecs.sql) (in query: CREATE TABLE compression_codec_multiple_more_types ( id Decimal128(13) CODEC(ZSTD, LZ4, ZSTD, ZSTD, Delta(2), Delta(4), Delta(1), LZ4HC), data FixedString(12) CODEC(ZSTD, ZSTD, Delta, Delta, Delta, NONE, NONE, NONE, LZ4HC), ddd Nested (age UInt8, Name String) CODEC(LZ4, LZ4HC, NONE, NONE, NONE, ZSTD, Delta(8)) ) ENGINE = MergeTree() ORDER BY tuple();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionCodecDelta.cpp:185: DB::(anonymous namespace)::getDeltaBytesSize(DB::IDataType const*) @ 0x000000001b7f2e69 in /usr/bin/clickhouse 7. /build/src/Compression/CompressionCodecDelta.cpp:216: DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7f2c19 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000] const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7f2848 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7f2805 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7f27c5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x000000001b7f276d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x000000001b7e3e89 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dfec5 in /usr/bin/clickhouse 14. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dd730 in /usr/bin/clickhouse 15. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001c8b369a in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b35bd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b357d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b353d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b3508 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba22e3e in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba211dd in /usr/bin/clickhouse 22. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1ec56 in /usr/bin/clickhouse 23. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1eddc in /usr/bin/clickhouse 24. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001c8b1ffe in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:635: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e8f68 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e9748 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f0864 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 2024.09.24 01:27:10.793323 [ 6138 ] {0285643e-2dfe-4fa7-86d2-9b17645f6cfc} TCPHandler: Code: 36. DB::Exception: Codec Delta is only applicable for data types of size 1, 2, 4, 8 bytes. Given type FixedString(12). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionCodecDelta.cpp:185: DB::(anonymous namespace)::getDeltaBytesSize(DB::IDataType const*) @ 0x000000001b7f2e69 in /usr/bin/clickhouse 7. /build/src/Compression/CompressionCodecDelta.cpp:216: DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7f2c19 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000] const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7f2848 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7f2805 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7f27c5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x000000001b7f276d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x000000001b7e3e89 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dfec5 in /usr/bin/clickhouse 14. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dd730 in /usr/bin/clickhouse 15. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001c8b369a in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b35bd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b357d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b353d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b3508 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba22e3e in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba211dd in /usr/bin/clickhouse 22. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1ec56 in /usr/bin/clickhouse 23. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1eddc in /usr/bin/clickhouse 24. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001c8b1ffe in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:635: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e8f68 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e9748 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f0864 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 2024.09.24 01:27:11.803902 [ 12003 ] {509165a8-531b-43e3-88f0-c1d8fbff2986} executeQuery: Code: 432. DB::Exception: Unknown codec family: gbdgkjsdh. (UNKNOWN_CODEC) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:52188) (comment: 00804_test_alter_compression_codecs.sql) (in query: ALTER TABLE alter_bad_codec ADD COLUMN alter_column DateTime DEFAULT '2019-01-01 00:00:00' CODEC(gbdgkjsdh);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionFactory.cpp:120: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dd6d7 in /usr/bin/clickhouse 7. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001c8b369a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b35bd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b357d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b353d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b3508 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba22e3e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba211dd in /usr/bin/clickhouse 14. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1ec56 in /usr/bin/clickhouse 15. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1eddc in /usr/bin/clickhouse 16. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001c8b1ffe in /usr/bin/clickhouse 17. /build/src/Storages/AlterCommands.cpp:1104: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58e2d3 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:11.804817 [ 12003 ] {509165a8-531b-43e3-88f0-c1d8fbff2986} TCPHandler: Code: 432. DB::Exception: Unknown codec family: gbdgkjsdh. (UNKNOWN_CODEC), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionFactory.cpp:120: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dd6d7 in /usr/bin/clickhouse 7. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001c8b369a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b35bd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b357d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b353d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b3508 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba22e3e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba211dd in /usr/bin/clickhouse 14. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1ec56 in /usr/bin/clickhouse 15. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1eddc in /usr/bin/clickhouse 16. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001c8b1ffe in /usr/bin/clickhouse 17. /build/src/Storages/AlterCommands.cpp:1104: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58e2d3 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:11.973646 [ 12003 ] {34cf883e-3e60-494b-9835-3b053e28b1cf} executeQuery: Code: 433. DB::Exception: ZSTD codec can't have level more than 22, given 100. (ILLEGAL_CODEC_PARAMETER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:52188) (comment: 00804_test_alter_compression_codecs.sql) (in query: ALTER TABLE alter_bad_codec ADD COLUMN alter_column DateTime DEFAULT '2019-01-01 00:00:00' CODEC(ZSTD(100));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, int&&, int&) @ 0x000000001b7ee7cc in /usr/bin/clickhouse 6. /build/src/Compression/CompressionCodecZSTD.cpp:129: DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&) const @ 0x000000001b7ece46 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval const&>())) std::__invoke[abi:v15000] const&>(DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&) @ 0x000000001b7ecafd in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call const&>(DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&) @ 0x000000001b7ecabd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x000000001b7eca7d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x000000001b7eca45 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x000000001b7e7b7e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x000000001b7e7b3d in /usr/bin/clickhouse 13. /build/src/Compression/CompressionFactory.cpp:148: DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7de6e5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::function (std::shared_ptr const&)>)::$_0&>()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000], std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7de6a8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7de665 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7de625 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x000000001b7de5d0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x000000001b7e3e89 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dfec5 in /usr/bin/clickhouse 20. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dd730 in /usr/bin/clickhouse 21. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001c8b369a in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b35bd in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b357d in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b353d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b3508 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba22e3e in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba211dd in /usr/bin/clickhouse 28. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1ec56 in /usr/bin/clickhouse 29. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1eddc in /usr/bin/clickhouse 30. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001c8b1ffe in /usr/bin/clickhouse 31. /build/src/Storages/AlterCommands.cpp:1104: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58e2d3 in /usr/bin/clickhouse 2024.09.24 01:27:11.975118 [ 12003 ] {34cf883e-3e60-494b-9835-3b053e28b1cf} TCPHandler: Code: 433. DB::Exception: ZSTD codec can't have level more than 22, given 100. (ILLEGAL_CODEC_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, int&&, int&) @ 0x000000001b7ee7cc in /usr/bin/clickhouse 6. /build/src/Compression/CompressionCodecZSTD.cpp:129: DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&) const @ 0x000000001b7ece46 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval const&>())) std::__invoke[abi:v15000] const&>(DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&) @ 0x000000001b7ecafd in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call const&>(DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&) @ 0x000000001b7ecabd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x000000001b7eca7d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x000000001b7eca45 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x000000001b7e7b7e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x000000001b7e7b3d in /usr/bin/clickhouse 13. /build/src/Compression/CompressionFactory.cpp:148: DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7de6e5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::function (std::shared_ptr const&)>)::$_0&>()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000], std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7de6a8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7de665 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7de625 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x000000001b7de5d0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x000000001b7e3e89 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dfec5 in /usr/bin/clickhouse 20. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dd730 in /usr/bin/clickhouse 21. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001c8b369a in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b35bd in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b357d in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b353d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b3508 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba22e3e in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba211dd in /usr/bin/clickhouse 28. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1ec56 in /usr/bin/clickhouse 29. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1eddc in /usr/bin/clickhouse 30. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001c8b1ffe in /usr/bin/clickhouse 31. /build/src/Storages/AlterCommands.cpp:1104: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58e2d3 in /usr/bin/clickhouse 2024.09.24 01:27:29.179481 [ 8835 ] {9a18c630-65cc-46fa-8ab1-ad234ac3333b} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:29.327647 [ 8835 ] {811349af-74b6-4287-82cd-64a98819b82a} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:29.414201 [ 8835 ] {e6f1b5a4-9be7-45e1-8468-58acce426482} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:29.456366 [ 8835 ] {cccfaaae-5e8d-4dee-9661-6639b8f5fcad} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:29.544881 [ 8835 ] {e6012140-bc9b-4821-a91e-33992287095b} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:29.668054 [ 8835 ] {e9dd8bf8-2b7e-4442-81a7-bd7e46266048} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:29.772704 [ 8835 ] {2565e0c2-e2bd-4c5e-8229-70479f64f922} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:29.823550 [ 8835 ] {ee7d50f2-c32e-4890-b181-5e1413a71f9b} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:29.919092 [ 8835 ] {20b41255-d3a9-49d4-a864-778b8de78b9d} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:30.001223 [ 8835 ] {ffcc27c6-9a77-4a78-a4af-fea15135f681} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:30.087435 [ 22250 ] {ae4a7b16-be6f-44d4-b013-6d52109e772c} executeQuery: Code: 43. DB::Exception: First argument for function bitmapContains must be a bitmap but it has type String: While processing bitmapContains('', []). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT bitmapContains('', []);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsBitmap.h:853: DB::FunctionBitmapContains::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b9eacd4 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:27:30.089427 [ 22250 ] {ae4a7b16-be6f-44d4-b013-6d52109e772c} TCPHandler: Code: 43. DB::Exception: First argument for function bitmapContains must be a bitmap but it has type String: While processing bitmapContains('', []). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsBitmap.h:853: DB::FunctionBitmapContains::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b9eacd4 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:27:30.137304 [ 8835 ] {630ab693-78cd-4529-af28-1ec4b7e4d273} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:30.219667 [ 8835 ] {7c3f3ace-b534-440d-88be-8c56ac66295e} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:30.357164 [ 8835 ] {c59f9925-3126-4d0a-a031-71e7769473d5} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:30.452840 [ 8835 ] {60350be3-ebaf-425f-80d5-e338ec0f2cb5} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:30.547860 [ 22250 ] {1e2172d3-5517-4ba3-a85a-0d3febd04666} executeQuery: Code: 42. DB::Exception: Table function 'merge' requires exactly 2 arguments - name of source database and regexp for table names. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM merge('-k!');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [106]) @ 0x000000001a942c9e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMerge.cpp:71: DB::TableFunctionMerge::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a941138 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:30.549622 [ 22250 ] {1e2172d3-5517-4ba3-a85a-0d3febd04666} TCPHandler: Code: 42. DB::Exception: Table function 'merge' requires exactly 2 arguments - name of source database and regexp for table names. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [106]) @ 0x000000001a942c9e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMerge.cpp:71: DB::TableFunctionMerge::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a941138 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:30.551868 [ 8835 ] {34b77364-07a3-4d8d-9f09-b8704d584aec} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:30.598472 [ 8835 ] {7faa0554-381a-495f-8bae-0949e637db83} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:30.676722 [ 22250 ] {d2852873-e663-474f-a369-c58c8e874897} executeQuery: Code: 43. DB::Exception: Illegal type String of argument of function MACNumToString, expected UInt64: While processing MACNumToString('\0'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT MACNumToString('\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsCodingIP.cpp:606: DB::FunctionMACNumToString::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b9fc8e6 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:27:30.680991 [ 22250 ] {d2852873-e663-474f-a369-c58c8e874897} TCPHandler: Code: 43. DB::Exception: Illegal type String of argument of function MACNumToString, expected UInt64: While processing MACNumToString('\0'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsCodingIP.cpp:606: DB::FunctionMACNumToString::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b9fc8e6 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:27:30.686123 [ 8835 ] {1368b2ae-ef7d-4446-bae7-54c2d8ec84ba} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:30.733008 [ 8835 ] {a2a03d1b-a11c-4ad4-a370-5a2e127713f2} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:30.813584 [ 22250 ] {b5467cd8-5050-4196-a516-1e146919026a} executeQuery: Code: 35. DB::Exception: Number of arguments for function bitTestAll doesn't match: passed 0, should be at least 2.: While processing [], roundToExp2(bitTestAll()), NULL. (TOO_FEW_ARGUMENTS_FOR_FUNCTION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT [], roundToExp2(bitTestAll()), NULL;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b232e2c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBitTestMany.h:39: DB::FunctionBitTestMany::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d706586 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 2024.09.24 01:27:30.815205 [ 22250 ] {b5467cd8-5050-4196-a516-1e146919026a} TCPHandler: Code: 35. DB::Exception: Number of arguments for function bitTestAll doesn't match: passed 0, should be at least 2.: While processing [], roundToExp2(bitTestAll()), NULL. (TOO_FEW_ARGUMENTS_FOR_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b232e2c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBitTestMany.h:39: DB::FunctionBitTestMany::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d706586 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 2024.09.24 01:27:30.826555 [ 8835 ] {f26845e9-9ee5-4829-9740-c89c57df3c6f} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:30.837045 [ 22250 ] {50a4cc4c-83da-4b98-9b95-45e1dc3d6ab7} executeQuery: Code: 42. DB::Exception: Number of arguments for function hasSubstr doesn't match: passed 1, should be 2: While processing hasSubstr('\0'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT hasSubstr('\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:27:30.838613 [ 22250 ] {50a4cc4c-83da-4b98-9b95-45e1dc3d6ab7} TCPHandler: Code: 42. DB::Exception: Number of arguments for function hasSubstr doesn't match: passed 1, should be 2: While processing hasSubstr('\0'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:27:30.962927 [ 8835 ] {91e6964b-d0cc-4d38-9654-d8802effc800} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:30.985621 [ 22250 ] {f213bd87-7e92-405d-a22e-39a3fdc9a4a0} executeQuery: Code: 36. DB::Exception: Argument 'cluster_name' must be a literal with type String, got Array. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM clusterAllReplicas([]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000011950228 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da4a3e8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da4a0dd in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionRemote.cpp:139: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a94acdf in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:30.987130 [ 22250 ] {f213bd87-7e92-405d-a22e-39a3fdc9a4a0} TCPHandler: Code: 36. DB::Exception: Argument 'cluster_name' must be a literal with type String, got Array. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000011950228 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da4a3e8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da4a0dd in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionRemote.cpp:139: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a94acdf in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:31.053410 [ 8835 ] {60eaa141-e236-4f2a-bbdf-a2fbc187c6a1} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:31.122515 [ 22250 ] {e2ac69d1-0474-435a-9e98-f5822fcfe55c} executeQuery: Code: 43. DB::Exception: Second argument (shingle size) of function ngramSimHashCaseInsensitiveUTF8 must be unsigned integer, got String: While processing mapApply(cutIPv6(ngramSimHashCaseInsensitiveUTF8('', '')), ''). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT mapApply(cutIPv6(ngramSimHashCaseInsensitiveUTF8('', '')), '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringHash.h:68: DB::FunctionsStringHash, DB::NameNgramSimHashCaseInsensitiveUTF8, true, false>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c35dc60 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:27:31.124180 [ 22250 ] {e2ac69d1-0474-435a-9e98-f5822fcfe55c} TCPHandler: Code: 43. DB::Exception: Second argument (shingle size) of function ngramSimHashCaseInsensitiveUTF8 must be unsigned integer, got String: While processing mapApply(cutIPv6(ngramSimHashCaseInsensitiveUTF8('', '')), ''). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringHash.h:68: DB::FunctionsStringHash, DB::NameNgramSimHashCaseInsensitiveUTF8, true, false>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c35dc60 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:27:31.135411 [ 22250 ] {8d50958c-c399-45b3-9496-6cfe1bb6ea17} executeQuery: Code: 42. DB::Exception: Number of arguments for function pathFull doesn't match: passed 0, should be 1: While processing pathFull(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT pathFull();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:27:31.136966 [ 22250 ] {8d50958c-c399-45b3-9496-6cfe1bb6ea17} TCPHandler: Code: 42. DB::Exception: Number of arguments for function pathFull doesn't match: passed 0, should be 1: While processing pathFull(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:27:31.165708 [ 8835 ] {7185a50a-96fb-40bc-af94-b18040ac77e9} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:31.298757 [ 22250 ] {8b1bcdb4-5876-47fb-9667-5350cd89d8d6} executeQuery: Code: 42. DB::Exception: Incorrect number of parameters for aggregate function groupArraySample, should be 1 or 2. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT groupArraySample((CAST(('') AS String)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionGroupArray.cpp:102: DB::(anonymous namespace)::createAggregateFunctionGroupArraySample(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000001454fba8 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:27:31.300695 [ 22250 ] {8b1bcdb4-5876-47fb-9667-5350cd89d8d6} TCPHandler: Code: 42. DB::Exception: Incorrect number of parameters for aggregate function groupArraySample, should be 1 or 2. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionGroupArray.cpp:102: DB::(anonymous namespace)::createAggregateFunctionGroupArraySample(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000001454fba8 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:27:31.308723 [ 22250 ] {b45d0c9f-fb9a-4120-97e9-08329e351893} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:27:31.322882 [ 8835 ] {2faed056-9f9d-4e7d-b5ae-f7daeedfb1c0} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:31.420008 [ 8835 ] {fc98efb4-1d33-413d-b582-96dbcde67f53} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:31.433654 [ 22250 ] {b45d0c9f-fb9a-4120-97e9-08329e351893} Cluster: Code: 198. DB::Exception: Not found address of host: ;A. (DNS_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Common/DNSResolver.cpp:114: DB::(anonymous namespace)::hostByName(String const&) @ 0x00000000138812e8 in /usr/bin/clickhouse 7. /build/src/Common/DNSResolver.cpp:139: DB::(anonymous namespace)::resolveIPAddressImpl(String const&) @ 0x000000001387fdc8 in /usr/bin/clickhouse 8. /build/src/Common/DNSResolver.cpp:146: DB::(anonymous namespace)::resolveIPAddressWithCache(DB::CacheBase>, std::hash, DB::EqualWeightFunction>>>&, String const&)::$_0::operator()() const @ 0x0000000013883340 in /usr/bin/clickhouse 9. /build/src/Common/CacheBase.h:152: std::pair>>, bool> DB::CacheBase>, std::hash, DB::EqualWeightFunction>>>::getOrSet>, std::hash, DB::EqualWeightFunction>>>&, String const&)::$_0>(String const&, DB::(anonymous namespace)::resolveIPAddressWithCache(DB::CacheBase>, std::hash, DB::EqualWeightFunction>>>&, String const&)::$_0&&) @ 0x00000000138830af in /usr/bin/clickhouse 10. /build/src/Common/DNSResolver.cpp:146: DB::(anonymous namespace)::resolveIPAddressWithCache(DB::CacheBase>, std::hash, DB::EqualWeightFunction>>>&, String const&) @ 0x000000001387ff3c in /usr/bin/clickhouse 11. /build/src/Common/DNSResolver.cpp:239: DB::DNSResolver::resolveAddress(String const&, unsigned short) @ 0x00000000138805cf in /usr/bin/clickhouse 12. /build/src/Interpreters/Cluster.cpp:73: DB::Cluster::Address::getResolvedAddress() const @ 0x000000001bda5606 in /usr/bin/clickhouse 13. /build/src/Interpreters/Cluster.cpp:86: DB::Cluster::Address::isLocal(unsigned short) const @ 0x000000001bda5724 in /usr/bin/clickhouse 14. /build/src/Interpreters/Cluster.cpp:165: DB::Cluster::Address::Address(DB::DatabaseReplicaInfo const&, DB::ClusterConnectionParameters const&, unsigned int, unsigned int) @ 0x000000001bda65fa in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::Cluster::Address* std::construct_at[abi:v15000](DB::Cluster::Address*, DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001bdb5dc1 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::Cluster::Address*, DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001bdb5d39 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/vector:1579: void std::vector>::__emplace_back_slow_path(DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001bdb5c96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/vector:0: DB::Cluster::Address& std::vector>::emplace_back(DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001bdaeda0 in /usr/bin/clickhouse 19. /build/src/Interpreters/Cluster.cpp:520: DB::Cluster::Cluster(DB::Settings const&, std::vector>, std::allocator>>> const&, DB::ClusterConnectionParameters const&) @ 0x000000001bdaad5d in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::Cluster* std::construct_at[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&, DB::Cluster*>(DB::Cluster*, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x000000001a954454 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&, void, void>(std::allocator&, DB::Cluster*, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x000000001a9543d1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&>(std::allocator, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x000000001a954357 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&, void>(std::allocator const&, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x000000001a95426a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&, void>(DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x000000001a94f996 in /usr/bin/clickhouse 25. /build/src/TableFunctions/TableFunctionRemote.cpp:290: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a94c30e in /usr/bin/clickhouse 26. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 27. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 28. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:27:31.435251 [ 22250 ] {b45d0c9f-fb9a-4120-97e9-08329e351893} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:27:31.435818 [ 22250 ] {b45d0c9f-fb9a-4120-97e9-08329e351893} HedgedConnectionsFactory: Connection failed at try â„–1, reason: Code: 198. DB::Exception: Not found address of host: ;A. (DNS_ERROR) (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:27:31.436553 [ 22250 ] {b45d0c9f-fb9a-4120-97e9-08329e351893} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:27:31.437200 [ 22250 ] {b45d0c9f-fb9a-4120-97e9-08329e351893} HedgedConnectionsFactory: Connection failed at try â„–2, reason: Code: 198. DB::Exception: Not found address of host: ;A. (DNS_ERROR) (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:27:31.437751 [ 22250 ] {b45d0c9f-fb9a-4120-97e9-08329e351893} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:27:31.438231 [ 22250 ] {b45d0c9f-fb9a-4120-97e9-08329e351893} HedgedConnectionsFactory: Connection failed at try â„–3, reason: Code: 198. DB::Exception: Not found address of host: ;A. (DNS_ERROR) (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:27:31.439723 [ 22250 ] {b45d0c9f-fb9a-4120-97e9-08329e351893} executeQuery: Code: 519. DB::NetException: All attempts to get table structure failed. Log: Code: 279. DB::NetException: All connection tries failed. Log: Code: 198. DB::Exception: Not found address of host: ;A. (DNS_ERROR) (version 23.8.16.41.altinitystable (altinity build)) Code: 198. DB::Exception: Not found address of host: ;A. (DNS_ERROR) (version 23.8.16.41.altinitystable (altinity build)) Code: 198. DB::Exception: Not found address of host: ;A. (DNS_ERROR) (version 23.8.16.41.altinitystable (altinity build)) . (ALL_CONNECTION_TRIES_FAILED) (version 23.8.16.41.altinitystable (altinity build)) . (NO_REMOTE_SHARD_AVAILABLE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM remote(';A');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String&) @ 0x000000001da4e793 in /usr/bin/clickhouse 6. /build/src/Storages/getStructureOfRemoteTable.cpp:166: DB::getStructureOfRemoteTable(DB::Cluster const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x000000001da4d336 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionRemote.cpp:345: DB::TableFunctionRemote::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a94d1e2 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionRemote.cpp:305: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a94c6f6 in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:31.441883 [ 22250 ] {b45d0c9f-fb9a-4120-97e9-08329e351893} TCPHandler: Code: 519. DB::NetException: All attempts to get table structure failed. Log: Code: 279. DB::NetException: All connection tries failed. Log: Code: 198. DB::Exception: Not found address of host: ;A. (DNS_ERROR) (version 23.8.16.41.altinitystable (altinity build)) Code: 198. DB::Exception: Not found address of host: ;A. (DNS_ERROR) (version 23.8.16.41.altinitystable (altinity build)) Code: 198. DB::Exception: Not found address of host: ;A. (DNS_ERROR) (version 23.8.16.41.altinitystable (altinity build)) . (ALL_CONNECTION_TRIES_FAILED) (version 23.8.16.41.altinitystable (altinity build)) . (NO_REMOTE_SHARD_AVAILABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String&) @ 0x000000001da4e793 in /usr/bin/clickhouse 6. /build/src/Storages/getStructureOfRemoteTable.cpp:166: DB::getStructureOfRemoteTable(DB::Cluster const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x000000001da4d336 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionRemote.cpp:345: DB::TableFunctionRemote::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a94d1e2 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionRemote.cpp:305: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a94c6f6 in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:31.512128 [ 8835 ] {4787b8e9-6b25-4af5-8dde-bca0dd5b304c} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:31.562049 [ 8835 ] {60702a3f-cbd0-480b-8c0f-fade6774e1df} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:31.654478 [ 22250 ] {514a29a1-d9fa-45a7-a90f-a59602d238c0} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nullable(String)) of argument of function toDate: While processing 33170166, CAST([_CAST('', 'Nullable(String)') AS _subquery756], 'Date'), -4772288.6182, CAST(-5206789, 'DateTime'): While processing (SELECT 33170166, CAST([(SELECT '')], 'Date'), -4772288.6182, CAST(-5206789, 'DateTime')) AS _subquery754: While processing aes_decrypt_mysql((SELECT 33170166, CAST([(SELECT '')], 'Date'), -4772288.6182, CAST(-5206789, 'DateTime')) AS _subquery754, '[HIDDEN]'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT aes_decrypt_mysql((SELECT 33170166, CAST([(SELECT '')], 'Date'), -4772288.6182, CAST(-5206789, 'DateTime')), '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2103: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b535666 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53475e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b3d70 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3d06 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3ca0 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3c40 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b3beb in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:27:31.656511 [ 22250 ] {514a29a1-d9fa-45a7-a90f-a59602d238c0} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nullable(String)) of argument of function toDate: While processing 33170166, CAST([_CAST('', 'Nullable(String)') AS _subquery756], 'Date'), -4772288.6182, CAST(-5206789, 'DateTime'): While processing (SELECT 33170166, CAST([(SELECT '')], 'Date'), -4772288.6182, CAST(-5206789, 'DateTime')) AS _subquery754: While processing aes_decrypt_mysql((SELECT 33170166, CAST([(SELECT '')], 'Date'), -4772288.6182, CAST(-5206789, 'DateTime')) AS _subquery754, '[HIDDEN]'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2103: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b535666 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53475e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b3d70 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3d06 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3ca0 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3c40 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b3beb in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:27:31.658590 [ 8835 ] {34e88237-22b9-4f91-9e7c-c903baa286c4} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:31.767751 [ 8835 ] {67155f92-7665-4c51-b172-ba8766dd6572} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:31.793614 [ 22250 ] {c6c25af4-2f97-4357-b92c-bcaf0abe4714} executeQuery: Code: 36. DB::Exception: Hosts pattern must be string literal (in single quotes). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM remoteSecure(quantiles());), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [57]) @ 0x000000000ddb69fe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:151: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a94ae44 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:31.795124 [ 22250 ] {c6c25af4-2f97-4357-b92c-bcaf0abe4714} TCPHandler: Code: 36. DB::Exception: Hosts pattern must be string literal (in single quotes). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [57]) @ 0x000000000ddb69fe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:151: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a94ae44 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:31.913852 [ 8835 ] {a790a20f-e372-43cd-bba3-78591531638a} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:31.940877 [ 22250 ] {275c8a22-adc0-4842-8422-8ce1d007ceaa} executeQuery: Code: 42. DB::Exception: Function mapContainsKeyLike requires at least one argument, passed 0: While processing mapContainsKeyLike(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT mapContainsKeyLike();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b232e2c in /usr/bin/clickhouse 6. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:66: DB::FunctionMapToArrayAdapter, DB::MapKeyLikeAdapter, DB::NameMapContainsKeyLike>::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012938969 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:27:31.942812 [ 22250 ] {275c8a22-adc0-4842-8422-8ce1d007ceaa} TCPHandler: Code: 42. DB::Exception: Function mapContainsKeyLike requires at least one argument, passed 0: While processing mapContainsKeyLike(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b232e2c in /usr/bin/clickhouse 6. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:66: DB::FunctionMapToArrayAdapter, DB::MapKeyLikeAdapter, DB::NameMapContainsKeyLike>::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012938969 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:27:31.951886 [ 22250 ] {6403ea42-dc73-4e3a-8434-d7b9b54a297a} executeQuery: Code: 42. DB::Exception: Number of arguments for function bitmapHasAny doesn't match: passed 1, should be 2: While processing bitmapHasAny([]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT bitmapHasAny([]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:27:31.953476 [ 22250 ] {6403ea42-dc73-4e3a-8434-d7b9b54a297a} TCPHandler: Code: 42. DB::Exception: Number of arguments for function bitmapHasAny doesn't match: passed 1, should be 2: While processing bitmapHasAny([]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:27:32.007765 [ 8835 ] {2eece23e-3e8a-4eb6-a50a-0d93d972c3a6} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:32.058083 [ 8835 ] {9fbe7ab7-4a55-47b2-afa6-4e9a628233cd} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:32.154217 [ 8835 ] {fb9221a4-2954-4c54-92e8-5d51bcb6b84a} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:32.171560 [ 22250 ] {f8645ba5-ee00-4004-858d-142ebcd735da} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing extract('', [CAST('6', 'Date')]). (CANNOT_PARSE_DATE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT extract('', [(CAST(('6') AS Date))]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000f82339e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x000000001398bef5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1087: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x000000001398bb71 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:719: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000b54ea97 in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:743: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54e78a in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:774: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54e745 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1059: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b54e41f in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b54e2ed in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b547c38 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b536239 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b535568 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53475e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b3d70 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3d06 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3ca0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3c40 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b3beb in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 2024.09.24 01:27:32.173474 [ 22250 ] {f8645ba5-ee00-4004-858d-142ebcd735da} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing extract('', [CAST('6', 'Date')]). (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000f82339e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x000000001398bef5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1087: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x000000001398bb71 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:719: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000b54ea97 in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:743: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54e78a in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:774: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54e745 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1059: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b54e41f in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b54e2ed in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b547c38 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b536239 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b535568 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53475e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b3d70 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3d06 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3ca0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3c40 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b3beb in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 2024.09.24 01:27:32.246696 [ 8835 ] {abc3a876-b6a8-4c9c-a920-620ea89d19b7} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:32.307585 [ 22250 ] {4149f346-f074-4321-aa4f-f16f5386a372} executeQuery: Code: 42. DB::Exception: Table function 'remote' requires from 1 to 6 parameters: [, , ] [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM remote();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b200fea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x000000001a94f169 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:118: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a94ab5d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:32.309290 [ 22250 ] {4149f346-f074-4321-aa4f-f16f5386a372} TCPHandler: Code: 42. DB::Exception: Table function 'remote' requires from 1 to 6 parameters: [, , ] [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b200fea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x000000001a94f169 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:118: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a94ab5d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:32.321888 [ 22250 ] {6e24a6ad-b789-4ec2-9d46-03908715686e} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing tumble(extractKeyValuePairsWithEscaping(CAST('MWL6WX2?', 'Date')), ''). (CANNOT_PARSE_DATE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT tumble(extractKeyValuePairsWithEscaping((CAST(('MWL6WX2?') AS Date))), '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000f82339e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x000000001398bef5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1087: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x000000001398bb71 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:719: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000b54ea97 in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:743: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54e78a in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:774: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54e745 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1059: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b54e41f in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b54e2ed in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b547c38 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b536239 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b535568 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53475e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b3d70 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3d06 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3ca0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3c40 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b3beb in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 2024.09.24 01:27:32.323575 [ 22250 ] {6e24a6ad-b789-4ec2-9d46-03908715686e} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing tumble(extractKeyValuePairsWithEscaping(CAST('MWL6WX2?', 'Date')), ''). (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000f82339e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x000000001398bef5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1087: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x000000001398bb71 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:719: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000b54ea97 in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:743: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54e78a in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:774: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54e745 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1059: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b54e41f in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b54e2ed in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b547c38 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b536239 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b535568 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53475e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b3d70 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3d06 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3ca0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3c40 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b3beb in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 2024.09.24 01:27:32.382108 [ 8835 ] {69bc2ec5-682e-4eb7-bbe2-cde9576d7e3c} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:32.472370 [ 8835 ] {6f4af7a9-ff55-4811-82d1-c62e60e83eb0} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:32.480054 [ 22250 ] {52e180c9-82c3-4b3b-8991-6347582466e0} executeQuery: Code: 42. DB::Exception: The signature of table function cosn shall be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`): While processing (SELECT * FROM cosn()) AS giz: While processing ((SELECT * FROM cosn()) AS giz, (SELECT * FROM azureBlobStorageCluster('')) AS jioko): While processing CAST(((SELECT * FROM cosn()) AS giz, (SELECT * FROM azureBlobStorageCluster('')) AS jioko), 'String'): While processing [CAST(((SELECT * FROM cosn()) AS giz, (SELECT * FROM azureBlobStorageCluster('')) AS jioko), 'String')]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT [], (CAST(((CAST(('\0') AS Date))) AS DateTime)), [(CAST((( SELECT * FROM cosn() ) AS giz, ( SELECT * FROM azureBlobStorageCluster('') ) AS jioko) AS String))], [[(CAST(([]) AS DateTime))]];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:75: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a99804f in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a999d04 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8dec5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9173d in /usr/bin/clickhouse 28. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f0b7 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 2024.09.24 01:27:32.482422 [ 22250 ] {52e180c9-82c3-4b3b-8991-6347582466e0} TCPHandler: Code: 42. DB::Exception: The signature of table function cosn shall be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`): While processing (SELECT * FROM cosn()) AS giz: While processing ((SELECT * FROM cosn()) AS giz, (SELECT * FROM azureBlobStorageCluster('')) AS jioko): While processing CAST(((SELECT * FROM cosn()) AS giz, (SELECT * FROM azureBlobStorageCluster('')) AS jioko), 'String'): While processing [CAST(((SELECT * FROM cosn()) AS giz, (SELECT * FROM azureBlobStorageCluster('')) AS jioko), 'String')]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:75: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a99804f in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a999d04 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8dec5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9173d in /usr/bin/clickhouse 28. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f0b7 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 2024.09.24 01:27:32.491383 [ 22250 ] {8cc9d58a-6433-45ef-8064-64625a18db8a} executeQuery: Code: 42. DB::Exception: Number of arguments for function subBitmap doesn't match: passed 0, should be 3: While processing subBitmap(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT subBitmap();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:27:32.493309 [ 22250 ] {8cc9d58a-6433-45ef-8064-64625a18db8a} TCPHandler: Code: 42. DB::Exception: Number of arguments for function subBitmap doesn't match: passed 0, should be 3: While processing subBitmap(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:27:32.519624 [ 8835 ] {e7f2e9d5-10df-48f1-9729-915ccd1a9854} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:32.608055 [ 8835 ] {ddc10a44-4c3a-481d-b3b0-ad1f30d710aa} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:32.662456 [ 22250 ] {7779af29-cd2b-4f4e-bdce-7b51db4bc1c8} executeQuery: Code: 43. DB::Exception: First argument for function randomFixedString must be unsigned integer: While processing randomFixedString(85884.3983): While processing (SELECT randomFixedString(85884.3983)) AS fmdllnh. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT ( SELECT 548, [['\0']] ) , ( SELECT randomFixedString(85884.3983) ) AS fmdllnh, (CAST(('\0') AS DateTime)), -91940;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/randomFixedString.cpp:45: DB::(anonymous namespace)::FunctionRandomFixedStringImpl::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012416423 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:27:32.664605 [ 22250 ] {7779af29-cd2b-4f4e-bdce-7b51db4bc1c8} TCPHandler: Code: 43. DB::Exception: First argument for function randomFixedString must be unsigned integer: While processing randomFixedString(85884.3983): While processing (SELECT randomFixedString(85884.3983)) AS fmdllnh. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/randomFixedString.cpp:45: DB::(anonymous namespace)::FunctionRandomFixedStringImpl::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012416423 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:27:32.704062 [ 8835 ] {a48c4e37-40ba-4637-9766-b69d7eea4fa1} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:32.804523 [ 22250 ] {fcd62474-2783-44ef-a736-88850cc9f082} executeQuery: Code: 43. DB::Exception: Illegal type String of argument of function tanh: While processing tanh('\0'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT tanh('\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionMathUnary.h:49: DB::FunctionMathUnary::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000125f94c7 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:27:32.806770 [ 22250 ] {fcd62474-2783-44ef-a736-88850cc9f082} TCPHandler: Code: 43. DB::Exception: Illegal type String of argument of function tanh: While processing tanh('\0'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionMathUnary.h:49: DB::FunctionMathUnary::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000125f94c7 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:27:32.846946 [ 8835 ] {da58ed08-2993-4ec2-bd33-3c6cf52967b3} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:32.937950 [ 8835 ] {8291cc80-de79-4939-afe0-ac1f66958324} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:32.963599 [ 22250 ] {2780c420-a1b2-47ec-b3f9-aa5eaead1d2d} executeQuery: Code: 42. DB::Exception: Aggregate function categoricalInformationValue requires two or more arguments: While processing (SELECT getTypeSerializationStreams([categoricalInformationValue()], [])) AS rrrzabp: While processing toInt128OrDefault((SELECT getTypeSerializationStreams([categoricalInformationValue()], [])) AS rrrzabp, [0.277]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toInt128OrDefault(( SELECT getTypeSerializationStreams([categoricalInformationValue()], []) ) AS rrrzabp, [0.277]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionCategoricalInformationValue.cpp:166: DB::(anonymous namespace)::createAggregateFunctionCategoricalIV(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000017818a55 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 28. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 2024.09.24 01:27:32.965759 [ 22250 ] {2780c420-a1b2-47ec-b3f9-aa5eaead1d2d} TCPHandler: Code: 42. DB::Exception: Aggregate function categoricalInformationValue requires two or more arguments: While processing (SELECT getTypeSerializationStreams([categoricalInformationValue()], [])) AS rrrzabp: While processing toInt128OrDefault((SELECT getTypeSerializationStreams([categoricalInformationValue()], [])) AS rrrzabp, [0.277]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionCategoricalInformationValue.cpp:166: DB::(anonymous namespace)::createAggregateFunctionCategoricalIV(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000017818a55 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 28. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 2024.09.24 01:27:33.036055 [ 8835 ] {c619c591-0d2a-4cb9-91b6-60006545f1ac} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:33.080754 [ 8835 ] {015c5fc1-75df-4e22-95ba-ec9369fc30b9} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:33.101553 [ 22250 ] {a5660b11-84b9-422b-9cfe-faed9ed43e58} executeQuery: Code: 42. DB::Exception: Aggregate function quantileTDigestWeighted requires two arguments: While processing (SELECT CAST(1, 'Date'), [], 25.74874, quantileTDigestWeighted()) AS _subquery758. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT ( SELECT (CAST((1) AS Date)), [], 25.748740, quantileTDigestWeighted() ) , ( SELECT * FROM deltaLake(4, '') ) , ['R'], [], -698423.50;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:33: DB::assertBinary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013dfd7e1 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:240: DB::AggregateFunctionQuantile, DB::NameQuantileTDigestWeighted, true, float, false>::assertSecondArg(std::vector, std::allocator>> const&) @ 0x0000000014ce31f0 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionQuantileTDigestWeighted.cpp:32: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014ce27e4 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 30. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 2024.09.24 01:27:33.103615 [ 22250 ] {a5660b11-84b9-422b-9cfe-faed9ed43e58} TCPHandler: Code: 42. DB::Exception: Aggregate function quantileTDigestWeighted requires two arguments: While processing (SELECT CAST(1, 'Date'), [], 25.74874, quantileTDigestWeighted()) AS _subquery758. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:33: DB::assertBinary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013dfd7e1 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:240: DB::AggregateFunctionQuantile, DB::NameQuantileTDigestWeighted, true, float, false>::assertSecondArg(std::vector, std::allocator>> const&) @ 0x0000000014ce31f0 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionQuantileTDigestWeighted.cpp:32: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014ce27e4 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 30. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 2024.09.24 01:27:33.163853 [ 8835 ] {6043a992-9aa9-4b04-95af-34662db3616f} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:33.248043 [ 22250 ] {d74a6397-25b4-4760-888c-76dc4a5525d7} executeQuery: Code: 36. DB::Exception: Table function 'viewExplain' requires 2 or 3 arguments, got 1: While processing (SELECT * FROM viewExplain(formatDateTime())) AS _subquery760: While processing toQuarter((SELECT * FROM viewExplain(formatDateTime())) AS _subquery760). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT QUARTER(( SELECT * FROM viewExplain(formatDateTime()) ) );), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x000000000bc9dc4c in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExplain.cpp:46: DB::TableFunctionExplain::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9dda94 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8dec5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9173d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f0b7 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 2024.09.24 01:27:33.249888 [ 22250 ] {d74a6397-25b4-4760-888c-76dc4a5525d7} TCPHandler: Code: 36. DB::Exception: Table function 'viewExplain' requires 2 or 3 arguments, got 1: While processing (SELECT * FROM viewExplain(formatDateTime())) AS _subquery760: While processing toQuarter((SELECT * FROM viewExplain(formatDateTime())) AS _subquery760). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x000000000bc9dc4c in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExplain.cpp:46: DB::TableFunctionExplain::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9dda94 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8dec5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9173d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f0b7 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 2024.09.24 01:27:33.256348 [ 22250 ] {edd15ad9-e016-4236-9c68-5e88ed466de0} executeQuery: Code: 42. DB::Exception: Table function 'remote' requires from 1 to 6 parameters: [, , ] [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM remoteSecure();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b200fea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x000000001a94f169 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:118: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a94ab5d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:33.257707 [ 22250 ] {edd15ad9-e016-4236-9c68-5e88ed466de0} TCPHandler: Code: 42. DB::Exception: Table function 'remote' requires from 1 to 6 parameters: [, , ] [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b200fea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x000000001a94f169 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:118: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a94ab5d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:33.266183 [ 22250 ] {b5cc3176-ccca-4522-8929-9063d79be786} ReadWriteBufferFromHTTP: HTTP request to `http://127.0.0.1:9019/ping?use_connection_pooling=1` failed at try 1/1 with bytes read: 0/unknown. Error: Connection refused. (Current backoff wait is 100/1600 ms) 2024.09.24 01:27:33.295923 [ 8835 ] {27cc0fbe-398e-4e4f-9757-39f8adda964c} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:33.384165 [ 8835 ] {3a8ee2b3-9e0f-4583-ad2c-db2e57289dd6} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:33.405362 [ 22250 ] {b5cc3176-ccca-4522-8929-9063d79be786} executeQuery: Code: 410. DB::Exception: clickhouse-jdbc-bridge is not running. Please, start it manually. (EXTERNAL_SERVER_IS_NOT_RESPONDING) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM jdbc('\0g}?', '\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/BridgeHelper/IBridgeHelper.cpp:55: DB::IBridgeHelper::startBridgeCommand() @ 0x000000001e562cf6 in /usr/bin/clickhouse 7. /build/src/BridgeHelper/IBridgeHelper.cpp:25: DB::IBridgeHelper::startBridgeSync() @ 0x000000001e562389 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionXDBC.cpp:60: DB::ITableFunctionXDBC::startBridgeIfNot(std::shared_ptr) const @ 0x000000001a9c135a in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunctionXDBC.cpp:97: DB::ITableFunctionXDBC::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a9c1cb3 in /usr/bin/clickhouse 10. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:33.406895 [ 22250 ] {b5cc3176-ccca-4522-8929-9063d79be786} TCPHandler: Code: 410. DB::Exception: clickhouse-jdbc-bridge is not running. Please, start it manually. (EXTERNAL_SERVER_IS_NOT_RESPONDING), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/BridgeHelper/IBridgeHelper.cpp:55: DB::IBridgeHelper::startBridgeCommand() @ 0x000000001e562cf6 in /usr/bin/clickhouse 7. /build/src/BridgeHelper/IBridgeHelper.cpp:25: DB::IBridgeHelper::startBridgeSync() @ 0x000000001e562389 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionXDBC.cpp:60: DB::ITableFunctionXDBC::startBridgeIfNot(std::shared_ptr) const @ 0x000000001a9c135a in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunctionXDBC.cpp:97: DB::ITableFunctionXDBC::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a9c1cb3 in /usr/bin/clickhouse 10. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:33.478860 [ 8835 ] {5067990f-02e8-4af6-9d75-12b0cd10e3a7} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:33.529896 [ 8835 ] {98fb519d-e9f9-4ac3-960c-0e4a50eddf20} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:33.565327 [ 22250 ] {bea3832f-7686-4a6d-a4d0-90e687aed286} executeQuery: Code: 42. DB::Exception: Storage Azure requires 3 to 7 arguments: AzureBlobStorage(connection_string|storage_account_url, container_name, blobpath, [account_name, account_key, format, compression, structure]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM azureBlobStorage();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [184]) @ 0x000000001a9e60fe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:66: DB::TableFunctionAzureBlobStorage::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9e278a in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:174: DB::TableFunctionAzureBlobStorage::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9e41c4 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:33.566939 [ 22250 ] {bea3832f-7686-4a6d-a4d0-90e687aed286} TCPHandler: Code: 42. DB::Exception: Storage Azure requires 3 to 7 arguments: AzureBlobStorage(connection_string|storage_account_url, container_name, blobpath, [account_name, account_key, format, compression, structure]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [184]) @ 0x000000001a9e60fe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:66: DB::TableFunctionAzureBlobStorage::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9e278a in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:174: DB::TableFunctionAzureBlobStorage::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9e41c4 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:33.618524 [ 8835 ] {ef947938-0343-4a8f-b04d-c616e6daeb7f} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:33.709107 [ 8835 ] {a02debda-a11e-4bc4-821a-b12313c83dbf} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:33.710876 [ 22250 ] {910502f9-2588-4f5e-8eda-490916e64747} executeQuery: Code: 42. DB::Exception: Aggregate function stddevPop requires single argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT stddevPop();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013d8ce61 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionStatisticsSimple.h:247: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionStatisticsUnary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000015bab275 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 2024.09.24 01:27:33.713089 [ 22250 ] {910502f9-2588-4f5e-8eda-490916e64747} TCPHandler: Code: 42. DB::Exception: Aggregate function stddevPop requires single argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013d8ce61 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionStatisticsSimple.h:247: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionStatisticsUnary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000015bab275 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 2024.09.24 01:27:33.752172 [ 8835 ] {6ba76e0e-a699-4b99-b14d-524fbed08a42} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:33.842845 [ 8835 ] {f88fe535-089c-4445-ab3f-471f7ead91cf} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:33.850513 [ 22250 ] {c73db8a1-1a66-4214-a0ec-df70d12d6212} executeQuery: Code: 43. DB::Exception: First argument for function initializeAggregation must be constant string: name of aggregate function.: While processing initializeAggregation(NULL, '\0'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT initializeAggregation(NULL, '\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/initializeAggregation.cpp:64: DB::(anonymous namespace)::FunctionInitializeAggregation::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f1dada5 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:27:33.852393 [ 22250 ] {c73db8a1-1a66-4214-a0ec-df70d12d6212} TCPHandler: Code: 43. DB::Exception: First argument for function initializeAggregation must be constant string: name of aggregate function.: While processing initializeAggregation(NULL, '\0'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/initializeAggregation.cpp:64: DB::(anonymous namespace)::FunctionInitializeAggregation::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f1dada5 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:27:33.976993 [ 8835 ] {86ebd11f-0071-4437-b941-3cbf48d0c87f} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:34.065256 [ 8835 ] {9cf1571e-a96f-4fb5-b0e6-029f611a4d71} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:34.078671 [ 22250 ] {34a9620f-b62f-4c4e-b1d2-44323114c689} executeQuery: Code: 41. DB::ParsingException: Cannot parse datetime: Cannot parse DateTime from String: While processing CAST(CAST(-4683., 'String'), 'DateTime'), [], [[]], []. (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST(((CAST((-4683.0) AS String))) AS DateTime)), [], [[]], [];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x000000000b265ab7 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1218: void DB::readDateTimeTextFallback(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000001398cbf6 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:966: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b59d0d6 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:1047: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b59cda5 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1077: void DB::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b59ccd4 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b59cbbb in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b5971f8 in /usr/bin/clickhouse 12. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b586e59 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b586188 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b58537e in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b3d70 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3d06 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3ca0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3c40 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b3beb in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 27. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 2024.09.24 01:27:34.080512 [ 22250 ] {34a9620f-b62f-4c4e-b1d2-44323114c689} TCPHandler: Code: 41. DB::ParsingException: Cannot parse datetime: Cannot parse DateTime from String: While processing CAST(CAST(-4683., 'String'), 'DateTime'), [], [[]], []. (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x000000000b265ab7 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1218: void DB::readDateTimeTextFallback(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000001398cbf6 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:966: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b59d0d6 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:1047: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b59cda5 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1077: void DB::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b59ccd4 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b59cbbb in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b5971f8 in /usr/bin/clickhouse 12. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b586e59 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b586188 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b58537e in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b3d70 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3d06 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3ca0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3c40 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b3beb in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 27. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 2024.09.24 01:27:34.195626 [ 8835 ] {bbb231b2-4fff-4bf3-9b08-705b7db7eb6a} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:34.222503 [ 22250 ] {477fea46-1109-42b2-a985-5f248495413d} executeQuery: Code: 42. DB::Exception: Function JSONExtract requires at least two arguments: While processing JSONExtract(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT JSONExtract();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsJSON.h:1335: DB::JSONExtractImpl::getReturnType(char const*, std::vector> const&) @ 0x000000000c0f75c7 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsJSON.h:460: DB::JSONOverloadResolver::build(std::vector> const&) const @ 0x000000000c0f6f6c in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 2024.09.24 01:27:34.224412 [ 22250 ] {477fea46-1109-42b2-a985-5f248495413d} TCPHandler: Code: 42. DB::Exception: Function JSONExtract requires at least two arguments: While processing JSONExtract(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsJSON.h:1335: DB::JSONExtractImpl::getReturnType(char const*, std::vector> const&) @ 0x000000000c0f75c7 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsJSON.h:460: DB::JSONOverloadResolver::build(std::vector> const&) const @ 0x000000000c0f6f6c in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 2024.09.24 01:27:34.342337 [ 8835 ] {4afbe01a-4150-4874-86a5-302f08930d3d} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:34.386804 [ 22250 ] {a1df6a18-740f-4bc3-9856-d22ebc712975} executeQuery: Code: 36. DB::Exception: Argument 'cluster_name' must be a literal with type String, got Array. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hdfsCluster([]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000011950228 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da4a3e8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da4a0dd in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionCluster.h:59: DB::ITableFunctionCluster::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9beb1d in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97c5c1 in /usr/bin/clickhouse 10. /build/src/TableFunctions/ITableFunctionCluster.h:47: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9be7d7 in /usr/bin/clickhouse 11. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 12. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 13. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:34.388422 [ 22250 ] {a1df6a18-740f-4bc3-9856-d22ebc712975} TCPHandler: Code: 36. DB::Exception: Argument 'cluster_name' must be a literal with type String, got Array. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000011950228 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da4a3e8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da4a0dd in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionCluster.h:59: DB::ITableFunctionCluster::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9beb1d in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97c5c1 in /usr/bin/clickhouse 10. /build/src/TableFunctions/ITableFunctionCluster.h:47: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9be7d7 in /usr/bin/clickhouse 11. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 12. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 13. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:34.437994 [ 8835 ] {6137abd7-5805-4e60-91d5-81aeae147585} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:34.486917 [ 8835 ] {c984953b-f5ee-47e9-9bec-89a66b1f92cd} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:34.525685 [ 22250 ] {ea7f0765-f1e5-4ba1-897d-9a57035e3e8f} executeQuery: Code: 42. DB::Exception: Function mapApply requires at least one argument, passed 0: While processing mapApply(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT mapApply();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b232e2c in /usr/bin/clickhouse 6. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:66: DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012915069 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:27:34.527433 [ 22250 ] {ea7f0765-f1e5-4ba1-897d-9a57035e3e8f} TCPHandler: Code: 42. DB::Exception: Function mapApply requires at least one argument, passed 0: While processing mapApply(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b232e2c in /usr/bin/clickhouse 6. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:66: DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012915069 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:27:34.553659 [ 22250 ] {e2d33b1e-7b8d-49b6-912e-e0bf63beb5bc} executeQuery: Code: 42. DB::Exception: Storage Azure requires 3 to 7 arguments: AzureBlobStorage(connection_string|storage_account_url, container_name, blobpath, [account_name, account_key, format, compression, structure]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM azureBlobStorage(['']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [184]) @ 0x000000001a9e60fe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:66: DB::TableFunctionAzureBlobStorage::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9e278a in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:174: DB::TableFunctionAzureBlobStorage::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9e41c4 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:34.555036 [ 22250 ] {e2d33b1e-7b8d-49b6-912e-e0bf63beb5bc} TCPHandler: Code: 42. DB::Exception: Storage Azure requires 3 to 7 arguments: AzureBlobStorage(connection_string|storage_account_url, container_name, blobpath, [account_name, account_key, format, compression, structure]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [184]) @ 0x000000001a9e60fe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:66: DB::TableFunctionAzureBlobStorage::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9e278a in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:174: DB::TableFunctionAzureBlobStorage::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9e41c4 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:34.577322 [ 8835 ] {aaced7cd-34d9-40bf-92b4-e97d8d41d0cb} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:34.667303 [ 8835 ] {85b24f8c-8001-4ec5-9eb6-3b2c096652ab} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:34.702558 [ 22250 ] {c0afd468-a0e9-47c2-aa81-8e019a936472} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nothing) expression, must be numeric type. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM numbers_mt([], []);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:64: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001a959628 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:42: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a958687 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:34.705013 [ 22250 ] {c0afd468-a0e9-47c2-aa81-8e019a936472} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nothing) expression, must be numeric type. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:64: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001a959628 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:42: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a958687 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:34.715256 [ 8835 ] {99be3bbd-be50-409c-99fc-cd8dcd7404a2} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:34.807779 [ 8835 ] {0be1b6b0-682e-4810-af6a-060802c94c35} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:34.887081 [ 22250 ] {4d37ba76-a29d-4cf6-91d6-d2c1e25dc824} executeQuery: Code: 42. DB::Exception: Number of arguments for function tupleNegate doesn't match: passed 0, should be 1: While processing tupleNegate(): While processing (SELECT tupleNegate()) AS vnie: While processing CAST((SELECT tupleNegate()) AS vnie, 'Date'): While processing regexpExtract(CAST((SELECT tupleNegate()) AS vnie, 'Date'), 53284629): While processing first_value_respect_nulls(regexpExtract(CAST((SELECT tupleNegate()) AS vnie, 'Date'), 53284629), 'bqb[Wu'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT first_value_respect_nulls(regexpExtract((CAST((( SELECT tupleNegate() ) AS vnie) AS Date)), 53284629), 'bqb[Wu');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 2024.09.24 01:27:34.888865 [ 22250 ] {4d37ba76-a29d-4cf6-91d6-d2c1e25dc824} TCPHandler: Code: 42. DB::Exception: Number of arguments for function tupleNegate doesn't match: passed 0, should be 1: While processing tupleNegate(): While processing (SELECT tupleNegate()) AS vnie: While processing CAST((SELECT tupleNegate()) AS vnie, 'Date'): While processing regexpExtract(CAST((SELECT tupleNegate()) AS vnie, 'Date'), 53284629): While processing first_value_respect_nulls(regexpExtract(CAST((SELECT tupleNegate()) AS vnie, 'Date'), 53284629), 'bqb[Wu'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 2024.09.24 01:27:34.897501 [ 22250 ] {ce838dd9-d11c-4103-8aff-d12094ea5061} executeQuery: Code: 42. DB::Exception: Table function 'merge' requires exactly 2 arguments - name of source database and regexp for table names. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM merge();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [106]) @ 0x000000001a942c9e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMerge.cpp:71: DB::TableFunctionMerge::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a941138 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:34.898906 [ 22250 ] {ce838dd9-d11c-4103-8aff-d12094ea5061} TCPHandler: Code: 42. DB::Exception: Table function 'merge' requires exactly 2 arguments - name of source database and regexp for table names. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [106]) @ 0x000000001a942c9e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMerge.cpp:71: DB::TableFunctionMerge::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a941138 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:34.901336 [ 8835 ] {2e52c169-fa4c-4a19-9f0e-7e6264fed4ff} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:34.932107 [ 22250 ] {65ee2dc5-7718-4226-88f4-90eb842e6a32} executeQuery: Code: 42. DB::Exception: Table function 'remote' requires from 1 to 6 parameters: [, , ] [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM remote();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b200fea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x000000001a94f169 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:118: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a94ab5d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:34.933792 [ 22250 ] {65ee2dc5-7718-4226-88f4-90eb842e6a32} TCPHandler: Code: 42. DB::Exception: Table function 'remote' requires from 1 to 6 parameters: [, , ] [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b200fea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x000000001a94f169 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:118: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a94ab5d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:34.941134 [ 22250 ] {8a809995-86ff-4707-8e0d-fcd8486ec19b} executeQuery: Code: 42. DB::Exception: Storage Azure requires 3 to 7 arguments: AzureBlobStorage(connection_string|storage_account_url, container_name, blobpath, [account_name, account_key, format, compression, structure]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM azureBlobStorage();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [184]) @ 0x000000001a9e60fe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:66: DB::TableFunctionAzureBlobStorage::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9e278a in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:174: DB::TableFunctionAzureBlobStorage::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9e41c4 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:34.942575 [ 8835 ] {2e6b4d54-5339-4a92-9cca-942112f46e00} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:34.943056 [ 22250 ] {8a809995-86ff-4707-8e0d-fcd8486ec19b} TCPHandler: Code: 42. DB::Exception: Storage Azure requires 3 to 7 arguments: AzureBlobStorage(connection_string|storage_account_url, container_name, blobpath, [account_name, account_key, format, compression, structure]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [184]) @ 0x000000001a9e60fe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:66: DB::TableFunctionAzureBlobStorage::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9e278a in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:174: DB::TableFunctionAzureBlobStorage::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9e41c4 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:35.031613 [ 8835 ] {9b1272a2-1dd1-4505-8d5c-6ffa7f7fe1b4} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:35.094060 [ 22250 ] {34319477-067c-4cf8-a2b6-284725131215} executeQuery: Code: 36. DB::Exception: Argument 'url' must be a literal with type String, got Float64. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hudi(6660109.628, '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000011950228 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da4a3e8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da4a0dd in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionS3.cpp:160: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a999065 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a999d04 in /usr/bin/clickhouse 10. /build/src/TableFunctions/ITableFunctionDataLake.h:61: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9ad91f in /usr/bin/clickhouse 11. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 12. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 13. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:35.095557 [ 22250 ] {34319477-067c-4cf8-a2b6-284725131215} TCPHandler: Code: 36. DB::Exception: Argument 'url' must be a literal with type String, got Float64. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000011950228 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da4a3e8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da4a0dd in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionS3.cpp:160: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a999065 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a999d04 in /usr/bin/clickhouse 10. /build/src/TableFunctions/ITableFunctionDataLake.h:61: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9ad91f in /usr/bin/clickhouse 11. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 12. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 13. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:35.158826 [ 8835 ] {a59831f4-2222-47cd-b549-d1080ec95dfa} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:35.232050 [ 22250 ] {b0595682-0608-403d-8f45-f557133bd613} executeQuery: Code: 43. DB::Exception: Illegal type Float64 of argument of function simpleJSONHas: While processing [visitParamHas('', 59990796.7)], []. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST(('F') AS String)), quantilesTiming([visitParamHas('', 59990796.7)], []);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringSearch.h:115: DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000012822384 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:502: DB::ExpressionAnalyzer::getRootActionsNoMakeSet(std::shared_ptr const&, std::shared_ptr&, bool) @ 0x000000001bfabf82 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:557: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac456 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 2024.09.24 01:27:35.234115 [ 22250 ] {b0595682-0608-403d-8f45-f557133bd613} TCPHandler: Code: 43. DB::Exception: Illegal type Float64 of argument of function simpleJSONHas: While processing [visitParamHas('', 59990796.7)], []. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringSearch.h:115: DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000012822384 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:502: DB::ExpressionAnalyzer::getRootActionsNoMakeSet(std::shared_ptr const&, std::shared_ptr&, bool) @ 0x000000001bfabf82 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:557: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac456 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 2024.09.24 01:27:35.267613 [ 8835 ] {c7e04171-444f-4421-8424-1f22ba6ce861} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:35.362800 [ 8835 ] {dab3a813-3bdb-4f40-bf8f-d7076604722e} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:35.379062 [ 22250 ] {1a09a61e-b023-4fba-bebc-7a1bed15c7de} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function firstSignificantSubdomain: While processing firstSignificantSubdomain([]). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT firstSignificantSubdomain([]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionStringToString.h:54: DB::FunctionStringToString>, DB::NameFirstSignificantSubdomain, false>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001286d291 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:27:35.380850 [ 22250 ] {1a09a61e-b023-4fba-bebc-7a1bed15c7de} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function firstSignificantSubdomain: While processing firstSignificantSubdomain([]). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionStringToString.h:54: DB::FunctionStringToString>, DB::NameFirstSignificantSubdomain, false>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001286d291 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:27:35.500760 [ 8835 ] {b3dc3fa3-a21c-4acf-bb04-b5568f027604} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:35.534707 [ 22250 ] {e55ff6e0-8c04-42ac-808f-1e9ff32d70a9} executeQuery: Code: 36. DB::Exception: Argument 'url' must be a literal with type String, got Null. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM gcs(NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000011950228 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da4a3e8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da4a0dd in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionS3.cpp:160: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a999065 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a999d04 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:35.536297 [ 22250 ] {e55ff6e0-8c04-42ac-808f-1e9ff32d70a9} TCPHandler: Code: 36. DB::Exception: Argument 'url' must be a literal with type String, got Null. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000011950228 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da4a3e8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da4a0dd in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionS3.cpp:160: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a999065 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a999d04 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:35.602641 [ 8835 ] {bc47ca9f-e5d1-4cce-b3a8-da019fe7289a} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:35.728759 [ 22250 ] {67da485e-27b6-464f-aefc-93961cd6d5bb} executeQuery: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: While processing shardNum(CAST(NULL, 'DateTime')). (CANNOT_CONVERT_TYPE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT shardNum((CAST((NULL) AS DateTime)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [43]) @ 0x000000000b1fb6be in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3831: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000b78efa3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2875: DB::FunctionCast::prepare(std::vector> const&) const @ 0x000000000b78ea5c in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:272: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85a09 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:27:35.730864 [ 22250 ] {67da485e-27b6-464f-aefc-93961cd6d5bb} TCPHandler: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: While processing shardNum(CAST(NULL, 'DateTime')). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [43]) @ 0x000000000b1fb6be in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3831: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000b78efa3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2875: DB::FunctionCast::prepare(std::vector> const&) const @ 0x000000000b78ea5c in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:272: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85a09 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:27:35.745026 [ 8835 ] {5c277d63-9cc8-49c2-94b2-24d5095ea485} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:35.849716 [ 8835 ] {f8b97547-f061-4cf8-8bd0-40c50b38eac3} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:35.874124 [ 22250 ] {2fe8f476-3626-444f-8298-d1a5711b31d0} executeQuery: Code: 42. DB::Exception: Table function 'odbc' requires 2 or 3 arguments: odbc('DSN', table) or odbc('DSN', schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM odbc('\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:36: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9c0e08 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:35.875552 [ 22250 ] {2fe8f476-3626-444f-8298-d1a5711b31d0} TCPHandler: Code: 42. DB::Exception: Table function 'odbc' requires 2 or 3 arguments: odbc('DSN', table) or odbc('DSN', schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:36: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9c0e08 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:35.884408 [ 22250 ] {be1ad5a4-14a8-4788-a6d8-696c6250d58b} executeQuery: Code: 63. DB::Exception: Aggregate function sequenceNextNode is experimental. Set `allow_experimental_funnel_functions` setting to enable it. (UNKNOWN_AGGREGATE_FUNCTION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT sequenceNextNode();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSequenceNextNode.cpp:45: DB::(anonymous namespace)::createAggregateFunctionSequenceNode(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000017829d02 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:27:35.886308 [ 22250 ] {be1ad5a4-14a8-4788-a6d8-696c6250d58b} TCPHandler: Code: 63. DB::Exception: Aggregate function sequenceNextNode is experimental. Set `allow_experimental_funnel_functions` setting to enable it. (UNKNOWN_AGGREGATE_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSequenceNextNode.cpp:45: DB::(anonymous namespace)::createAggregateFunctionSequenceNode(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000017829d02 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:27:35.951190 [ 8835 ] {4e86823b-132e-431c-83bf-599a92b02a39} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:35.998001 [ 813 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:27:36.066483 [ 22250 ] {8571e213-eeba-44d6-8949-94253eada9fc} executeQuery: Code: 42. DB::Exception: Table function 'zeros_mt' requires 'length'.: While processing (SELECT * FROM zeros_mt('', 'T=6?j?')) AS ijjv: While processing covarPopStable(NULL, (SELECT * FROM zeros_mt('', 'T=6?j?')) AS ijjv): While processing toBool('\0', covarPopStable(NULL, (SELECT * FROM zeros_mt('', 'T=6?j?')) AS ijjv)): While processing [toBool('\0', covarPopStable(NULL, (SELECT * FROM zeros_mt('', 'T=6?j?')) AS ijjv))]: While processing (SELECT [toBool('\0', covarPopStable(NULL, (SELECT * FROM zeros_mt('', 'T=6?j?')) AS ijjv))], CAST(multiSearchFirstPositionCaseInsensitiveUTF8(), 'DateTime'), 'TC2%H') AS _subquery761: While processing polygonsDistanceCartesian((SELECT [toBool('\0', covarPopStable(NULL, (SELECT * FROM zeros_mt('', 'T=6?j?')) AS ijjv))], CAST(multiSearchFirstPositionCaseInsensitiveUTF8(), 'DateTime'), 'TC2%H') AS _subquery761, NULL): While processing bitmapOrCardinality(polygonsDistanceCartesian((SELECT [toBool('\0', covarPopStable(NULL, (SELECT * FROM zeros_mt('', 'T=6?j?')) AS ijjv))], CAST(multiSearchFirstPositionCaseInsensitiveUTF8(), 'DateTime'), 'TC2%H') AS _subquery761, NULL), NULL): While processing (SELECT bitmapOrCardinality(polygonsDistanceCartesian((SELECT [toBool('\0', covarPopStable(NULL, (SELECT * FROM zeros_mt('', 'T=6?j?')) AS ijjv))], CAST(multiSearchFirstPositionCaseInsensitiveUTF8(), 'DateTime'), 'TC2%H'), NULL), NULL)) AS ndrixfs. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT ( SELECT bitmapOrCardinality(polygonsDistanceCartesian(( SELECT [toBool('\0', covarPopStable(NULL, ( SELECT * FROM zeros_mt('', 'T=6?j?') ) AS ijjv))], (CAST((multiSearchFirstPositionCaseInsensitiveUTF8()) AS DateTime)), 'TC2%H' ) , NULL), NULL) ) AS ndrixfs, ( SELECT * FROM azureBlobStorageCluster((CAST((6501998) AS String)), JSONExtract([], 'lWG6c')) ) AS eerlgtv, NULL;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionZeros.cpp:37: DB::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a96ecc8 in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8dec5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9173d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f0b7 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 2024.09.24 01:27:36.068819 [ 22250 ] {8571e213-eeba-44d6-8949-94253eada9fc} TCPHandler: Code: 42. DB::Exception: Table function 'zeros_mt' requires 'length'.: While processing (SELECT * FROM zeros_mt('', 'T=6?j?')) AS ijjv: While processing covarPopStable(NULL, (SELECT * FROM zeros_mt('', 'T=6?j?')) AS ijjv): While processing toBool('\0', covarPopStable(NULL, (SELECT * FROM zeros_mt('', 'T=6?j?')) AS ijjv)): While processing [toBool('\0', covarPopStable(NULL, (SELECT * FROM zeros_mt('', 'T=6?j?')) AS ijjv))]: While processing (SELECT [toBool('\0', covarPopStable(NULL, (SELECT * FROM zeros_mt('', 'T=6?j?')) AS ijjv))], CAST(multiSearchFirstPositionCaseInsensitiveUTF8(), 'DateTime'), 'TC2%H') AS _subquery761: While processing polygonsDistanceCartesian((SELECT [toBool('\0', covarPopStable(NULL, (SELECT * FROM zeros_mt('', 'T=6?j?')) AS ijjv))], CAST(multiSearchFirstPositionCaseInsensitiveUTF8(), 'DateTime'), 'TC2%H') AS _subquery761, NULL): While processing bitmapOrCardinality(polygonsDistanceCartesian((SELECT [toBool('\0', covarPopStable(NULL, (SELECT * FROM zeros_mt('', 'T=6?j?')) AS ijjv))], CAST(multiSearchFirstPositionCaseInsensitiveUTF8(), 'DateTime'), 'TC2%H') AS _subquery761, NULL), NULL): While processing (SELECT bitmapOrCardinality(polygonsDistanceCartesian((SELECT [toBool('\0', covarPopStable(NULL, (SELECT * FROM zeros_mt('', 'T=6?j?')) AS ijjv))], CAST(multiSearchFirstPositionCaseInsensitiveUTF8(), 'DateTime'), 'TC2%H'), NULL), NULL)) AS ndrixfs. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionZeros.cpp:37: DB::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a96ecc8 in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8dec5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9173d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f0b7 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 2024.09.24 01:27:36.078396 [ 8835 ] {20b4d08c-8694-47d4-9858-d27bac159016} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:36.126564 [ 8835 ] {3faede31-5d0c-48fb-8e03-7fe0e09b37bc} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:36.211628 [ 22250 ] {49a599f8-a3e3-4bc3-a24d-ba0be1cc056a} executeQuery: Code: 42. DB::Exception: Number of arguments for function subtractSeconds doesn't match: passed 0, should be 2 or 3: While processing subtractSeconds(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT subtractSeconds();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b232e2c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:531: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x00000000125cef1f in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:27:36.213771 [ 22250 ] {49a599f8-a3e3-4bc3-a24d-ba0be1cc056a} TCPHandler: Code: 42. DB::Exception: Number of arguments for function subtractSeconds doesn't match: passed 0, should be 2 or 3: While processing subtractSeconds(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b232e2c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:531: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x00000000125cef1f in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:27:36.223763 [ 8835 ] {ebbadd2d-3e60-46c7-a13e-931456c08e09} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:36.240257 [ 22250 ] {a0d9431f-f780-4add-a4ea-e7d92d2b9021} executeQuery: Code: 36. DB::Exception: Hosts pattern must be string literal (in single quotes). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM remote(emptyArrayUInt32(), '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [57]) @ 0x000000000ddb69fe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:151: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a94ae44 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:36.241920 [ 22250 ] {a0d9431f-f780-4add-a4ea-e7d92d2b9021} TCPHandler: Code: 36. DB::Exception: Hosts pattern must be string literal (in single quotes). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [57]) @ 0x000000000ddb69fe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:151: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a94ae44 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:36.367583 [ 8835 ] {b9990545-2350-45f6-a5b6-b7b44d7ff59c} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:36.393766 [ 22250 ] {ec98c6a1-8845-4ad6-b3f8-a64dba0a5db0} executeQuery: Code: 42. DB::Exception: Function tuple requires at least one argument.: While processing NOT tuple(): While processing (SELECT NOT tuple()) AS constant_expression. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM urlCluster(( SELECT not() ) );), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/tuple.h:49: DB::FunctionTuple::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000127a4892 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefe15 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 2024.09.24 01:27:36.395465 [ 22250 ] {ec98c6a1-8845-4ad6-b3f8-a64dba0a5db0} TCPHandler: Code: 42. DB::Exception: Function tuple requires at least one argument.: While processing NOT tuple(): While processing (SELECT NOT tuple()) AS constant_expression. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/tuple.h:49: DB::FunctionTuple::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000127a4892 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefe15 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 2024.09.24 01:27:36.468872 [ 8835 ] {a69a275e-e095-4ab3-9080-bcb42b8ea591} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:36.518146 [ 8835 ] {a7e0b785-741b-4b4b-92df-b3c85fa1815f} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:36.553177 [ 22250 ] {29f9d65b-ab03-46a7-8014-da30aa47b8f9} executeQuery: Code: 42. DB::Exception: Aggregate function simpleLinearRegression requires two arguments: While processing (SELECT CAST([simpleLinearRegression()], 'DateTime'), []) AS _subquery762. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT ( SELECT (CAST(([simpleLinearRegression()]) AS DateTime)), [] ) , (CAST(('') AS Date)), [], (CAST((NULL) AS String));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:33: DB::assertBinary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013dfd7e1 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionSimpleLinearRegression.cpp:27: DB::(anonymous namespace)::createAggregateFunctionSimpleLinearRegression(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000017670c15 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 2024.09.24 01:27:36.555568 [ 22250 ] {29f9d65b-ab03-46a7-8014-da30aa47b8f9} TCPHandler: Code: 42. DB::Exception: Aggregate function simpleLinearRegression requires two arguments: While processing (SELECT CAST([simpleLinearRegression()], 'DateTime'), []) AS _subquery762. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:33: DB::assertBinary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013dfd7e1 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionSimpleLinearRegression.cpp:27: DB::(anonymous namespace)::createAggregateFunctionSimpleLinearRegression(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000017670c15 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 2024.09.24 01:27:36.608051 [ 8835 ] {497acd5e-66c6-4999-bccf-dacadf8e6396} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:36.695735 [ 22250 ] {4dc6cb44-7349-4681-84fe-56175b6eb34d} executeQuery: Code: 42. DB::Exception: Number of arguments for function toDayOfWeek doesn't match: passed 0, expected 1, 2 or 3.: While processing identity(toDayOfWeek(), 2406). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT identity(toDayOfWeek(), 2406);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b232e2c in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionCustomWeek.h:108: DB::IFunctionCustomWeek::checkArguments(std::vector> const&, bool) const @ 0x0000000012643b40 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionCustomWeekToSomething.h:24: DB::FunctionCustomWeekToSomething, DB::ToDayOfWeekImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012641c5f in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 2024.09.24 01:27:36.697441 [ 22250 ] {4dc6cb44-7349-4681-84fe-56175b6eb34d} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toDayOfWeek doesn't match: passed 0, expected 1, 2 or 3.: While processing identity(toDayOfWeek(), 2406). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b232e2c in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionCustomWeek.h:108: DB::IFunctionCustomWeek::checkArguments(std::vector> const&, bool) const @ 0x0000000012643b40 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionCustomWeekToSomething.h:24: DB::FunctionCustomWeekToSomething, DB::ToDayOfWeekImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012641c5f in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 2024.09.24 01:27:36.702119 [ 8835 ] {b7e764b7-56fe-4516-ba9f-25f71d0fe865} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:36.706095 [ 22250 ] {3f8aca0d-ee50-4489-984d-a7e8b35d9a6d} executeQuery: Code: 42. DB::Exception: Number of arguments for function lengthUTF8 doesn't match: passed 0, should be 1: While processing lengthUTF8(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT lengthUTF8();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:27:36.707713 [ 22250 ] {3f8aca0d-ee50-4489-984d-a7e8b35d9a6d} TCPHandler: Code: 42. DB::Exception: Number of arguments for function lengthUTF8 doesn't match: passed 0, should be 1: While processing lengthUTF8(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:27:36.753045 [ 8835 ] {3e77366e-51cd-41db-8d12-825ab38d79c1} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:36.836406 [ 22250 ] {e8f5728a-7c79-4f7a-98db-83f04aa0d0ba} executeQuery: Code: 43. DB::Exception: Illegal type Date of argument of function hasTokenCaseInsensitive: While processing hasTokenCaseInsensitive(CAST(-3.39, 'Date'), ''). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT hasTokenCaseInsensitive((CAST((-3.39) AS Date)), '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringSearch.h:109: DB::FunctionsStringSearch>, false>, (DB::ExecutionErrorPolicy)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000ef2509d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:27:36.838398 [ 22250 ] {e8f5728a-7c79-4f7a-98db-83f04aa0d0ba} TCPHandler: Code: 43. DB::Exception: Illegal type Date of argument of function hasTokenCaseInsensitive: While processing hasTokenCaseInsensitive(CAST(-3.39, 'Date'), ''). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringSearch.h:109: DB::FunctionsStringSearch>, false>, (DB::ExecutionErrorPolicy)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000ef2509d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:27:36.849891 [ 22250 ] {2e801a26-2bcd-418a-94c0-72e470223634} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing CAST('', 'Date'). (CANNOT_PARSE_DATE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM azureBlobStorageCluster((CAST(('') AS Date)), [(CAST(('\0') AS String))]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000f82339e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x000000001398bef5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1087: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x000000001398bb71 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:719: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000b54ea97 in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:743: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54e78a in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:774: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54e745 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1059: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b54e41f in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b54e2ed in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b547c38 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b536239 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b535568 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53475e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b3d70 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3d06 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3ca0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3c40 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b3beb in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 2024.09.24 01:27:36.851612 [ 22250 ] {2e801a26-2bcd-418a-94c0-72e470223634} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing CAST('', 'Date'). (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000f82339e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x000000001398bef5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1087: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x000000001398bb71 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:719: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000b54ea97 in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:743: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54e78a in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:774: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54e745 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1059: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b54e41f in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b54e2ed in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b547c38 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b536239 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b535568 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53475e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b3d70 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3d06 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3ca0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3c40 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b3beb in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 2024.09.24 01:27:36.852559 [ 8835 ] {1d1ab545-4138-4b9a-9d37-fcb2850d8e66} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:36.936973 [ 8835 ] {85ae5026-f3dc-4525-978f-e2e6cbc74983} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:36.980077 [ 8835 ] {d194e91e-2b8c-4d10-8948-efdf95d8c912} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:36.982640 [ 22250 ] {1c6163f4-6647-439b-b1d5-6446e89c7f89} executeQuery: Code: 43. DB::Exception: First argument for function bitmapXorCardinality must be a bitmap but it has type Array(String): While processing protocol(CAST([bitmapXorCardinality([''], -4)], 'String'), 'gp\\pP@'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM cluster(protocol((CAST(([bitmapXorCardinality([''], -4)]) AS String)), 'gp\pP@'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsBitmap.h:959: DB::FunctionBitmapCardinality::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b9bf3d4 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1735: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x000000001bfb93ed in /usr/bin/clickhouse 29. /build/src/Interpreters/evaluateConstantExpression.cpp:77: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08b5eb in /usr/bin/clickhouse 30. /build/src/Interpreters/evaluateConstantExpression.cpp:117: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08bcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/evaluateConstantExpression.cpp:125: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08be12 in /usr/bin/clickhouse 2024.09.24 01:27:36.984368 [ 22250 ] {1c6163f4-6647-439b-b1d5-6446e89c7f89} TCPHandler: Code: 43. DB::Exception: First argument for function bitmapXorCardinality must be a bitmap but it has type Array(String): While processing protocol(CAST([bitmapXorCardinality([''], -4)], 'String'), 'gp\\pP@'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsBitmap.h:959: DB::FunctionBitmapCardinality::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b9bf3d4 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1735: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x000000001bfb93ed in /usr/bin/clickhouse 29. /build/src/Interpreters/evaluateConstantExpression.cpp:77: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08b5eb in /usr/bin/clickhouse 30. /build/src/Interpreters/evaluateConstantExpression.cpp:117: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08bcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/evaluateConstantExpression.cpp:125: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08be12 in /usr/bin/clickhouse 2024.09.24 01:27:37.075818 [ 8835 ] {1dd5eb78-ff01-49ce-9513-e36817155f03} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:37.118641 [ 22250 ] {2669214c-c76a-4006-9f9e-fdfe9fa7f580} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function windowID. Should be a date with time: While processing 4.022117, '\0', ' 33d`s?Z', windowID([], '\0'), ['6Tnm)']. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT 4.022117, '\0', ' 33d`s?Z', windowID([], '\0'), ['6Tnm)'];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f7bec in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsTimeWindow.cpp:67: DB::(anonymous namespace)::checkFirstArgument(DB::ColumnWithTypeAndName const&, String const&) @ 0x000000000c3bafcb in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsTimeWindow.cpp:440: DB::TimeWindowImpl<(DB::TimeWindowFunctionName)6>::getReturnType(std::vector> const&, String const&) @ 0x000000000c3cb963 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsTimeWindow.cpp:661: DB::FunctionTimeWindow<(DB::TimeWindowFunctionName)6>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c3c9ed9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 2024.09.24 01:27:37.120677 [ 22250 ] {2669214c-c76a-4006-9f9e-fdfe9fa7f580} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function windowID. Should be a date with time: While processing 4.022117, '\0', ' 33d`s?Z', windowID([], '\0'), ['6Tnm)']. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f7bec in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsTimeWindow.cpp:67: DB::(anonymous namespace)::checkFirstArgument(DB::ColumnWithTypeAndName const&, String const&) @ 0x000000000c3bafcb in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsTimeWindow.cpp:440: DB::TimeWindowImpl<(DB::TimeWindowFunctionName)6>::getReturnType(std::vector> const&, String const&) @ 0x000000000c3cb963 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsTimeWindow.cpp:661: DB::FunctionTimeWindow<(DB::TimeWindowFunctionName)6>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c3c9ed9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 2024.09.24 01:27:37.221795 [ 8835 ] {44172145-4a11-4267-afd8-d254e88a8860} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:37.295848 [ 22250 ] {2c691e62-bf42-463d-96eb-34bc5738cefa} executeQuery: Code: 42. DB::Exception: Table function 'executable' requires minimum 3 arguments: script_name, format, structure, [input_query...]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM executable();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExecutable.cpp:62: DB::TableFunctionExecutable::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a971c48 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:37.298396 [ 22250 ] {2c691e62-bf42-463d-96eb-34bc5738cefa} TCPHandler: Code: 42. DB::Exception: Table function 'executable' requires minimum 3 arguments: script_name, format, structure, [input_query...]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExecutable.cpp:62: DB::TableFunctionExecutable::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a971c48 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:37.311098 [ 22250 ] {f5799604-086c-4e35-bd48-efa52f7167fb} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing CAST('\0', 'Date'). (CANNOT_PARSE_DATE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM iceberg([''], (CAST(('\0') AS Date)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000f82339e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x000000001398bef5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1087: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x000000001398bb71 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:719: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000b54ea97 in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:743: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54e78a in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:774: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54e745 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1059: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b54e41f in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b54e2ed in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b547c38 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b536239 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b535568 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53475e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b3d70 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3d06 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3ca0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3c40 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b3beb in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 2024.09.24 01:27:37.313784 [ 22250 ] {f5799604-086c-4e35-bd48-efa52f7167fb} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing CAST('\0', 'Date'). (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000f82339e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x000000001398bef5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1087: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x000000001398bb71 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:719: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000b54ea97 in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:743: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54e78a in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:774: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54e745 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1059: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b54e41f in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b54e2ed in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b547c38 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b536239 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b535568 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53475e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b3d70 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3d06 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3ca0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3c40 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b3beb in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 2024.09.24 01:27:37.343647 [ 8835 ] {ec7b5f1a-1758-4f31-8256-b8a3c04e8c15} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:37.435759 [ 8835 ] {e162dbe3-5fe5-4ed1-b6aa-52af02ad6b91} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:37.484186 [ 22250 ] {1199ed7a-856d-4b63-82bf-3c4aae7bd041} executeQuery: Code: 36. DB::Exception: Table function 'viewExplain' requires a String argument for EXPLAIN kind, got '[]'. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM viewExplain([], NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExplain.cpp:52: DB::TableFunctionExplain::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9ddc75 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:37.486551 [ 22250 ] {1199ed7a-856d-4b63-82bf-3c4aae7bd041} TCPHandler: Code: 36. DB::Exception: Table function 'viewExplain' requires a String argument for EXPLAIN kind, got '[]'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExplain.cpp:52: DB::TableFunctionExplain::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9ddc75 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:37.549974 [ 8835 ] {b9e1b86e-0eff-45bc-8385-37fb8305ecb9} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:37.600316 [ 8835 ] {aea9a292-a75a-4c4c-b795-a89c8413e37a} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:37.695211 [ 8835 ] {76544cd1-5e29-41d5-a832-d74231c4e59c} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:37.699391 [ 22250 ] {40245be1-a659-452a-8e20-6c9a6521563c} executeQuery: Poco::Exception. Code: 1000, e.code() = 0, Bad URI syntax: URI contains invalid characters (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM url('\0', 'h.');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(String const&, int) @ 0x00000000249623a7 in /usr/bin/clickhouse 4. /build/base/poco/Foundation/src/Exception.cpp:158: Poco::DataException::DataException(String const&, int) @ 0x00000000249652c7 in /usr/bin/clickhouse 5. /build/base/poco/Foundation/src/Exception.cpp:161: Poco::SyntaxException::SyntaxException(String const&, int) @ 0x0000000024965a07 in /usr/bin/clickhouse 6. /build/base/poco/Foundation/src/Exception.cpp:179: Poco::URISyntaxException::URISyntaxException(String const&, int) @ 0x0000000024969b47 in /usr/bin/clickhouse 7. /build/base/poco/Foundation/src/URI.cpp:743: Poco::URI::parse(String const&)::$_0::operator()(char) const @ 0x00000000249e8742 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__algorithm/for_each.h:25: Poco::URI::parse(String const&)::$_0 std::for_each[abi:v15000], Poco::URI::parse(String const&)::$_0>(std::__wrap_iter, std::__wrap_iter, Poco::URI::parse(String const&)::$_0) @ 0x00000000249e7ee2 in /usr/bin/clickhouse 9. /build/base/poco/Foundation/src/URI.cpp:746: Poco::URI::parse(String const&) @ 0x00000000249e3ca5 in /usr/bin/clickhouse 10. /build/base/poco/Foundation/src/URI.cpp:42: Poco::URI::URI(String const&, bool) @ 0x00000000249e3bf7 in /usr/bin/clickhouse 11. /build/src/Storages/StorageURL.cpp:115: DB::IStorageURLBase::IStorageURLBase(String const&, std::shared_ptr, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000001d9ffa44 in /usr/bin/clickhouse 12. /build/src/Storages/StorageURL.cpp:1119: DB::StorageURL::StorageURL(String const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000001da05acc in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageURL* std::construct_at[abi:v15000]&, String const&, std::vector> const&, String const&, DB::StorageURL*>(DB::StorageURL*, String const&, DB::StorageID&&, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&, std::vector> const&, String const&) @ 0x000000001a980443 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String const&, std::vector> const&, String const&, void, void>(std::allocator&, DB::StorageURL*, String const&, DB::StorageID&&, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&, std::vector> const&, String const&) @ 0x000000001a9800f3 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String const&, std::vector> const&, String const&>(std::allocator, String const&, DB::StorageID&&, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&, std::vector> const&, String const&) @ 0x000000001a97fd5f in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageID, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription, String, std::shared_ptr&, String const&, std::vector> const&, String const&, void>(std::allocator const&, String const&, DB::StorageID&&, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&, std::vector> const&, String const&) @ 0x000000001a97fb51 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String const&, std::vector> const&, String const&, void>(String const&, DB::StorageID&&, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&, std::vector> const&, String const&) @ 0x000000001a97f29a in /usr/bin/clickhouse 18. /build/src/TableFunctions/TableFunctionURL.cpp:107: DB::TableFunctionURL::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x000000001a97e9ec in /usr/bin/clickhouse 19. /build/src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a97d1c7 in /usr/bin/clickhouse 20. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 21. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 22. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 2024.09.24 01:27:37.702269 [ 22250 ] {40245be1-a659-452a-8e20-6c9a6521563c} TCPHandler: Code: 1000. DB::Exception: Bad URI syntax: URI contains invalid characters. (POCO_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(String const&, int) @ 0x00000000249623a7 in /usr/bin/clickhouse 4. /build/base/poco/Foundation/src/Exception.cpp:158: Poco::DataException::DataException(String const&, int) @ 0x00000000249652c7 in /usr/bin/clickhouse 5. /build/base/poco/Foundation/src/Exception.cpp:161: Poco::SyntaxException::SyntaxException(String const&, int) @ 0x0000000024965a07 in /usr/bin/clickhouse 6. /build/base/poco/Foundation/src/Exception.cpp:179: Poco::URISyntaxException::URISyntaxException(String const&, int) @ 0x0000000024969b47 in /usr/bin/clickhouse 7. /build/base/poco/Foundation/src/URI.cpp:743: Poco::URI::parse(String const&)::$_0::operator()(char) const @ 0x00000000249e8742 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__algorithm/for_each.h:25: Poco::URI::parse(String const&)::$_0 std::for_each[abi:v15000], Poco::URI::parse(String const&)::$_0>(std::__wrap_iter, std::__wrap_iter, Poco::URI::parse(String const&)::$_0) @ 0x00000000249e7ee2 in /usr/bin/clickhouse 9. /build/base/poco/Foundation/src/URI.cpp:746: Poco::URI::parse(String const&) @ 0x00000000249e3ca5 in /usr/bin/clickhouse 10. /build/base/poco/Foundation/src/URI.cpp:42: Poco::URI::URI(String const&, bool) @ 0x00000000249e3bf7 in /usr/bin/clickhouse 11. /build/src/Storages/StorageURL.cpp:115: DB::IStorageURLBase::IStorageURLBase(String const&, std::shared_ptr, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000001d9ffa44 in /usr/bin/clickhouse 12. /build/src/Storages/StorageURL.cpp:1119: DB::StorageURL::StorageURL(String const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000001da05acc in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageURL* std::construct_at[abi:v15000]&, String const&, std::vector> const&, String const&, DB::StorageURL*>(DB::StorageURL*, String const&, DB::StorageID&&, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&, std::vector> const&, String const&) @ 0x000000001a980443 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String const&, std::vector> const&, String const&, void, void>(std::allocator&, DB::StorageURL*, String const&, DB::StorageID&&, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&, std::vector> const&, String const&) @ 0x000000001a9800f3 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String const&, std::vector> const&, String const&>(std::allocator, String const&, DB::StorageID&&, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&, std::vector> const&, String const&) @ 0x000000001a97fd5f in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageID, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription, String, std::shared_ptr&, String const&, std::vector> const&, String const&, void>(std::allocator const&, String const&, DB::StorageID&&, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&, std::vector> const&, String const&) @ 0x000000001a97fb51 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String const&, std::vector> const&, String const&, void>(String const&, DB::StorageID&&, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&, std::vector> const&, String const&) @ 0x000000001a97f29a in /usr/bin/clickhouse 18. /build/src/TableFunctions/TableFunctionURL.cpp:107: DB::TableFunctionURL::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x000000001a97e9ec in /usr/bin/clickhouse 19. /build/src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a97d1c7 in /usr/bin/clickhouse 20. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 21. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 22. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 2024.09.24 01:27:37.793631 [ 8835 ] {a175f470-d496-482f-b1a6-0621ec592dde} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:37.840266 [ 8835 ] {31bf1076-33ea-4073-8b99-557d3faeae7f} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:37.864422 [ 22250 ] {d7d3d3b3-db32-4d01-9020-39b1d897f4f6} executeQuery: Code: 43. DB::Exception: First argument of function 'arrayPartialShuffle' must be array: While processing arrayPartialShuffle('', '6db<-x>'): While processing (SELECT arrayPartialShuffle('', '6db<-x>')) AS _subquery763. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '\0', ( SELECT arrayPartialShuffle('', '6db<-x>') ) , NULL, '\0';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayShuffle.cpp:86: DB::FunctionArrayShuffleImpl::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000132d2447 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:27:37.867376 [ 22250 ] {d7d3d3b3-db32-4d01-9020-39b1d897f4f6} TCPHandler: Code: 43. DB::Exception: First argument of function 'arrayPartialShuffle' must be array: While processing arrayPartialShuffle('', '6db<-x>'): While processing (SELECT arrayPartialShuffle('', '6db<-x>')) AS _subquery763. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayShuffle.cpp:86: DB::FunctionArrayShuffleImpl::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000132d2447 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:27:37.927150 [ 8835 ] {2919e036-9166-4bef-b38c-bd7e0070d763} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:38.023502 [ 22250 ] {4779d334-ef15-4718-830f-775a6a202167} executeQuery: Code: 42. DB::Exception: Table function 'zeros_mt' requires 'length'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM zeros_mt();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionZeros.cpp:37: DB::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a96ecc8 in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:38.025996 [ 22250 ] {4779d334-ef15-4718-830f-775a6a202167} TCPHandler: Code: 42. DB::Exception: Table function 'zeros_mt' requires 'length'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionZeros.cpp:37: DB::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a96ecc8 in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:38.037222 [ 22250 ] {59a1ad8b-f936-4118-90fa-5765e90f94d8} executeQuery: Code: 42. DB::Exception: Number of arguments for function widthBucket doesn't match: passed 1, should be 4: While processing widthBucket([-455598]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT width_bucket([-455598]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:27:38.039534 [ 22250 ] {59a1ad8b-f936-4118-90fa-5765e90f94d8} TCPHandler: Code: 42. DB::Exception: Number of arguments for function widthBucket doesn't match: passed 1, should be 4: While processing widthBucket([-455598]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:27:38.061701 [ 8835 ] {cd51941c-3479-4d22-9fcc-242f30d62dcb} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:38.201212 [ 8835 ] {e65e95c8-d0f1-4010-8990-26a786173dc5} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:38.229582 [ 22250 ] {33bf7c41-a2b0-4217-ad87-449944a4d4db} executeQuery: Code: 36. DB::Exception: Bad arguments count when creating Redis table function. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM redis(NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [55]) @ 0x000000000c15ae3e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRedis.cpp:56: DB::TableFunctionRedis::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a991b7d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:38.231173 [ 22250 ] {33bf7c41-a2b0-4217-ad87-449944a4d4db} TCPHandler: Code: 36. DB::Exception: Bad arguments count when creating Redis table function. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [55]) @ 0x000000000c15ae3e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRedis.cpp:56: DB::TableFunctionRedis::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a991b7d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:38.298181 [ 8835 ] {90586c33-275f-4928-b4d3-4a1c58cc5186} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:38.381303 [ 22250 ] {af985a16-0dc8-4ff8-a29f-aa02e7cd882e} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function toDateTime64OrDefault provided 1 (Nullable(Nothing)), expected 2 to 4 ('Value' : , 'scale' : const Integer, ['timezone' : const String, 'default_value' : ]): While processing toDateTime64OrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toDateTime64OrDefault(NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001abfde7d in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abfbdc5 in /usr/bin/clickhouse 7. /build/src/Functions/castOrDefault.cpp:220: DB::FunctionCastOrDefaultTyped::getReturnTypeImpl(std::vector> const&) const @ 0x000000000d8f576c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:27:38.383159 [ 22250 ] {af985a16-0dc8-4ff8-a29f-aa02e7cd882e} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function toDateTime64OrDefault provided 1 (Nullable(Nothing)), expected 2 to 4 ('Value' : , 'scale' : const Integer, ['timezone' : const String, 'default_value' : ]): While processing toDateTime64OrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001abfde7d in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abfbdc5 in /usr/bin/clickhouse 7. /build/src/Functions/castOrDefault.cpp:220: DB::FunctionCastOrDefaultTyped::getReturnTypeImpl(std::vector> const&) const @ 0x000000000d8f576c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:27:38.442150 [ 8835 ] {490a4e5e-7016-4884-8940-b96ed9351773} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:38.540647 [ 22250 ] {8aeff83f-63ff-4b8d-a279-08572662a3b0} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument for aggregate function sumKahan: While processing (SELECT sumKahan([])) AS dal: While processing mapSort((SELECT sumKahan([])) AS dal, (SELECT * FROM s3()) AS _subquery764). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT mapSort(( SELECT sumKahan([]) ) AS dal, ( SELECT * FROM s3() ) );), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f7bec in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSum.cpp:66: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionSum(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000015dc3f47 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 28. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 2024.09.24 01:27:38.543200 [ 22250 ] {8aeff83f-63ff-4b8d-a279-08572662a3b0} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument for aggregate function sumKahan: While processing (SELECT sumKahan([])) AS dal: While processing mapSort((SELECT sumKahan([])) AS dal, (SELECT * FROM s3()) AS _subquery764). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f7bec in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSum.cpp:66: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionSum(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000015dc3f47 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 28. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 2024.09.24 01:27:38.553210 [ 22250 ] {51cb2839-7272-4953-ab88-3c23c987e4ee} executeQuery: Code: 42. DB::Exception: Number of arguments for function globalNotInIgnoreSet doesn't match: passed 1, should be 2: While processing globalNotInIgnoreSet('k'), 63252742, [NULL]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT globalNotInIgnoreSet('k'), 63252742, [NULL];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:27:38.554875 [ 22250 ] {51cb2839-7272-4953-ab88-3c23c987e4ee} TCPHandler: Code: 42. DB::Exception: Number of arguments for function globalNotInIgnoreSet doesn't match: passed 1, should be 2: While processing globalNotInIgnoreSet('k'), 63252742, [NULL]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:27:38.580396 [ 22250 ] {357da42c-0ccb-40c2-a313-4a13030692db} executeQuery: Code: 41. DB::ParsingException: Cannot parse datetime: Cannot parse DateTime from String: While processing normalizedQueryHash(CAST('', 'DateTime')). (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT normalizedQueryHash((CAST(('') AS DateTime)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x000000000b265ab7 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1218: void DB::readDateTimeTextFallback(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000001398cbf6 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:966: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b59d0d6 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:1047: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b59cda5 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1077: void DB::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b59ccd4 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b59cbbb in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b5971f8 in /usr/bin/clickhouse 12. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b586e59 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b586188 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b58537e in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b3d70 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3d06 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3ca0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3c40 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b3beb in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 27. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 2024.09.24 01:27:38.582627 [ 22250 ] {357da42c-0ccb-40c2-a313-4a13030692db} TCPHandler: Code: 41. DB::ParsingException: Cannot parse datetime: Cannot parse DateTime from String: While processing normalizedQueryHash(CAST('', 'DateTime')). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x000000000b265ab7 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1218: void DB::readDateTimeTextFallback(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000001398cbf6 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:966: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b59d0d6 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:1047: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b59cda5 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1077: void DB::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b59ccd4 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b59cbbb in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b5971f8 in /usr/bin/clickhouse 12. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b586e59 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b586188 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b58537e in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b3d70 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3d06 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3ca0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3c40 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b3beb in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 27. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 2024.09.24 01:27:38.593142 [ 8835 ] {4f442071-e904-4118-b1e1-05c7b8350078} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:38.688717 [ 8835 ] {7dfeedb1-ca23-4a17-a5dd-68db879ffefb} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:38.767926 [ 22250 ] {3e5f426e-3032-4789-837a-e6ee76d27b92} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument for aggregate function quantilesTDigest. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT quantilesTDigest([]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f7bec in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionQuantileTDigest.cpp:42: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014c8497b in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:27:38.770218 [ 22250 ] {3e5f426e-3032-4789-837a-e6ee76d27b92} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument for aggregate function quantilesTDigest. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f7bec in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionQuantileTDigest.cpp:42: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014c8497b in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:27:38.790977 [ 8835 ] {31c8febd-0dda-426c-a592-386481a30ea3} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:38.840438 [ 8835 ] {c4423221-38d7-4ef1-ba3a-89d755f9dd9e} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:38.921919 [ 8835 ] {359ec0e1-7355-414c-bd83-c71a16a4b507} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:38.960724 [ 22250 ] {af3a5599-f336-49e7-96db-00a466304d55} executeQuery: Code: 42. DB::Exception: Storage PostgreSQL requires from 5 to 7 parameters: PostgreSQL('host:port', 'database', 'table', 'username', 'password' [, 'schema', 'ON CONFLICT ...']. Got: 2. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM postgresql('\0', [])), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000d91e133 in /usr/bin/clickhouse 6. /build/src/Storages/StoragePostgreSQL.cpp:499: DB::StoragePostgreSQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x000000001d7db0c0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:53: DB::TableFunctionPostgreSQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9cf7f6 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:38.962457 [ 22250 ] {af3a5599-f336-49e7-96db-00a466304d55} TCPHandler: Code: 42. DB::Exception: Storage PostgreSQL requires from 5 to 7 parameters: PostgreSQL('host:port', 'database', 'table', 'username', 'password' [, 'schema', 'ON CONFLICT ...']. Got: 2. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000d91e133 in /usr/bin/clickhouse 6. /build/src/Storages/StoragePostgreSQL.cpp:499: DB::StoragePostgreSQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x000000001d7db0c0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:53: DB::TableFunctionPostgreSQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9cf7f6 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:39.049439 [ 8835 ] {baff0e05-be64-4f8d-b1d5-085a95cf4880} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:39.123593 [ 22250 ] {fec7784b-ed0e-4325-a151-1c087c221795} executeQuery: Code: 42. DB::Exception: Wrong argument count for function dictGetOrDefault: While processing dictGetDateOrDefault(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT dictGetDateOrDefault();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsExternalDictionaries.h:346: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)1>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc66eb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsExternalDictionaries.h:736: DB::FunctionDictGetImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc8f8e8 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 2024.09.24 01:27:39.126254 [ 22250 ] {fec7784b-ed0e-4325-a151-1c087c221795} TCPHandler: Code: 42. DB::Exception: Wrong argument count for function dictGetOrDefault: While processing dictGetDateOrDefault(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsExternalDictionaries.h:346: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)1>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc66eb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsExternalDictionaries.h:736: DB::FunctionDictGetImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc8f8e8 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 2024.09.24 01:27:39.137187 [ 8835 ] {1eec56fe-2520-40e4-aeb7-23a2aaf50275} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:39.273971 [ 8835 ] {1e15fdf6-0a81-4f62-becc-92cae6a109c0} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:39.303974 [ 22250 ] {ffe181a6-c453-4e5b-b32b-6fd9fc1afc51} executeQuery: Code: 42. DB::Exception: Table function 'format' requires 2 or 3 arguments: format, [structure], data. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM format();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFormat.cpp:44: DB::TableFunctionFormat::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9d7baa in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:39.306240 [ 22250 ] {ffe181a6-c453-4e5b-b32b-6fd9fc1afc51} TCPHandler: Code: 42. DB::Exception: Table function 'format' requires 2 or 3 arguments: format, [structure], data. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFormat.cpp:44: DB::TableFunctionFormat::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9d7baa in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:39.363703 [ 8835 ] {ab9856dc-a7c9-43ef-b07b-169f411c11a6} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:39.464200 [ 8835 ] {1a4c2a86-16b6-42dd-b6b3-38ba007345df} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:39.470101 [ 1123 ] {ebb1bf48-9c37-4562-a5a3-04564077c9e6} executeQuery: Code: 43. DB::Exception: Illegal type String of second argument of function timeSlots. Must be UInt32 when first argument is DateTime.: While processing timeSlots(toDateTime('2000-01-02 03:04:05', 'UTC'), 'wrong argument'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:44136) (comment: 00734_timeslot.sql) (in query: SELECT timeSlots(toDateTime('2000-01-02 03:04:05', 'UTC'), 'wrong argument');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/timeSlots.cpp:248: DB::(anonymous namespace)::FunctionTimeSlots::getReturnTypeImpl(std::vector> const&) const @ 0x000000001260d8ef in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:27:39.470314 [ 22250 ] {83b7cbed-9b18-406a-9de4-397eb4306197} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing [NULL], CAST('', 'Date'). (CANNOT_PARSE_DATE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT normalizeL2(argMax([NULL], (CAST(('') AS Date))), demangle([], []));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000f82339e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x000000001398bef5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1087: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x000000001398bb71 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:719: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000b54ea97 in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:743: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54e78a in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:774: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54e745 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1059: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b54e41f in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b54e2ed in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b547c38 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b536239 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b535568 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53475e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b3d70 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3d06 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3ca0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3c40 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b3beb in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 2024.09.24 01:27:39.471108 [ 1123 ] {ebb1bf48-9c37-4562-a5a3-04564077c9e6} TCPHandler: Code: 43. DB::Exception: Illegal type String of second argument of function timeSlots. Must be UInt32 when first argument is DateTime.: While processing timeSlots(toDateTime('2000-01-02 03:04:05', 'UTC'), 'wrong argument'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/timeSlots.cpp:248: DB::(anonymous namespace)::FunctionTimeSlots::getReturnTypeImpl(std::vector> const&) const @ 0x000000001260d8ef in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:27:39.472749 [ 22250 ] {83b7cbed-9b18-406a-9de4-397eb4306197} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing [NULL], CAST('', 'Date'). (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000f82339e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x000000001398bef5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1087: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x000000001398bb71 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:719: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000b54ea97 in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:743: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54e78a in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:774: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54e745 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1059: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b54e41f in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b54e2ed in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b547c38 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b536239 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b535568 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53475e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b3d70 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3d06 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3ca0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3c40 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b3beb in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 2024.09.24 01:27:39.589078 [ 8835 ] {587be6cc-eb32-4111-80dc-ee26dfe5caae} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:39.614907 [ 1123 ] {68734e33-e308-4c66-ad7a-d5fa82221493} executeQuery: Code: 43. DB::Exception: Illegal type String of third argument of function timeSlots. Must be UInt32 when first argument is DateTime.: While processing timeSlots(toDateTime('2000-01-02 03:04:05', 'UTC'), toUInt32(600), 'wrong argument'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:44136) (comment: 00734_timeslot.sql) (in query: SELECT timeSlots(toDateTime('2000-01-02 03:04:05', 'UTC'), toUInt32(600), 'wrong argument');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/timeSlots.cpp:252: DB::(anonymous namespace)::FunctionTimeSlots::getReturnTypeImpl(std::vector> const&) const @ 0x000000001260dac2 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:27:39.718472 [ 8835 ] {cf2c0691-104d-4ee4-b483-5967a82e2128} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:39.807089 [ 1123 ] {68734e33-e308-4c66-ad7a-d5fa82221493} TCPHandler: Code: 43. DB::Exception: Illegal type String of third argument of function timeSlots. Must be UInt32 when first argument is DateTime.: While processing timeSlots(toDateTime('2000-01-02 03:04:05', 'UTC'), toUInt32(600), 'wrong argument'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/timeSlots.cpp:252: DB::(anonymous namespace)::FunctionTimeSlots::getReturnTypeImpl(std::vector> const&) const @ 0x000000001260dac2 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:27:39.807122 [ 22250 ] {c4b9091a-78bf-452f-9c12-1dbd4dfe62d2} executeQuery: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: While processing 'N', CAST(_CAST(NULL, 'Nullable(Nothing)') AS nqysd, 'DateTime'). (CANNOT_CONVERT_TYPE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT medianBFloat16Weighted('N', (CAST((( SELECT argMin(-18, NULL) ) AS nqysd) AS DateTime)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [43]) @ 0x000000000b1fb6be in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3831: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000b78efa3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2875: DB::FunctionCast::prepare(std::vector> const&) const @ 0x000000000b78ea5c in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:272: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85a09 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:502: DB::ExpressionAnalyzer::getRootActionsNoMakeSet(std::shared_ptr const&, std::shared_ptr&, bool) @ 0x000000001bfabf82 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:557: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac456 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:27:39.809623 [ 22250 ] {c4b9091a-78bf-452f-9c12-1dbd4dfe62d2} TCPHandler: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: While processing 'N', CAST(_CAST(NULL, 'Nullable(Nothing)') AS nqysd, 'DateTime'). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [43]) @ 0x000000000b1fb6be in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3831: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000b78efa3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2875: DB::FunctionCast::prepare(std::vector> const&) const @ 0x000000000b78ea5c in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:272: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85a09 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:502: DB::ExpressionAnalyzer::getRootActionsNoMakeSet(std::shared_ptr const&, std::shared_ptr&, bool) @ 0x000000001bfabf82 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:557: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac456 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:27:39.812701 [ 8835 ] {192e66d8-dd89-4968-8b66-65f4e16732ee} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:39.905622 [ 8835 ] {2364d80e-09c3-45fd-84be-5838e06900c6} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:39.950101 [ 1123 ] {f7fa4a4f-684a-467a-9c78-6044c16280cb} executeQuery: Code: 44. DB::Exception: Third argument for function timeSlots must be greater than zero: While processing timeSlots(toDateTime('2000-01-02 03:04:05', 'UTC'), toUInt32(600), 0). (ILLEGAL_COLUMN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:44136) (comment: 00734_timeslot.sql) (in query: SELECT timeSlots(toDateTime('2000-01-02 03:04:05', 'UTC'), toUInt32(600), 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/timeSlots.cpp:297: DB::(anonymous namespace)::FunctionTimeSlots::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001260c185 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:27:39.961288 [ 8835 ] {6ddc5a18-8040-40ee-b91a-c90eec5f1204} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:40.061143 [ 8835 ] {8c260fa8-0172-4167-8593-6490a207d7c1} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:40.091435 [ 22250 ] {b8f82b59-1070-42ac-acda-b7a475c8024f} executeQuery: Code: 36. DB::Exception: Scalar `2534380501261675497_17078279475732774959` doesn't exist (internal bug): While processing __getScalar('2534380501261675497_17078279475732774959') AS constant_expression: While processing (SELECT * FROM iceberg([], (SELECT NULL, NULL, [], -1, '\\Su'), (SELECT * FROM odbc(['\0'], CAST(NULL, 'Date'))) AS gdmooxvt)) AS oied. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT [], '', ( SELECT * FROM iceberg([], ( SELECT NULL, NULL, [], -1, '\Su' ) , ( SELECT * FROM odbc(['\0'], (CAST((NULL) AS Date))) ) AS gdmooxvt) ) AS oied, ( SELECT '', ['\0'], ( SELECT JSONType('') ) AS hxxfwnvz, ( SELECT IPv6StringToNum('') ) , '', -192.929026 ) ;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:1350: DB::Context::getScalar(String const&) const @ 0x000000001bdc65b0 in /usr/bin/clickhouse 7. /build/src/Functions/getScalar.cpp:58: DB::(anonymous namespace)::FunctionGetScalar::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e4871e4 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefe15 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1735: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x000000001bfb93ed in /usr/bin/clickhouse 23. /build/src/Interpreters/evaluateConstantExpression.cpp:77: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08b5eb in /usr/bin/clickhouse 24. /build/src/Interpreters/evaluateConstantExpression.cpp:117: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08bcfd in /usr/bin/clickhouse 25. /build/src/Interpreters/evaluateConstantExpression.cpp:125: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08be12 in /usr/bin/clickhouse 26. /build/src/Storages/StorageURL.cpp:1249: DB::StorageURL::collectHeaders(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::vector>&, std::shared_ptr) @ 0x000000001da073df in /usr/bin/clickhouse 27. /build/src/TableFunctions/TableFunctionS3.cpp:70: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a997f09 in /usr/bin/clickhouse 28. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a999d04 in /usr/bin/clickhouse 29. /build/src/TableFunctions/ITableFunctionDataLake.h:61: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9b911f in /usr/bin/clickhouse 30. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 31. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 2024.09.24 01:27:40.091437 [ 1123 ] {f7fa4a4f-684a-467a-9c78-6044c16280cb} TCPHandler: Code: 44. DB::Exception: Third argument for function timeSlots must be greater than zero: While processing timeSlots(toDateTime('2000-01-02 03:04:05', 'UTC'), toUInt32(600), 0). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/timeSlots.cpp:297: DB::(anonymous namespace)::FunctionTimeSlots::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001260c185 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 01:27:40.093369 [ 22250 ] {b8f82b59-1070-42ac-acda-b7a475c8024f} TCPHandler: Code: 36. DB::Exception: Scalar `2534380501261675497_17078279475732774959` doesn't exist (internal bug): While processing __getScalar('2534380501261675497_17078279475732774959') AS constant_expression: While processing (SELECT * FROM iceberg([], (SELECT NULL, NULL, [], -1, '\\Su'), (SELECT * FROM odbc(['\0'], CAST(NULL, 'Date'))) AS gdmooxvt)) AS oied. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:1350: DB::Context::getScalar(String const&) const @ 0x000000001bdc65b0 in /usr/bin/clickhouse 7. /build/src/Functions/getScalar.cpp:58: DB::(anonymous namespace)::FunctionGetScalar::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e4871e4 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefe15 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1735: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x000000001bfb93ed in /usr/bin/clickhouse 23. /build/src/Interpreters/evaluateConstantExpression.cpp:77: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08b5eb in /usr/bin/clickhouse 24. /build/src/Interpreters/evaluateConstantExpression.cpp:117: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08bcfd in /usr/bin/clickhouse 25. /build/src/Interpreters/evaluateConstantExpression.cpp:125: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08be12 in /usr/bin/clickhouse 26. /build/src/Storages/StorageURL.cpp:1249: DB::StorageURL::collectHeaders(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::vector>&, std::shared_ptr) @ 0x000000001da073df in /usr/bin/clickhouse 27. /build/src/TableFunctions/TableFunctionS3.cpp:70: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a997f09 in /usr/bin/clickhouse 28. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a999d04 in /usr/bin/clickhouse 29. /build/src/TableFunctions/ITableFunctionDataLake.h:61: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9b911f in /usr/bin/clickhouse 30. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 31. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 2024.09.24 01:27:40.157596 [ 8835 ] {4fb1eff3-8e9f-4aaf-b2e9-526a79f72c29} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:40.226933 [ 22250 ] {066da0e4-7595-4959-b650-fedaa53e6552} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function toUInt8 provided 0, expected 1 ('Value' : ): While processing toUInt8(): While processing (SELECT toUInt8()) AS zvl. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '#r', [[12.00]], ( SELECT toUInt8() ) AS zvl, ( SELECT -3.1762, ( SELECT [], ( SELECT sipHash128Keyed() ) AS hpeuzz, ( SELECT * FROM s3([], ['']) ) AS hdp ) ) ;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001abfde7d in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abfbdc5 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1861: DB::FunctionConvert, DB::NameToUInt8, DB::ToNumberMonotonicity>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000b269ea6 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1823: auto DB::FunctionConvert, DB::NameToUInt8, DB::ToNumberMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000b269c20 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval> const&>())) std::__invoke[abi:v15000], DB::NameToUInt8, DB::ToNumberMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(auto&&, std::vector> const&) @ 0x000000000b269bdd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, DB::NameToUInt8, DB::ToNumberMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(DB::FunctionConvert, DB::NameToUInt8, DB::ToNumberMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&) @ 0x000000000b269b9d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, DB::NameToUInt8, DB::ToNumberMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) @ 0x000000000b269b5d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl, DB::NameToUInt8, DB::ToNumberMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000b269b05 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) const @ 0x000000000b268ebe in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::vector> const&)>::operator()(std::vector> const&) const @ 0x000000000b267b7d in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:1818: DB::FunctionConvert, DB::NameToUInt8, DB::ToNumberMonotonicity>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000b267a1b in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1824: DB::FunctionConvert, DB::NameToUInt8, DB::ToNumberMonotonicity>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b23a23a in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:27:40.229410 [ 22250 ] {066da0e4-7595-4959-b650-fedaa53e6552} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function toUInt8 provided 0, expected 1 ('Value' : ): While processing toUInt8(): While processing (SELECT toUInt8()) AS zvl. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001abfde7d in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abfbdc5 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1861: DB::FunctionConvert, DB::NameToUInt8, DB::ToNumberMonotonicity>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000b269ea6 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1823: auto DB::FunctionConvert, DB::NameToUInt8, DB::ToNumberMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000b269c20 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval> const&>())) std::__invoke[abi:v15000], DB::NameToUInt8, DB::ToNumberMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(auto&&, std::vector> const&) @ 0x000000000b269bdd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, DB::NameToUInt8, DB::ToNumberMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(DB::FunctionConvert, DB::NameToUInt8, DB::ToNumberMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&) @ 0x000000000b269b9d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, DB::NameToUInt8, DB::ToNumberMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) @ 0x000000000b269b5d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl, DB::NameToUInt8, DB::ToNumberMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000b269b05 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) const @ 0x000000000b268ebe in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::vector> const&)>::operator()(std::vector> const&) const @ 0x000000000b267b7d in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:1818: DB::FunctionConvert, DB::NameToUInt8, DB::ToNumberMonotonicity>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000b267a1b in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1824: DB::FunctionConvert, DB::NameToUInt8, DB::ToNumberMonotonicity>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b23a23a in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:27:40.291167 [ 8835 ] {ba9fc89e-bff8-4df3-b1fc-390bf27d4da7} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:40.398351 [ 22250 ] {a1bea740-1257-401f-9d6d-17c0421d7033} executeQuery: Code: 43. DB::Exception: Illegal type String of argument of function IPv6NumToString, expected IPv6 or FixedString(16): While processing IPv6NumToString(''). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT IPv6NumToString('');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long const&) @ 0x000000000ba02608 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsCodingIP.cpp:67: DB::FunctionIPv6NumToString::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000ba15128 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:27:40.401755 [ 22250 ] {a1bea740-1257-401f-9d6d-17c0421d7033} TCPHandler: Code: 43. DB::Exception: Illegal type String of argument of function IPv6NumToString, expected IPv6 or FixedString(16): While processing IPv6NumToString(''). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long const&) @ 0x000000000ba02608 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsCodingIP.cpp:67: DB::FunctionIPv6NumToString::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000ba15128 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:27:40.432710 [ 8835 ] {28f758d7-9038-4b5c-a20f-58efd316b667} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:40.573051 [ 22250 ] {f5389da5-7ba1-47cc-8214-4311b3de5936} executeQuery: Code: 42. DB::Exception: The signature of table function gcs shall be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM gcs();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:75: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a99804f in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a999d04 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:40.575943 [ 22250 ] {f5389da5-7ba1-47cc-8214-4311b3de5936} TCPHandler: Code: 42. DB::Exception: The signature of table function gcs shall be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:75: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a99804f in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a999d04 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:40.580740 [ 8835 ] {2003cdd5-f6f5-4b50-8a6a-15172392f237} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:40.612490 [ 22250 ] {194f7978-9fa5-4247-bd3f-1a80cb91471c} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:27:40.613483 [ 22250 ] {194f7978-9fa5-4247-bd3f-1a80cb91471c} Cluster: Code: 198. DB::Exception: Not found address of host: . (DNS_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Common/DNSResolver.cpp:114: DB::(anonymous namespace)::hostByName(String const&) @ 0x00000000138812e8 in /usr/bin/clickhouse 7. /build/src/Common/DNSResolver.cpp:139: DB::(anonymous namespace)::resolveIPAddressImpl(String const&) @ 0x000000001387fdc8 in /usr/bin/clickhouse 8. /build/src/Common/DNSResolver.cpp:146: DB::(anonymous namespace)::resolveIPAddressWithCache(DB::CacheBase>, std::hash, DB::EqualWeightFunction>>>&, String const&)::$_0::operator()() const @ 0x0000000013883340 in /usr/bin/clickhouse 9. /build/src/Common/CacheBase.h:152: std::pair>>, bool> DB::CacheBase>, std::hash, DB::EqualWeightFunction>>>::getOrSet>, std::hash, DB::EqualWeightFunction>>>&, String const&)::$_0>(String const&, DB::(anonymous namespace)::resolveIPAddressWithCache(DB::CacheBase>, std::hash, DB::EqualWeightFunction>>>&, String const&)::$_0&&) @ 0x00000000138830af in /usr/bin/clickhouse 10. /build/src/Common/DNSResolver.cpp:146: DB::(anonymous namespace)::resolveIPAddressWithCache(DB::CacheBase>, std::hash, DB::EqualWeightFunction>>>&, String const&) @ 0x000000001387ff3c in /usr/bin/clickhouse 11. /build/src/Common/DNSResolver.cpp:239: DB::DNSResolver::resolveAddress(String const&, unsigned short) @ 0x00000000138805cf in /usr/bin/clickhouse 12. /build/src/Interpreters/Cluster.cpp:73: DB::Cluster::Address::getResolvedAddress() const @ 0x000000001bda5606 in /usr/bin/clickhouse 13. /build/src/Interpreters/Cluster.cpp:86: DB::Cluster::Address::isLocal(unsigned short) const @ 0x000000001bda5724 in /usr/bin/clickhouse 14. /build/src/Interpreters/Cluster.cpp:165: DB::Cluster::Address::Address(DB::DatabaseReplicaInfo const&, DB::ClusterConnectionParameters const&, unsigned int, unsigned int) @ 0x000000001bda65fa in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::Cluster::Address* std::construct_at[abi:v15000](DB::Cluster::Address*, DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001bdb5dc1 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::Cluster::Address*, DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001bdb5d39 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/vector:1579: void std::vector>::__emplace_back_slow_path(DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001bdb5c96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/vector:0: DB::Cluster::Address& std::vector>::emplace_back(DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001bdaeda0 in /usr/bin/clickhouse 19. /build/src/Interpreters/Cluster.cpp:520: DB::Cluster::Cluster(DB::Settings const&, std::vector>, std::allocator>>> const&, DB::ClusterConnectionParameters const&) @ 0x000000001bdaad5d in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::Cluster* std::construct_at[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&, DB::Cluster*>(DB::Cluster*, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x000000001a954454 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&, void, void>(std::allocator&, DB::Cluster*, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x000000001a9543d1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&>(std::allocator, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x000000001a954357 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&, void>(std::allocator const&, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x000000001a95426a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&, void>(DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x000000001a94f996 in /usr/bin/clickhouse 25. /build/src/TableFunctions/TableFunctionRemote.cpp:290: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a94c30e in /usr/bin/clickhouse 26. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 27. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 28. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:27:40.644472 [ 22250 ] {194f7978-9fa5-4247-bd3f-1a80cb91471c} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:27:40.645147 [ 22250 ] {194f7978-9fa5-4247-bd3f-1a80cb91471c} HedgedConnectionsFactory: Connection failed at try â„–1, reason: Code: 198. DB::Exception: Not found address of host: . (DNS_ERROR) (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:27:40.678265 [ 22250 ] {194f7978-9fa5-4247-bd3f-1a80cb91471c} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:27:40.678876 [ 22250 ] {194f7978-9fa5-4247-bd3f-1a80cb91471c} HedgedConnectionsFactory: Connection failed at try â„–2, reason: Code: 198. DB::Exception: Not found address of host: . (DNS_ERROR) (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:27:40.679751 [ 8835 ] {e9b14419-cfbb-4fbe-a134-7786e38e146b} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:40.709004 [ 22250 ] {194f7978-9fa5-4247-bd3f-1a80cb91471c} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:27:40.709910 [ 22250 ] {194f7978-9fa5-4247-bd3f-1a80cb91471c} HedgedConnectionsFactory: Connection failed at try â„–3, reason: Code: 198. DB::Exception: Not found address of host: . (DNS_ERROR) (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:27:40.711892 [ 22250 ] {194f7978-9fa5-4247-bd3f-1a80cb91471c} executeQuery: Code: 519. DB::NetException: All attempts to get table structure failed. Log: Code: 279. DB::NetException: All connection tries failed. Log: Code: 198. DB::Exception: Not found address of host: . (DNS_ERROR) (version 23.8.16.41.altinitystable (altinity build)) Code: 198. DB::Exception: Not found address of host: . (DNS_ERROR) (version 23.8.16.41.altinitystable (altinity build)) Code: 198. DB::Exception: Not found address of host: . (DNS_ERROR) (version 23.8.16.41.altinitystable (altinity build)) . (ALL_CONNECTION_TRIES_FAILED) (version 23.8.16.41.altinitystable (altinity build)) . (NO_REMOTE_SHARD_AVAILABLE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM remote('\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String&) @ 0x000000001da4e793 in /usr/bin/clickhouse 6. /build/src/Storages/getStructureOfRemoteTable.cpp:166: DB::getStructureOfRemoteTable(DB::Cluster const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x000000001da4d336 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionRemote.cpp:345: DB::TableFunctionRemote::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a94d1e2 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionRemote.cpp:305: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a94c6f6 in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:40.714772 [ 22250 ] {194f7978-9fa5-4247-bd3f-1a80cb91471c} TCPHandler: Code: 519. DB::NetException: All attempts to get table structure failed. Log: Code: 279. DB::NetException: All connection tries failed. Log: Code: 198. DB::Exception: Not found address of host: . (DNS_ERROR) (version 23.8.16.41.altinitystable (altinity build)) Code: 198. DB::Exception: Not found address of host: . (DNS_ERROR) (version 23.8.16.41.altinitystable (altinity build)) Code: 198. DB::Exception: Not found address of host: . (DNS_ERROR) (version 23.8.16.41.altinitystable (altinity build)) . (ALL_CONNECTION_TRIES_FAILED) (version 23.8.16.41.altinitystable (altinity build)) . (NO_REMOTE_SHARD_AVAILABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String&) @ 0x000000001da4e793 in /usr/bin/clickhouse 6. /build/src/Storages/getStructureOfRemoteTable.cpp:166: DB::getStructureOfRemoteTable(DB::Cluster const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x000000001da4d336 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionRemote.cpp:345: DB::TableFunctionRemote::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a94d1e2 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionRemote.cpp:305: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a94c6f6 in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:40.736860 [ 22250 ] {7fb3d585-daaf-49fe-b9a9-2f082ea15e1b} executeQuery: Code: 42. DB::Exception: Number of arguments for function getTypeSerializationStreams doesn't match: passed 2, should be 1: While processing getTypeSerializationStreams('\0', '659]@4bg'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54280) (comment: 00746_sql_fuzzy.sh) (in query: SELECT getTypeSerializationStreams('\0', '659]@4bg');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:27:40.739102 [ 22250 ] {7fb3d585-daaf-49fe-b9a9-2f082ea15e1b} TCPHandler: Code: 42. DB::Exception: Number of arguments for function getTypeSerializationStreams doesn't match: passed 2, should be 1: While processing getTypeSerializationStreams('\0', '659]@4bg'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:27:40.777862 [ 8835 ] {27ceb2e9-d00d-4778-9bab-1f637fee8517} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:40.922478 [ 8835 ] {51ee39fb-f648-4b7a-bb21-3f9b5467c396} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:41.011343 [ 8835 ] {5a66078b-e907-4d0b-847d-6ec542c85d83} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:41.113980 [ 8835 ] {46a7164d-2f4d-44dc-b1a7-29a2803da2c3} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:41.234265 [ 8835 ] {2f0973e7-4ca6-41a9-ad49-083d822e6179} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:41.326912 [ 8835 ] {3aceba50-c5c4-4913-bbb3-5487bdb23d76} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:41.467276 [ 8835 ] {75b45f8e-e7f6-432e-97c8-36f4ec95fa85} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:41.613822 [ 8835 ] {b74eb0a4-9e0b-4d26-8d67-b32f4d76ea62} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:41.721863 [ 8835 ] {54c7bebf-71d1-4ff4-844e-3b934de77b19} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:41.818555 [ 8835 ] {a8e4a2d0-5136-4601-a9fc-5709ec20dbe7} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:41.911781 [ 8835 ] {2e231497-2b5d-4a85-baf9-de63022b743c} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:42.012295 [ 8835 ] {2841052a-1acf-49db-a96b-879f17a6d98a} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:42.162594 [ 8835 ] {12ff21e6-a950-43f3-81f8-13e852a5b49b} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:42.257952 [ 8835 ] {6ae3f9cb-0b91-4b34-b5ac-672c87e327f6} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:42.369663 [ 8835 ] {51e548e6-cab4-4209-bdb3-c537689d3b5f} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:42.418197 [ 8835 ] {08e647c9-dde2-49b2-af0c-7ba2f0eb4a2b} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:42.520066 [ 8835 ] {fea792b9-76bf-4e29-b6f2-f0efb2bc650b} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:42.616919 [ 8835 ] {31559fc6-57b0-4376-8925-d29bce60148d} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:42.728129 [ 8835 ] {5106c384-9335-456e-8aba-0b686dd77ad3} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:42.830740 [ 8835 ] {4c30b470-29bf-4fb0-8714-9e91ccd7221e} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:42.861610 [ 12007 ] {5b32871e-74e2-44a1-bdd9-1d1bd33c5a9f} executeQuery: Code: 319. DB::Exception: Unknown status, client must retry. Reason: Code: 159. DB::Exception: Timeout while waiting for quorum. (TIMEOUT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)). (UNKNOWN_STATUS_OF_INSERT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:52064) (comment: 00732_quorum_insert_lost_part_and_alive_part_zookeeper_long.sql) (in query: INSERT INTO quorum2 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1148: DB::ReplicatedMergeTreeSinkImpl::waitForQuorum(std::shared_ptr const&, String const&, String const&, int, unsigned long) const @ 0x000000001e322ed6 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1069: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001e321458 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001e316111 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:400: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001e320398 in /usr/bin/clickhouse 10. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2ec62 in /usr/bin/clickhouse 11. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 2024.09.24 01:27:42.862957 [ 12007 ] {5b32871e-74e2-44a1-bdd9-1d1bd33c5a9f} TCPHandler: Code: 319. DB::Exception: Unknown status, client must retry. Reason: Code: 159. DB::Exception: Timeout while waiting for quorum. (TIMEOUT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)). (UNKNOWN_STATUS_OF_INSERT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1148: DB::ReplicatedMergeTreeSinkImpl::waitForQuorum(std::shared_ptr const&, String const&, String const&, int, unsigned long) const @ 0x000000001e322ed6 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1069: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001e321458 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001e316111 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:400: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001e320398 in /usr/bin/clickhouse 10. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2ec62 in /usr/bin/clickhouse 11. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 2024.09.24 01:27:42.988805 [ 8835 ] {384b5b6a-910d-406c-846a-0c47e83b7ef1} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:43.130933 [ 8835 ] {6d759b96-6cac-4ab5-a81b-cc26518446ea} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:43.224324 [ 8835 ] {38ca0c4d-bc65-4a47-8951-d353587637a1} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:43.333134 [ 8835 ] {3b1d14d2-414b-45eb-aa8e-b6e4e14d3c2d} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:43.381981 [ 8835 ] {c6732d1e-2abd-4ced-8fbb-f3f82e4b0420} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:43.482645 [ 8835 ] {1114e630-90ae-4744-8b3a-6b6ba5629105} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:43.576566 [ 8835 ] {381a30c6-2e43-428a-8f26-f8c88e332a29} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:43.705969 [ 2329 ] {7a4a2b91-7021-4502-9d0e-b7be0b286466} executeQuery: Code: 42. DB::Exception: Number of arguments for function base64Encode doesn't match: passed 2, should be 1: While processing base64Encode(val, 'excess argument'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:52096) (comment: 00732_base64_functions.sql) (in query: SELECT base64Encode(val, 'excess argument') FROM (select arrayJoin(['', 'f', 'fo', 'foo', 'foob', 'fooba', 'foobar']) val);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:27:43.707151 [ 2329 ] {7a4a2b91-7021-4502-9d0e-b7be0b286466} TCPHandler: Code: 42. DB::Exception: Number of arguments for function base64Encode doesn't match: passed 2, should be 1: While processing base64Encode(val, 'excess argument'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:27:43.708130 [ 8835 ] {0a849951-cc4f-420d-a97a-af4e2cab293f} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:43.724257 [ 2329 ] {5313a2bf-c1bf-4dda-b58e-32fd21e507e0} executeQuery: Code: 42. DB::Exception: Number of arguments for function base64Decode doesn't match: passed 2, should be 1: While processing base64Decode(val, 'excess argument'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:52096) (comment: 00732_base64_functions.sql) (in query: SELECT base64Decode(val, 'excess argument') FROM (select arrayJoin(['', 'Zg==', 'Zm8=', 'Zm9v', 'Zm9vYg==', 'Zm9vYmE=', 'Zm9vYmFy']) val);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:27:43.725629 [ 2329 ] {5313a2bf-c1bf-4dda-b58e-32fd21e507e0} TCPHandler: Code: 42. DB::Exception: Number of arguments for function base64Decode doesn't match: passed 2, should be 1: While processing base64Decode(val, 'excess argument'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:27:43.734283 [ 2329 ] {f88af162-713a-4d0b-bcb5-c61fb2593186} executeQuery: Code: 42. DB::Exception: Number of arguments for function tryBase64Decode doesn't match: passed 2, should be 1: While processing tryBase64Decode('Zm9vYmF=Zm9v', 'excess argument'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:52096) (comment: 00732_base64_functions.sql) (in query: SELECT tryBase64Decode('Zm9vYmF=Zm9v', 'excess argument');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:27:43.735337 [ 2329 ] {f88af162-713a-4d0b-bcb5-c61fb2593186} TCPHandler: Code: 42. DB::Exception: Number of arguments for function tryBase64Decode doesn't match: passed 2, should be 1: While processing tryBase64Decode('Zm9vYmF=Zm9v', 'excess argument'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:27:43.795819 [ 8835 ] {652c9772-123c-4009-8aba-455372266184} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:43.845082 [ 8835 ] {0b9b2d1c-9bb2-40db-a631-22a6982b87d3} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:43.875277 [ 2329 ] {7eebc2b2-25e5-4fbb-9687-4d3de9504746} executeQuery: Code: 117. DB::Exception: Failed to base64Decode input 'Zm9vYmF=Zm9v': While processing base64Decode('Zm9vYmF=Zm9v'). (INCORRECT_DATA) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:52096) (comment: 00732_base64_functions.sql) (in query: SELECT base64Decode('Zm9vYmF=Zm9v');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const* const&, String&&) @ 0x000000000c57e2cc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBase64Conversion.h:74: DB::Base64Decode::performCoding(std::span, char8_t*) @ 0x000000000c57e061 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBase64Conversion.h:172: DB::FunctionBase64Conversion::execute(DB::ColumnString const&, unsigned long) @ 0x000000000c57dd9d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBase64Conversion.h:141: DB::FunctionBase64Conversion::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c57d37a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:27:43.876240 [ 2329 ] {7eebc2b2-25e5-4fbb-9687-4d3de9504746} TCPHandler: Code: 117. DB::Exception: Failed to base64Decode input 'Zm9vYmF=Zm9v': While processing base64Decode('Zm9vYmF=Zm9v'). (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const* const&, String&&) @ 0x000000000c57e2cc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBase64Conversion.h:74: DB::Base64Decode::performCoding(std::span, char8_t*) @ 0x000000000c57e061 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBase64Conversion.h:172: DB::FunctionBase64Conversion::execute(DB::ColumnString const&, unsigned long) @ 0x000000000c57dd9d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBase64Conversion.h:141: DB::FunctionBase64Conversion::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c57d37a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 01:27:43.926107 [ 8835 ] {3db29b21-ee10-4a12-ae14-6cff235d6a6a} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:44.057773 [ 8835 ] {c7b5f490-c0d7-4657-8e78-dfe337c9e839} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:44.167108 [ 8835 ] {5b01c111-c0db-40fe-9b25-f0aaa18f1285} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:44.261009 [ 8835 ] {20b30ae1-063a-4663-bb92-76ddc1de90c5} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:44.262963 [ 12007 ] {822b5f08-a4d2-44f7-8b2e-3e4e22960acf} executeQuery: Code: 182. DB::Exception: PREWHERE cannot contain ARRAY JOIN action. (ILLEGAL_PREWHERE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:52102) (comment: 00729_prewhere_array_join.sql) (in query: select arrayJoin(val) as nameGroup6 from t1_00729 prewhere notEmpty(toString(nameGroup6)) group by nameGroup6 order by nameGroup6;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [42]) @ 0x000000000c3e57be in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:2166: DB::ExpressionAnalysisResult::checkActions() const::$_0::operator()(std::shared_ptr const&) const @ 0x000000001bfbd61a in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:2171: DB::ExpressionAnalysisResult::checkActions() const @ 0x000000001bfbd0d6 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:2105: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbcaf3 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:44.263894 [ 12007 ] {822b5f08-a4d2-44f7-8b2e-3e4e22960acf} TCPHandler: Code: 182. DB::Exception: PREWHERE cannot contain ARRAY JOIN action. (ILLEGAL_PREWHERE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [42]) @ 0x000000000c3e57be in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:2166: DB::ExpressionAnalysisResult::checkActions() const::$_0::operator()(std::shared_ptr const&) const @ 0x000000001bfbd61a in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:2171: DB::ExpressionAnalysisResult::checkActions() const @ 0x000000001bfbd0d6 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:2105: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbcaf3 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:44.314699 [ 8835 ] {18dac1f3-8c45-4d1f-91d6-12e871b2fae7} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:44.380873 [ 12007 ] {35dda553-9709-4416-909f-81d249bbe6d3} executeQuery: Code: 182. DB::Exception: PREWHERE cannot contain ARRAY JOIN action. (ILLEGAL_PREWHERE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:52102) (comment: 00729_prewhere_array_join.sql) (in query: select arrayJoin(val) as nameGroup6, countDistinct(nid) as rowids from t1_00729 prewhere notEmpty(toString(nameGroup6)) group by nameGroup6 order by nameGroup6;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [42]) @ 0x000000000c3e57be in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:2166: DB::ExpressionAnalysisResult::checkActions() const::$_0::operator()(std::shared_ptr const&) const @ 0x000000001bfbd61a in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:2171: DB::ExpressionAnalysisResult::checkActions() const @ 0x000000001bfbd0d6 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:2105: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbcaf3 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:44.381981 [ 12007 ] {35dda553-9709-4416-909f-81d249bbe6d3} TCPHandler: Code: 182. DB::Exception: PREWHERE cannot contain ARRAY JOIN action. (ILLEGAL_PREWHERE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [42]) @ 0x000000000c3e57be in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:2166: DB::ExpressionAnalysisResult::checkActions() const::$_0::operator()(std::shared_ptr const&) const @ 0x000000001bfbd61a in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:2171: DB::ExpressionAnalysisResult::checkActions() const @ 0x000000001bfbd0d6 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:2105: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbcaf3 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:44.397027 [ 8835 ] {2ac40a5a-65c3-4b57-99d3-96992453c254} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:44.436961 [ 8835 ] {b6fbcbf7-a257-49b2-8605-ac2cc2a16e2d} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:44.520870 [ 8835 ] {08b14077-b569-4b76-a594-2b5e20d1b5f5} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:44.609207 [ 12007 ] {ff6dc7dd-640c-4897-a07f-ec80a837a8f4} executeQuery: Code: 182. DB::Exception: PREWHERE cannot contain ARRAY JOIN action. (ILLEGAL_PREWHERE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:52102) (comment: 00729_prewhere_array_join.sql) (in query: select arrayJoin(val) as nameGroup6 from t1_00729 prewhere notEmpty(toString(nameGroup6)) group by nameGroup6 order by nameGroup6;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [42]) @ 0x000000000c3e57be in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:2166: DB::ExpressionAnalysisResult::checkActions() const::$_0::operator()(std::shared_ptr const&) const @ 0x000000001bfbd61a in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:2171: DB::ExpressionAnalysisResult::checkActions() const @ 0x000000001bfbd0d6 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:2105: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbcaf3 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:44.609962 [ 12007 ] {ff6dc7dd-640c-4897-a07f-ec80a837a8f4} TCPHandler: Code: 182. DB::Exception: PREWHERE cannot contain ARRAY JOIN action. (ILLEGAL_PREWHERE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [42]) @ 0x000000000c3e57be in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:2166: DB::ExpressionAnalysisResult::checkActions() const::$_0::operator()(std::shared_ptr const&) const @ 0x000000001bfbd61a in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:2171: DB::ExpressionAnalysisResult::checkActions() const @ 0x000000001bfbd0d6 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:2105: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbcaf3 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:44.661006 [ 8835 ] {12996518-a9b1-4b0e-afd0-f57ce16888a1} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:44.711233 [ 8835 ] {dd34f32b-1061-418e-9865-e9692b1bd5a0} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:44.744047 [ 12007 ] {18d57aff-0404-45fd-b7f3-4b89172425e2} executeQuery: Code: 182. DB::Exception: PREWHERE cannot contain ARRAY JOIN action. (ILLEGAL_PREWHERE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:52102) (comment: 00729_prewhere_array_join.sql) (in query: select arrayJoin(val) as nameGroup6, countDistinct(nid) as rowids from t1_00729 prewhere notEmpty(toString(nameGroup6)) group by nameGroup6 order by nameGroup6;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [42]) @ 0x000000000c3e57be in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:2166: DB::ExpressionAnalysisResult::checkActions() const::$_0::operator()(std::shared_ptr const&) const @ 0x000000001bfbd61a in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:2171: DB::ExpressionAnalysisResult::checkActions() const @ 0x000000001bfbd0d6 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:2105: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbcaf3 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:44.746344 [ 12007 ] {18d57aff-0404-45fd-b7f3-4b89172425e2} TCPHandler: Code: 182. DB::Exception: PREWHERE cannot contain ARRAY JOIN action. (ILLEGAL_PREWHERE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [42]) @ 0x000000000c3e57be in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:2166: DB::ExpressionAnalysisResult::checkActions() const::$_0::operator()(std::shared_ptr const&) const @ 0x000000001bfbd61a in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:2171: DB::ExpressionAnalysisResult::checkActions() const @ 0x000000001bfbd0d6 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:2105: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbcaf3 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:44.802411 [ 8835 ] {0fcad323-bd6c-4935-aa8d-92dd80cf6d23} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:44.969232 [ 8835 ] {a4f5c9f7-e5fb-4c33-8646-1563eae75f69} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:45.057406 [ 8835 ] {a4464125-cff3-4378-a9a2-32021bec9c93} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:45.192641 [ 8835 ] {7d49fbc5-7dad-4eda-8c7f-4055326a1c71} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:45.314135 [ 8835 ] {200093f0-9b3f-4d64-84c8-fa0b890da043} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:45.391175 [ 8835 ] {e1069b64-b18c-4041-9719-db9203275e77} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:45.511910 [ 8835 ] {f36bf77c-232f-4e6c-8924-1fffb718d037} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:45.634116 [ 8835 ] {867f51cc-1ff7-4ab1-9a9b-77363a8ef356} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:45.761606 [ 8835 ] {d836304b-b757-49e6-a9ce-1049793b50d7} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:45.846351 [ 8835 ] {99e358c0-163a-47b3-8676-8b1db87bfc4a} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:45.946202 [ 8835 ] {39147905-5cb9-4d31-9f91-24cadcb2ad31} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:46.083655 [ 8835 ] {d191bd78-6539-45ab-9edb-66bd6161026a} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:46.166047 [ 8835 ] {843c7a5b-fbf2-4569-8171-42f38ce77dfb} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:46.216603 [ 8835 ] {b2703233-3f39-46e0-a3cd-90c2f87a8b70} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:46.316134 [ 8835 ] {d7627d9a-8fa4-434b-9799-d1e91dcb233d} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:46.392338 [ 8835 ] {6a4c7ef6-8efa-4200-a21d-f453895ec115} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:46.436340 [ 8835 ] {afb29624-dbd8-4f75-a9ac-44e000a6c302} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:46.517357 [ 8835 ] {c9dd0adf-4381-46df-b77f-f71bd47d19cf} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:46.644497 [ 8835 ] {1ea11ede-ab6b-429f-abba-1fefa6848840} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:46.736114 [ 8835 ] {8353169e-f800-41bf-9ca5-e8a303a8a14a} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:46.788651 [ 8835 ] {3fec4747-8245-4ce2-9752-82d684dfc666} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:46.875563 [ 8835 ] {a052e1e7-69dd-4db5-9995-15ff2b13f764} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:46.970765 [ 8835 ] {f889e2fb-e1cb-44d4-9987-742d57d0defb} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:47.065179 [ 8835 ] {4ddd3bc9-9ade-4dc5-85fa-c0ee77070e10} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:47.114552 [ 8835 ] {cb259d98-aced-466c-a2ab-ec3442ca621c} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:47.200395 [ 8835 ] {1ba47d21-9808-43e5-b906-0610111d37d7} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:47.282075 [ 8835 ] {34cfc178-3022-40d5-89b2-9ea1917142bb} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:47.328288 [ 8835 ] {b0b19713-6363-470c-9cf5-cf47ba73ac4d} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:47.415838 [ 8835 ] {f8c8acc8-a6f0-49f1-a48c-95a72084610f} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:47.531328 [ 8835 ] {589996bd-50ea-4360-83ca-2cb5cc4d1bc8} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:47.624979 [ 8835 ] {452c365a-d738-4ede-9783-c3bdfb2b24b7} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:47.714217 [ 8835 ] {b8551af8-40b6-4f8f-b0c5-5dfc79904185} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:47.846011 [ 8835 ] {a807d991-65fc-440a-814f-42aaeee7ad78} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:47.971116 [ 8835 ] {105e090a-a0ad-4fcd-9663-28356891b94d} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:48.074683 [ 8835 ] {88c7dba5-2692-4a5b-b184-77e63e88fc5d} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:48.174080 [ 8835 ] {d94c155d-cc08-40e8-9072-3fdb1212e980} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:48.268529 [ 8835 ] {a9dc5776-d83c-475d-bc6d-fbc5297182c3} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:48.317226 [ 8835 ] {62bce452-e0ba-4989-8193-ca3d81944b78} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:48.403924 [ 8835 ] {97703270-c093-448f-a5ad-c4f8b641f133} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:48.502505 [ 8835 ] {55e7ce48-f1a2-4920-ba96-8664c6920b6e} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:48.636494 [ 8835 ] {efc18026-6e76-4065-9ff4-d433d9a70bee} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:48.726405 [ 8835 ] {0391e570-7697-420e-957b-c682e16e5283} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:48.774345 [ 8835 ] {1de580bf-0000-4814-b999-fc0a3bd7a5ad} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:48.860029 [ 8835 ] {221391a1-81da-4b4d-84b9-7bdf5de6ae16} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:48.991165 [ 8835 ] {a0de73b9-10f7-4822-be38-7e851d1d6116} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:49.121876 [ 8835 ] {cac02ab1-85b7-472a-9905-f611d7325f5e} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:49.249905 [ 8835 ] {21e37e78-065b-4405-bdd3-40d716f0f917} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:49.353546 [ 8835 ] {e708ba78-ae40-4ad2-aa46-04b06b2cfe16} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:49.440100 [ 8835 ] {75648a31-c488-4e2a-849c-f48e69ee8762} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:49.487321 [ 8835 ] {6082186c-ae77-4c16-90cf-dd5eabaa2bc2} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:49.569193 [ 8835 ] {3b015b74-0cbd-4be8-a045-2e7628bbf88e} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:49.652834 [ 8835 ] {82344994-dfe9-4704-8eb0-84f97f41bbe2} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:49.695002 [ 8835 ] {59397f17-8034-4f68-aa7e-92d253ce230a} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:49.781139 [ 8835 ] {4b350475-f996-4ec9-be56-f1bf48145740} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:49.911541 [ 8835 ] {6f18a9e2-1797-4c37-84b2-9fed632e3014} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:50.022363 [ 8835 ] {adb0b04c-c594-4f55-aea0-e278607cadb8} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:50.113081 [ 8835 ] {b7a5830a-0670-432b-b5ce-17b971145b45} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:50.157584 [ 8835 ] {8cfe28a5-8719-451b-8369-b280901fb4af} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:50.223345 [ 8835 ] {50c4363b-6b34-4af9-957c-3c03b466e084} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:50.271018 [ 8835 ] {96ce56fb-6088-4fd2-8575-bdc4318c7bba} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:50.353619 [ 8835 ] {56f66ca2-b06c-4e85-9bad-32b2f28a58da} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:50.440463 [ 8835 ] {725c34f9-a72d-4da4-8963-bfa952b89255} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:50.568898 [ 8835 ] {17fb8dd9-1d2b-4a9f-8f66-c18231b787f6} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:50.651241 [ 8835 ] {d24e7454-1161-475c-8a5a-4a3ae9c2fafb} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:50.748593 [ 8835 ] {17d1e906-265f-4705-b2bf-8df18d1b121d} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:50.796247 [ 8835 ] {61c5dd2a-1198-44ed-bd2b-01054f110b7e} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:50.882624 [ 8835 ] {ed769dd5-af2f-4b36-b9a7-6012c57a6be9} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:51.019556 [ 8835 ] {7b939b9b-e0ce-4ddb-86f6-c2515af67a0e} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:51.104197 [ 8835 ] {1511344c-8d8e-4e89-b127-0059fc9d091d} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:51.136335 [ 750 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:27:51.143566 [ 8835 ] {ea4edf0a-871b-40f3-9caa-30ac758abf5f} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:51.211830 [ 750 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:27:51.229445 [ 8835 ] {da8acaa1-9084-431a-a900-decf91d39f21} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:51.271984 [ 8835 ] {7ae03103-42a0-4aaa-9084-670512f0c306} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:51.351405 [ 8835 ] {81a5ef73-c50f-4061-982e-eb42d8e92fd8} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:51.466886 [ 8835 ] {bd9b8eb0-f762-4131-ad5f-cc8cc5adcc28} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:51.505142 [ 22252 ] {7948298f-b734-48f1-b7b3-ed1cdeed4d7f} executeQuery: Code: 524. DB::Exception: ALTER of key column id0 from type String to type UUID is not safe because it can change the representation of primary key. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40348) (comment: 00714_alter_uuid.sql) (in query: ALTER TABLE uuid MODIFY COLUMN id0 UUID;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3392: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de91d1c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:51.505853 [ 22252 ] {7948298f-b734-48f1-b7b3-ed1cdeed4d7f} TCPHandler: Code: 524. DB::Exception: ALTER of key column id0 from type String to type UUID is not safe because it can change the representation of primary key. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3392: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de91d1c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:51.526820 [ 22252 ] {b3441ab5-c3ae-4d71-843a-ffd6dc1c0989} executeQuery: Code: 524. DB::Exception: ALTER of key column id1 from type FixedString(36) to type UUID is not safe because it can change the representation of primary key. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40348) (comment: 00714_alter_uuid.sql) (in query: ALTER TABLE uuid MODIFY COLUMN id1 UUID;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3392: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de91d1c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:51.527434 [ 22252 ] {b3441ab5-c3ae-4d71-843a-ffd6dc1c0989} TCPHandler: Code: 524. DB::Exception: ALTER of key column id1 from type FixedString(36) to type UUID is not safe because it can change the representation of primary key. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3392: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de91d1c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:51.545712 [ 8835 ] {abe36e38-a88f-436d-83eb-ed61e3b21d1c} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:51.638066 [ 8835 ] {9926a7a3-0397-4b80-8938-f46e6a97b909} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:51.678592 [ 8835 ] {985b2210-db52-48a4-9be0-52819c6f0307} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:51.753891 [ 8835 ] {c0ffa13b-6d35-42ac-9817-0dd0bf3ad3a7} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:51.845383 [ 8835 ] {f9a19542-d213-4eb8-884d-125414310422} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:51.893961 [ 8835 ] {2cfaefff-448e-4405-bbd5-90799e576f82} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:51.975975 [ 8835 ] {9323f64f-574c-4da6-b7f8-eb62c65b3ec7} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:52.060647 [ 8835 ] {7d54bbe7-ecfd-4639-979a-31e582f0857d} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:52.155153 [ 8835 ] {521b1388-9fda-4ff3-82e0-bd4cadef9219} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:52.288290 [ 8835 ] {3f46227a-f4cb-4ba0-a882-ec4e933dd5e5} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:52.386944 [ 8835 ] {8a04c3a5-f73f-466d-b177-ced96fc86151} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:52.488491 [ 8835 ] {f40521cc-564f-4432-9d28-7df7a4161486} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:52.633362 [ 8835 ] {cead29a9-dc41-4cb9-9e1a-447276c9d1e1} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:52.681046 [ 22255 ] {78a9b76c-69fc-4b97-9d9a-5251dc9fb029} executeQuery: Code: 43. DB::Exception: Illegal type String expression, must be numeric type. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM numbers_mt('');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:64: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001a959628 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:43: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a9587b2 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:52.682959 [ 22255 ] {78a9b76c-69fc-4b97-9d9a-5251dc9fb029} TCPHandler: Code: 43. DB::Exception: Illegal type String expression, must be numeric type. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:64: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001a959628 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:43: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a9587b2 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:52.713329 [ 22255 ] {4bab402b-2beb-4412-81ee-c34448476310} executeQuery: Code: 42. DB::Exception: Number of arguments for function greaterOrEquals doesn't match: passed 1, should be 2: While processing greaterOrEquals([]): While processing (SELECT greaterOrEquals([])) AS rvukm. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT addQuarters([]), ( SELECT ngramMinHashArg('\0') ) , ( SELECT greaterOrEquals([]) ) AS rvukm, ( SELECT (CAST(('\0') AS DateTime)) ) AS l, [], arrayDotProduct();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 2024.09.24 01:27:52.714974 [ 8835 ] {f1d06315-7fb8-4f84-b1a4-20f5b3749b3c} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:52.715321 [ 22255 ] {4bab402b-2beb-4412-81ee-c34448476310} TCPHandler: Code: 42. DB::Exception: Number of arguments for function greaterOrEquals doesn't match: passed 1, should be 2: While processing greaterOrEquals([]): While processing (SELECT greaterOrEquals([])) AS rvukm. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 2024.09.24 01:27:52.852635 [ 8835 ] {889d78aa-af63-4317-9ad7-f36f19291f7b} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:52.869015 [ 22255 ] {393f5482-633d-4b25-a4db-dd6e43501d98} executeQuery: Code: 36. DB::Exception: Argument 'cluster_name' must be a literal with type String, got Array: While processing (SELECT * FROM hdfsCluster([], [])) AS _subquery768: While processing arrayFlatten([], (SELECT * FROM hdfsCluster([], [])) AS _subquery768). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT arrayFlatten([], ( SELECT * FROM hdfsCluster([], []) ) );), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000011950228 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da4a3e8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da4a0dd in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionCluster.h:59: DB::ITableFunctionCluster::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9beb1d in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97c5c1 in /usr/bin/clickhouse 10. /build/src/TableFunctions/ITableFunctionCluster.h:47: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9be7d7 in /usr/bin/clickhouse 11. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 12. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 13. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 21. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8dec5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9173d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f0b7 in /usr/bin/clickhouse 2024.09.24 01:27:52.871132 [ 22255 ] {393f5482-633d-4b25-a4db-dd6e43501d98} TCPHandler: Code: 36. DB::Exception: Argument 'cluster_name' must be a literal with type String, got Array: While processing (SELECT * FROM hdfsCluster([], [])) AS _subquery768: While processing arrayFlatten([], (SELECT * FROM hdfsCluster([], [])) AS _subquery768). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000011950228 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da4a3e8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da4a0dd in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionCluster.h:59: DB::ITableFunctionCluster::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9beb1d in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97c5c1 in /usr/bin/clickhouse 10. /build/src/TableFunctions/ITableFunctionCluster.h:47: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9be7d7 in /usr/bin/clickhouse 11. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 12. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 13. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 21. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8dec5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9173d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f0b7 in /usr/bin/clickhouse 2024.09.24 01:27:52.879201 [ 22255 ] {8f0f95ea-b324-4ca1-892f-5fbcfd8e9726} executeQuery: Code: 42. DB::Exception: Table function 'format' requires 2 or 3 arguments: format, [structure], data. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM format('\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFormat.cpp:44: DB::TableFunctionFormat::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9d7baa in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:52.880569 [ 22255 ] {8f0f95ea-b324-4ca1-892f-5fbcfd8e9726} TCPHandler: Code: 42. DB::Exception: Table function 'format' requires 2 or 3 arguments: format, [structure], data. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFormat.cpp:44: DB::TableFunctionFormat::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9d7baa in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:52.949122 [ 8835 ] {747a8bf6-0e87-46b3-adfd-9a4cb463c2d1} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:53.027877 [ 22255 ] {f9edb514-b991-497e-a842-8b8d76a3b3bc} executeQuery: Code: 184. DB::Exception: Aggregate function groupArrayMovingSum(NULL) is found in wrong place in query: While processing groupArrayMovingSum(NULL). (ILLEGAL_AGGREGATION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM cosn(groupArrayMovingSum(NULL), -3852780);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Interpreters/GetAggregatesVisitor.h:67: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x000000001bfd84d1 in /usr/bin/clickhouse 7. /build/src/Interpreters/GetAggregatesVisitor.h:59: DB::GetAggregatesMatcher::visit(std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x000000001bfd83e1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfd81e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfd8b01 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfd816a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfc2765 in /usr/bin/clickhouse 12. /build/src/Interpreters/GetAggregatesVisitor.h:112: DB::assertNoAggregates(std::shared_ptr const&, char const*) @ 0x000000001cfada79 in /usr/bin/clickhouse 13. /build/src/Interpreters/TreeRewriter.cpp:1353: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001cfa2747 in /usr/bin/clickhouse 14. /build/src/Interpreters/evaluateConstantExpression.cpp:70: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08b48e in /usr/bin/clickhouse 15. /build/src/Interpreters/evaluateConstantExpression.cpp:117: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08bcfd in /usr/bin/clickhouse 16. /build/src/Interpreters/evaluateConstantExpression.cpp:125: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08be12 in /usr/bin/clickhouse 17. /build/src/Storages/StorageURL.cpp:1249: DB::StorageURL::collectHeaders(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::vector>&, std::shared_ptr) @ 0x000000001da073df in /usr/bin/clickhouse 18. /build/src/TableFunctions/TableFunctionS3.cpp:70: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a997f09 in /usr/bin/clickhouse 19. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a999d04 in /usr/bin/clickhouse 20. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 21. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 22. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 2024.09.24 01:27:53.029856 [ 22255 ] {f9edb514-b991-497e-a842-8b8d76a3b3bc} TCPHandler: Code: 184. DB::Exception: Aggregate function groupArrayMovingSum(NULL) is found in wrong place in query: While processing groupArrayMovingSum(NULL). (ILLEGAL_AGGREGATION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Interpreters/GetAggregatesVisitor.h:67: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x000000001bfd84d1 in /usr/bin/clickhouse 7. /build/src/Interpreters/GetAggregatesVisitor.h:59: DB::GetAggregatesMatcher::visit(std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x000000001bfd83e1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfd81e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfd8b01 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfd816a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfc2765 in /usr/bin/clickhouse 12. /build/src/Interpreters/GetAggregatesVisitor.h:112: DB::assertNoAggregates(std::shared_ptr const&, char const*) @ 0x000000001cfada79 in /usr/bin/clickhouse 13. /build/src/Interpreters/TreeRewriter.cpp:1353: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001cfa2747 in /usr/bin/clickhouse 14. /build/src/Interpreters/evaluateConstantExpression.cpp:70: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08b48e in /usr/bin/clickhouse 15. /build/src/Interpreters/evaluateConstantExpression.cpp:117: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08bcfd in /usr/bin/clickhouse 16. /build/src/Interpreters/evaluateConstantExpression.cpp:125: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08be12 in /usr/bin/clickhouse 17. /build/src/Storages/StorageURL.cpp:1249: DB::StorageURL::collectHeaders(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::vector>&, std::shared_ptr) @ 0x000000001da073df in /usr/bin/clickhouse 18. /build/src/TableFunctions/TableFunctionS3.cpp:70: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a997f09 in /usr/bin/clickhouse 19. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a999d04 in /usr/bin/clickhouse 20. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 21. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 22. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 2024.09.24 01:27:53.084514 [ 8835 ] {839b1824-44cd-489c-bcbe-3ebd38fb09de} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:53.174730 [ 8835 ] {ea4cbd98-b9ca-4ade-bbf4-b692bcbb1691} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:53.184647 [ 22255 ] {4bcaf029-29b3-4ca2-8e0f-29026a576aba} executeQuery: Code: 42. DB::Exception: The signature of table function azureBlobStorageCluster shall be the following: - cluster, connection_string|storage_account_url, container_name, blobpath, [account_name, account_key, format, compression, structure]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM azureBlobStorageCluster();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionCluster.h:53: DB::ITableFunctionCluster::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9e9fb8 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:174: DB::TableFunctionAzureBlobStorage::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9e41c4 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionCluster.h:47: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9e9db7 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:53.186241 [ 22255 ] {4bcaf029-29b3-4ca2-8e0f-29026a576aba} TCPHandler: Code: 42. DB::Exception: The signature of table function azureBlobStorageCluster shall be the following: - cluster, connection_string|storage_account_url, container_name, blobpath, [account_name, account_key, format, compression, structure]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionCluster.h:53: DB::ITableFunctionCluster::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9e9fb8 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:174: DB::TableFunctionAzureBlobStorage::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9e41c4 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionCluster.h:47: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9e9db7 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:53.193886 [ 22255 ] {47d09255-b081-452d-a799-dd7d58c47548} executeQuery: Code: 42. DB::Exception: Table function 'remote' requires from 1 to 6 parameters: [, , ] [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM remoteSecure();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b200fea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x000000001a94f169 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:118: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a94ab5d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:53.195338 [ 22255 ] {47d09255-b081-452d-a799-dd7d58c47548} TCPHandler: Code: 42. DB::Exception: Table function 'remote' requires from 1 to 6 parameters: [, , ] [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b200fea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x000000001a94f169 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:118: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a94ab5d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:53.335574 [ 8835 ] {611038db-0108-4e36-b846-1fbd1f9b2640} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:53.431412 [ 8835 ] {3614bae8-0116-412c-9f8b-947c112982df} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:53.492290 [ 22255 ] {d8d9d31b-9dad-4336-90bb-3df3b22a6eec} executeQuery: Code: 36. DB::Exception: The function 'dense_rank' can only be used as a window function, not as an aggregate function: While executing AggregatingTransform. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT dense_rank();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:1433: DB::WindowFunction::fail() const @ 0x000000001eccc98c in /usr/bin/clickhouse 7. ? @ 0x000000001eccb585 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/IAggregateFunction.h:541: DB::IAggregateFunctionHelper::addBatchSinglePlace(unsigned long, unsigned long, char*, DB::IColumn const**, DB::Arena*, long) const @ 0x000000001eccbcd1 in /usr/bin/clickhouse 9. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeWithoutKeyImpl(char*&, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, DB::Arena*) const @ 0x000000001c0ded6e in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1586: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02108f in /usr/bin/clickhouse 11. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 2024.09.24 01:27:53.506561 [ 22255 ] {d8d9d31b-9dad-4336-90bb-3df3b22a6eec} TCPHandler: Code: 36. DB::Exception: The function 'dense_rank' can only be used as a window function, not as an aggregate function: While executing AggregatingTransform. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:1433: DB::WindowFunction::fail() const @ 0x000000001eccc98c in /usr/bin/clickhouse 7. ? @ 0x000000001eccb585 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/IAggregateFunction.h:541: DB::IAggregateFunctionHelper::addBatchSinglePlace(unsigned long, unsigned long, char*, DB::IColumn const**, DB::Arena*, long) const @ 0x000000001eccbcd1 in /usr/bin/clickhouse 9. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeWithoutKeyImpl(char*&, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, DB::Arena*) const @ 0x000000001c0ded6e in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1586: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02108f in /usr/bin/clickhouse 11. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 2024.09.24 01:27:53.516700 [ 22255 ] {0abef1b3-4f4f-47d6-b7b0-9b419ec41844} executeQuery: Code: 42. DB::Exception: Table function 'jdbc' requires 2 or 3 arguments: jdbc('DSN', table) or jdbc('DSN', schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM jdbc();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:36: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9c0e08 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:53.518513 [ 22255 ] {0abef1b3-4f4f-47d6-b7b0-9b419ec41844} TCPHandler: Code: 42. DB::Exception: Table function 'jdbc' requires 2 or 3 arguments: jdbc('DSN', table) or jdbc('DSN', schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:36: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9c0e08 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:53.535935 [ 22255 ] {3ed87091-6375-4ac3-9dce-c759b5c87f06} executeQuery: Code: 42. DB::Exception: Number of arguments for function getServerPort doesn't match: passed 2, should be 1: While processing getServerPort(CAST(ngramDistanceCaseInsensitiveUTF8(CAST(46703.848572, 'String'), '\0'), 'String'), '\0'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT getServerPort((CAST((ngramDistanceCaseInsensitiveUTF8((CAST((46703.848572) AS String)), '\0')) AS String)), '\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:27:53.538322 [ 22255 ] {3ed87091-6375-4ac3-9dce-c759b5c87f06} TCPHandler: Code: 42. DB::Exception: Number of arguments for function getServerPort doesn't match: passed 2, should be 1: While processing getServerPort(CAST(ngramDistanceCaseInsensitiveUTF8(CAST(46703.848572, 'String'), '\0'), 'String'), '\0'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:27:53.570896 [ 22255 ] {40c1d12b-ad62-4e81-9d09-8a53906fae9d} executeQuery: Code: 36. DB::Exception: Hosts pattern must be string literal (in single quotes). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM remoteSecure(( SELECT * FROM input() ) , ( SELECT subtractQuarters(( SELECT countSubstrings(NULL, '\0') ) AS pe) ) AS azvqszx, emptyArrayToSingle(minMappedArrays([], '\0')));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [57]) @ 0x000000000ddb69fe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:151: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a94ae44 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:53.571016 [ 8835 ] {86ff98a8-bbd3-4cae-9f4e-592266efe1fd} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:53.573224 [ 22255 ] {40c1d12b-ad62-4e81-9d09-8a53906fae9d} TCPHandler: Code: 36. DB::Exception: Hosts pattern must be string literal (in single quotes). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [57]) @ 0x000000000ddb69fe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:151: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a94ae44 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:27:53.588457 [ 22255 ] {1f3f0a50-172c-475a-8f6c-43b72a103061} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing '*Yy8', '', '', CAST('', 'Date'). (CANNOT_PARSE_DATE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '*Yy8', '', '', (CAST(('') AS Date));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000f82339e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x000000001398bef5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1087: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x000000001398bb71 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:719: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000b54ea97 in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:743: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54e78a in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:774: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54e745 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1059: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b54e41f in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b54e2ed in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b547c38 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b536239 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b535568 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53475e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b3d70 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3d06 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3ca0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3c40 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b3beb in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 2024.09.24 01:27:53.590988 [ 22255 ] {1f3f0a50-172c-475a-8f6c-43b72a103061} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing '*Yy8', '', '', CAST('', 'Date'). (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000f82339e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x000000001398bef5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1087: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x000000001398bb71 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:719: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000b54ea97 in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:743: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54e78a in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:774: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54e745 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1059: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b54e41f in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b54e2ed in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b547c38 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b536239 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b535568 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53475e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b3d70 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3d06 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3ca0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3c40 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b3beb in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 2024.09.24 01:27:53.662790 [ 8835 ] {ab4f2222-9f1d-49eb-9441-6af9ab6cef4b} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:53.801715 [ 8835 ] {3a8af69a-bca8-420e-9795-223fbbca97f2} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:53.845126 [ 8835 ] {a31031c2-fdbd-4f3e-8fc3-eb3e80216fcd} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:53.901010 [ 8835 ] {2b4e3df0-1e64-434d-8cd7-7b9c86c78f6c} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:53.991913 [ 8835 ] {65765a6e-6e06-4173-ab2f-bb5453346f8b} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:54.034211 [ 8835 ] {aae45e52-d042-451d-bd71-6a6aa0ba1335} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:54.102712 [ 8835 ] {58a16f3b-9bff-4502-9b02-cc52e404c2c0} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:54.169563 [ 8835 ] {8962621d-f72c-4b03-b96f-7e40d2340198} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:54.218857 [ 8835 ] {da78c3a6-9503-4c6a-9ff9-881a579ab857} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:54.627620 [ 8835 ] {368707a1-36a0-45eb-b33a-e1662197ea9a} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:54.736877 [ 8835 ] {c92f70d5-412e-4a16-9fdd-e179d4137dd0} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:54.777205 [ 8835 ] {d75db90e-ccf1-43da-aae2-780edf2fbc31} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:54.884356 [ 8835 ] {5573137a-d98e-41a3-86bc-0b97e919fb97} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:54.993993 [ 8835 ] {d15fc691-e165-498f-85d2-5d1114e03f3b} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:55.043526 [ 8835 ] {fbc3c991-9174-4813-85bf-6d1d5d58c5b5} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:55.136023 [ 8835 ] {839dd7f4-5f8e-40e7-804b-e57a8abf77c3} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:55.179184 [ 8835 ] {e8f48fe6-e9e2-4935-8b24-a3a7725aa41d} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:55.333864 [ 8835 ] {2b95d770-7b0a-42d9-af7d-951cc3c94251} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:55.441152 [ 8835 ] {69e41d3c-0947-47c1-844d-8a0c8d2dbc78} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:55.588366 [ 8835 ] {b524e71e-650f-4bb9-b371-4113586cc5d3} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:55.739950 [ 8835 ] {1ba16147-3936-4cfe-ba37-c42f2f69ba21} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:55.882146 [ 8835 ] {6165ff59-650f-47e7-bc6d-ba5ebd1ce3de} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:55.983716 [ 8835 ] {96c5fb16-f54d-4aa3-ae2d-449e32c2a625} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:56.095903 [ 8835 ] {b1e57583-3058-4dea-8789-e6c4aaef9bb5} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:56.146321 [ 8835 ] {da959559-fe69-414b-b984-0895a2af5e7d} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:56.279350 [ 8835 ] {6a1d5157-5d97-485f-abfd-c1769d402604} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:56.378244 [ 8835 ] {0823b308-8a77-4fb4-be23-813cee12cf4d} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:56.435088 [ 8835 ] {ce4a06e3-bf15-4075-9b3f-f9fe1b2fe171} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:56.546090 [ 8835 ] {acdee1ee-3044-46d6-9422-37be96cfd15a} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:56.602772 [ 8835 ] {c25a1238-55ee-46e0-b1b1-0f8e3deffb59} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:56.707773 [ 8835 ] {0919e30e-84ca-4f74-9ada-30b776a6ba6a} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:56.848195 [ 8835 ] {26b56511-52a1-4bcc-b74b-677117d9715f} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:56.967431 [ 8835 ] {7cd1441f-2113-4ed0-951e-92ddfa663621} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:57.017982 [ 8835 ] {ddf26b84-964a-4d88-ab52-f8bd8cddcdb9} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:57.101944 [ 8835 ] {45524248-8ab9-4083-afe9-bcdc668fdff9} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:57.146023 [ 8835 ] {c91676db-e5c6-4d52-874c-fb825da01b97} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:57.243571 [ 8835 ] {fc225b1f-1d6f-4090-a71d-6bb59b440e2b} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:57.297071 [ 8835 ] {b7f795d6-6031-4e71-97ff-673157992ef9} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:57.409291 [ 8835 ] {c81b464d-4be2-4669-8b8d-9da257448fd2} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:57.499925 [ 8835 ] {fa900bfb-0470-44bd-9b1a-052dda3379d1} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:57.572567 [ 8835 ] {add3eda2-6bb6-4297-b9bb-45ba354aa7ec} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:57.691092 [ 8835 ] {99a059ac-852c-4039-996d-78630db5ffc9} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:57.806927 [ 8835 ] {dfc1fe29-3bc1-4a59-b4c1-072fb92f4a16} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:57.913730 [ 8835 ] {92efeee7-0162-454b-aa7f-0dc5003f85bf} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:57.957443 [ 8835 ] {c697ea96-8015-46c5-ad7e-7546572846a9} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:58.036140 [ 8835 ] {9049692a-0653-4b5c-9a3a-b6810c176655} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:58.087870 [ 8835 ] {b853d639-3a4d-41c6-b1f0-ef52751012c3} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:58.192681 [ 8835 ] {1e929595-75b1-4443-a666-e2707d76e194} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:58.239443 [ 8835 ] {48c70b24-9591-4ebf-a5ea-8aac2c3ecae7} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:58.340090 [ 8835 ] {d3387d1c-6cab-4f49-a711-97d37118a04c} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:58.400349 [ 8835 ] {49b0f57a-e5c6-4b78-9d24-2b0fd4d70a3a} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:58.491503 [ 8835 ] {990b8209-c9ef-4bf4-9781-408d6ffec848} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:58.636197 [ 8835 ] {05b59389-2064-487c-87b1-d65140277e29} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:58.688990 [ 8835 ] {ec1d3484-dfd8-4988-ab4e-c9a2f2bd40e6} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:58.788315 [ 8835 ] {e2c2f5b5-1544-459d-8e3b-1518b67b65f7} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:58.931383 [ 8835 ] {089d0b37-11c1-4396-864c-d17a4e3af380} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:59.077163 [ 8835 ] {3ed16618-b2e4-496f-a5ef-0dcea04283ae} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:59.213180 [ 8835 ] {ed8ce9a3-a1ea-4f26-8af7-e9c2539ccc3c} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:59.368763 [ 8835 ] {ad95a027-69b9-4f68-a0e1-c1f84d6b9b19} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:59.496329 [ 8835 ] {6e000d68-d426-463a-b640-a3e8960ed04f} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:59.536135 [ 8835 ] {de0adca3-5707-46b0-9954-19bcfc382923} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:59.691271 [ 8835 ] {3d48f394-4db2-43bf-bf07-db6a94da632f} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:59.826912 [ 8835 ] {b3199048-1e9a-4cb3-988b-2b0c51cf7a7b} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:59.876872 [ 8835 ] {1f5b6a01-49e2-4635-b986-1017abdda09e} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:27:59.970723 [ 8835 ] {0f4043f7-c4e8-4fab-a207-48c366c5c28e} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:00.032141 [ 8835 ] {747647ab-7344-418c-a470-4b57dc8ad6df} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:00.142635 [ 8835 ] {c06dd506-0578-41e6-8630-d83b1776a69b} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:00.200486 [ 8835 ] {d0141051-d422-4e99-95b7-532fae0978af} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:00.301436 [ 8835 ] {07ff1b62-783d-43ee-8b24-a54ec318a3ba} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:00.417746 [ 8835 ] {7c59226e-54d2-422d-a418-afd9f3235033} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:00.535492 [ 8835 ] {bef45017-89e2-4662-9812-4a8d51e87c27} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:00.609376 [ 8835 ] {ce49e81e-e854-4618-8b14-859130ae2d37} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:00.709268 [ 8835 ] {73402e7e-e90c-4a15-9e1e-5d97f6008aa6} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:00.766425 [ 8835 ] {3137506b-6f3e-44c0-b2e0-c5ad21a7cd85} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:00.862801 [ 8835 ] {594450d4-a892-4ea0-b2e5-c824c182c6af} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:00.909458 [ 8835 ] {a2241023-b9b9-4f77-bd23-ff69edba1ff0} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:01.003440 [ 8835 ] {e87e0288-1949-4288-829b-b4a6e9af6895} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:01.164915 [ 8835 ] {68216c8e-1de3-433e-b38d-5839ae09488e} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:01.286318 [ 8835 ] {4362a086-e083-467e-95a3-3ca6cecd8181} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:01.431124 [ 8835 ] {92139a4f-3c58-4478-bce4-dd0aa373ff82} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:01.563521 [ 8835 ] {677a4ceb-31d1-46b1-9948-2763d47f5248} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:01.705356 [ 8835 ] {cc1af97f-f062-46cf-abe7-e3b46ec3a770} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:01.884058 [ 8835 ] {746b97a6-01e1-4ff4-83c2-28e2d364d868} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:01.926654 [ 8835 ] {d51ebcb1-3556-4037-abeb-084df86f2bb4} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:02.016740 [ 8835 ] {a894095b-6c24-4e0c-8977-40571a8b944a} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:02.151890 [ 8835 ] {b18d94f6-b689-434d-8b14-3f02d17aa02b} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:02.238013 [ 8835 ] {cf44cf99-60f1-4f95-8bd5-0ce4222e988a} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:02.276782 [ 8835 ] {1f54c4c4-e109-48a8-abe8-bb1bf8ce7575} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:02.370702 [ 8835 ] {b21518e5-d366-4175-996f-82dd5fd4ad04} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:02.513006 [ 8835 ] {c932bf6b-d3b0-4ce1-8d48-a6cde7e46325} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:02.653416 [ 8835 ] {c315c613-4ea1-49c4-b35d-e343eda00808} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:02.673068 [ 22251 ] {026ab0ce-e665-4309-8c3b-d837aef8fc04} executeQuery: Code: 43. DB::Exception: Illegal types Decimal(6, 4) and Decimal(6, 4) of arguments for aggregate function covarPop. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40588) (comment: 00700_decimal_empty_aggregates.sql) (in query: SELECT covarPop(a, a), covarPop(b, b), covarPop(c, c) FROM decimal;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String const&) @ 0x0000000013dfd9a8 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionStatisticsSimple.h:269: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionStatisticsBinary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000015c22b51 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:28:02.674050 [ 22251 ] {026ab0ce-e665-4309-8c3b-d837aef8fc04} TCPHandler: Code: 43. DB::Exception: Illegal types Decimal(6, 4) and Decimal(6, 4) of arguments for aggregate function covarPop. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String const&) @ 0x0000000013dfd9a8 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionStatisticsSimple.h:269: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionStatisticsBinary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000015c22b51 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:28:02.752907 [ 8835 ] {147ee273-6389-4ea4-b3b3-ef9ae0663984} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:02.808448 [ 8835 ] {89048d38-1a80-4c74-ab11-fa83aed66011} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:02.824736 [ 22251 ] {5f6dc097-6f9f-411a-aec1-257331c2fda2} executeQuery: Code: 43. DB::Exception: Illegal types Decimal(6, 4) and Decimal(6, 4) of arguments for aggregate function covarSamp. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40588) (comment: 00700_decimal_empty_aggregates.sql) (in query: SELECT covarSamp(a, a), covarSamp(b, b), covarSamp(c, c) FROM decimal;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String const&) @ 0x0000000013dfd9a8 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionStatisticsSimple.h:269: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionStatisticsBinary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000015c22911 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:28:02.825772 [ 22251 ] {5f6dc097-6f9f-411a-aec1-257331c2fda2} TCPHandler: Code: 43. DB::Exception: Illegal types Decimal(6, 4) and Decimal(6, 4) of arguments for aggregate function covarSamp. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String const&) @ 0x0000000013dfd9a8 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionStatisticsSimple.h:269: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionStatisticsBinary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000015c22911 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:28:02.925602 [ 8835 ] {35ead88c-c0a2-4db3-a9ac-acdbe5baf09d} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:02.972483 [ 22251 ] {f134f9b6-17b0-43ad-85ad-e5764b5600b8} executeQuery: Code: 43. DB::Exception: Illegal types Decimal(6, 4) and Decimal(6, 4) of arguments for aggregate function corr. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40588) (comment: 00700_decimal_empty_aggregates.sql) (in query: SELECT corr(a, a), corr(b, b), corr(c, c) FROM decimal;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String const&) @ 0x0000000013dfd9a8 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionStatisticsSimple.h:269: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionStatisticsBinary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000015cee271 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:28:02.973506 [ 22251 ] {f134f9b6-17b0-43ad-85ad-e5764b5600b8} TCPHandler: Code: 43. DB::Exception: Illegal types Decimal(6, 4) and Decimal(6, 4) of arguments for aggregate function corr. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String const&) @ 0x0000000013dfd9a8 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionStatisticsSimple.h:269: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionStatisticsBinary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000015cee271 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:28:03.018545 [ 8835 ] {233be051-e3f8-432c-ae44-a3939bd0917a} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:03.151483 [ 8835 ] {3e04d574-3da1-4740-a045-2363d788ee8f} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:03.288824 [ 8835 ] {8cbbb7b7-88e5-4b98-b0a0-ee7a3a81bb0e} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:03.370890 [ 8835 ] {69894b25-1a1a-451b-97d5-a21f864b423d} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:03.421671 [ 8835 ] {4f262dff-db6c-469c-9bf0-b4d9490296f0} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:03.509477 [ 8835 ] {35f96782-0a08-40ab-b13c-f267eb7cc960} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:03.605804 [ 8835 ] {a517949e-d85a-4202-acde-468e31f1a420} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:03.628533 [ 22255 ] {fb275e15-bd82-4e6c-b49e-d546252e7354} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 10.019751102 seconds, maximum: 10. (TIMEOUT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM generateRandom();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b87a98c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b879dd3 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x000000001b879ce8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x000000001ccaa2b9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6d0a80 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6d115c in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d09f6 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 17. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a610e2 in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:03.741395 [ 8835 ] {fd94206d-c68b-4c28-8b21-6483e8271518} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:03.835008 [ 8835 ] {20f927f1-3d3d-428b-b1c9-fbe0c52a5c43} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:03.917079 [ 6138 ] {fd053ff2-dfce-4440-988c-e2a6297d32d5} executeQuery: Code: 190. DB::Exception: Elements 'n.x' and 'n.y' of Nested data structure 'n' (Array columns) have different array sizes. (SIZES_OF_ARRAYS_DONT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:38148) (comment: 00698_validate_array_sizes_for_nested.sql) (in query: INSERT INTO mergetree_00698 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String&) @ 0x000000001b9d7928 in /usr/bin/clickhouse 6. /build/src/DataTypes/NestedUtils.cpp:257: DB::Nested::validateArraySizes(DB::Block const&) @ 0x000000001b9d63a2 in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:16: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2ec1f in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:28:03.917123 [ 22255 ] {fb275e15-bd82-4e6c-b49e-d546252e7354} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 10.019751102 seconds, maximum: 10. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b87a98c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b879dd3 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x000000001b879ce8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x000000001ccaa2b9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6d0a80 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6d115c in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d09f6 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 17. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a610e2 in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:03.918627 [ 6138 ] {fd053ff2-dfce-4440-988c-e2a6297d32d5} TCPHandler: Code: 190. DB::Exception: Elements 'n.x' and 'n.y' of Nested data structure 'n' (Array columns) have different array sizes. (SIZES_OF_ARRAYS_DONT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String&) @ 0x000000001b9d7928 in /usr/bin/clickhouse 6. /build/src/DataTypes/NestedUtils.cpp:257: DB::Nested::validateArraySizes(DB::Block const&) @ 0x000000001b9d63a2 in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:16: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2ec1f in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:28:03.967957 [ 8835 ] {854eebb6-a3e5-4bb5-987d-06a786e3be7a} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:04.079468 [ 8835 ] {9c70c193-5fa7-46e8-8899-d2ef4f5451d9} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:04.092096 [ 22255 ] {f2aa0897-a63a-4503-aff9-785349c81418} executeQuery: Code: 36. DB::Exception: Argument 'database_path' must be a literal with type String, got Array. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM sqlite([], '\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000011950228 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da4a3e8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da4a0dd in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionSQLite.cpp:66: DB::TableFunctionSQLite::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9d27c5 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:04.093986 [ 22255 ] {f2aa0897-a63a-4503-aff9-785349c81418} TCPHandler: Code: 36. DB::Exception: Argument 'database_path' must be a literal with type String, got Array. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000011950228 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da4a3e8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da4a0dd in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionSQLite.cpp:66: DB::TableFunctionSQLite::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9d27c5 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:04.103098 [ 22255 ] {c564ae4a-3823-4cd5-b950-20a27005bbb5} executeQuery: Code: 42. DB::Exception: Function mapPopulateSeries accepts at least one map or two arrays arguments, and optional max key argument: While processing mapPopulateSeries(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT mapPopulateSeries();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/array/mapPopulateSeries.cpp:92: DB::FunctionMapPopulateSeries::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000135b3dce in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:28:04.105273 [ 22255 ] {c564ae4a-3823-4cd5-b950-20a27005bbb5} TCPHandler: Code: 42. DB::Exception: Function mapPopulateSeries accepts at least one map or two arrays arguments, and optional max key argument: While processing mapPopulateSeries(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/array/mapPopulateSeries.cpp:92: DB::FunctionMapPopulateSeries::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000135b3dce in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:28:04.116753 [ 22255 ] {859ed10d-70fb-4949-91b4-ddf5fc9f4205} executeQuery: Code: 42. DB::Exception: Storage Azure requires 3 to 7 arguments: AzureBlobStorage(connection_string|storage_account_url, container_name, blobpath, [account_name, account_key, format, compression, structure]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM azureBlobStorage((CAST(((CAST(([]) AS String))) AS DateTime)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [184]) @ 0x000000001a9e60fe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:66: DB::TableFunctionAzureBlobStorage::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9e278a in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:174: DB::TableFunctionAzureBlobStorage::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9e41c4 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:04.118438 [ 22255 ] {859ed10d-70fb-4949-91b4-ddf5fc9f4205} TCPHandler: Code: 42. DB::Exception: Storage Azure requires 3 to 7 arguments: AzureBlobStorage(connection_string|storage_account_url, container_name, blobpath, [account_name, account_key, format, compression, structure]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [184]) @ 0x000000001a9e60fe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:66: DB::TableFunctionAzureBlobStorage::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9e278a in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:174: DB::TableFunctionAzureBlobStorage::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9e41c4 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:04.168325 [ 8835 ] {d509794b-0ed5-48e5-88e9-be1e0120b5dc} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:04.216593 [ 8835 ] {ed6976de-21cd-451a-8f6c-c86119a33aa4} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:04.308728 [ 8835 ] {a9dadff4-4556-4dfd-9110-0603f147741a} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:04.310120 [ 22255 ] {7ecb5339-c601-4d13-acae-f3e00f3ab09c} executeQuery: Code: 42. DB::Exception: Number of arguments for function __getScalar doesn't match: passed 0, should be 1: While processing __getScalar(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT __getScalar();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefe15 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:28:04.312611 [ 22255 ] {7ecb5339-c601-4d13-acae-f3e00f3ab09c} TCPHandler: Code: 42. DB::Exception: Number of arguments for function __getScalar doesn't match: passed 0, should be 1: While processing __getScalar(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefe15 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:28:04.435109 [ 8835 ] {57d5b874-ef97-4c46-925a-07be150ff039} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:04.521349 [ 8835 ] {e19c3fa5-524f-48ff-91b9-8e7087ca4c95} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:04.521708 [ 22255 ] {80e2af2b-b5b0-4a0e-b6c3-a9efb43e4c0a} executeQuery: Code: 170. DB::Exception: Bad get: has Array, requested String. (BAD_GET) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM jdbc('F', [(CAST(('k>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x000000000b78c8ac in /usr/bin/clickhouse 6. /build/src/Core/Field.h:890: auto& DB::Field::safeGet() @ 0x000000000b78c70d in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunctionXDBC.cpp:51: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9c11b2 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:04.523809 [ 22255 ] {80e2af2b-b5b0-4a0e-b6c3-a9efb43e4c0a} TCPHandler: Code: 170. DB::Exception: Bad get: has Array, requested String. (BAD_GET), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x000000000b78c8ac in /usr/bin/clickhouse 6. /build/src/Core/Field.h:890: auto& DB::Field::safeGet() @ 0x000000000b78c70d in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunctionXDBC.cpp:51: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9c11b2 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:04.566033 [ 8835 ] {f70e0dfc-cdbc-4cfb-8b66-5418e163ba7b} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:04.647404 [ 8835 ] {4ae4092f-1d71-44ac-8d29-1f8d5164efe4} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:04.675186 [ 22255 ] {94fcf36a-3be2-4167-ae0d-e77ebb2a7e3f} executeQuery: Code: 42. DB::Exception: Table function 'input' requires exactly 1 argument: structure. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM input(NULL, (CAST(([reverse('\0', (CAST((covarPop((CAST((( SELECT intHash64() ) , ( SELECT '@$7L(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionInput.cpp:40: DB::TableFunctionInput::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a988abd in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:04.677039 [ 22255 ] {94fcf36a-3be2-4167-ae0d-e77ebb2a7e3f} TCPHandler: Code: 42. DB::Exception: Table function 'input' requires exactly 1 argument: structure. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionInput.cpp:40: DB::TableFunctionInput::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a988abd in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:04.689612 [ 22255 ] {15223b3e-8aa1-4dc4-8c16-6fa2a362dfc7} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function toDate: While processing toRelativeYearNum(minSampleSizeConversion(CAST([], 'Date'), '\0'), ''). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toRelativeYearNum(minSampleSizeConversion((CAST(([]) AS Date)), '\0'), '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2103: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b535666 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53475e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b3d70 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3d06 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3ca0 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3c40 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b3beb in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:28:04.691353 [ 22255 ] {15223b3e-8aa1-4dc4-8c16-6fa2a362dfc7} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function toDate: While processing toRelativeYearNum(minSampleSizeConversion(CAST([], 'Date'), '\0'), ''). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2103: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b535666 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53475e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b3d70 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3d06 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3ca0 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3c40 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b3beb in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:28:04.770349 [ 8835 ] {f42b824f-8918-4221-b7dc-4def16c315dc} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:04.870619 [ 22255 ] {55e326b2-de67-46b8-a38d-eea6e51fbd4d} executeQuery: Code: 43. DB::Exception: Illegal type UInt32 of argument of function multiSearchFirstPositionCaseInsensitiveUTF8: While processing CAST([multiSearchFirstPositionCaseInsensitiveUTF8('\\kv@', 65386065)], 'DateTime'), CAST([';id{'], 'DateTime'), CAST(CAST(6225.147317, 'Date'), 'DateTime'), '', []: While processing (SELECT CAST([multiSearchFirstPositionCaseInsensitiveUTF8('\\kv@', 65386065)], 'DateTime'), CAST([';id{'], 'DateTime'), CAST(CAST(6225.147317, 'Date'), 'DateTime'), '', []) AS _subquery773: While processing (SELECT '"c;', '\0', (SELECT [49665.36]), (SELECT CAST([multiSearchFirstPositionCaseInsensitiveUTF8('\\kv@', 65386065)], 'DateTime'), CAST([';id{'], 'DateTime'), CAST(CAST(6225.147317, 'Date'), 'DateTime'), '', []), CAST(58384, 'DateTime')) AS hrxvyyo: While processing defaultValueOfArgumentType((SELECT '"c;', '\0', (SELECT [49665.36]), (SELECT CAST([multiSearchFirstPositionCaseInsensitiveUTF8('\\kv@', 65386065)], 'DateTime'), CAST([';id{'], 'DateTime'), CAST(CAST(6225.147317, 'Date'), 'DateTime'), '', []), CAST(58384, 'DateTime')) AS hrxvyyo, pi((SELECT NULL, NULL, [], '\0') AS _subquery770, (SELECT * FROM s3(NULL, [])) AS xefmkafj, [dictGetInt8OrDefault((SELECT positiveModulo([])) AS _subquery771, (SELECT '\0') AS llycdz)])). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT defaultValueOfArgumentType(( SELECT '"c;', '\0', ( SELECT [49665.36] ) , ( SELECT (CAST(([multiSearchFirstPositionCaseInsensitiveUTF8('\kv@', 65386065)]) AS DateTime)), (CAST(([';id{']) AS DateTime)), (CAST(((CAST((6225.147317) AS Date))) AS DateTime)), '', [] ) , (CAST((58384) AS DateTime)) ) AS hrxvyyo, pi(( SELECT NULL, NULL, [], '\0' ) , ( SELECT * FROM s3(NULL, []) ) AS xefmkafj, [dictGetInt8OrDefault(( SELECT pmod([]) ) , ( SELECT '\0' ) AS llycdz)]));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsMultiStringSearch.h:78: DB::FunctionsMultiStringSearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000011195408 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 2024.09.24 01:28:04.872858 [ 22255 ] {55e326b2-de67-46b8-a38d-eea6e51fbd4d} TCPHandler: Code: 43. DB::Exception: Illegal type UInt32 of argument of function multiSearchFirstPositionCaseInsensitiveUTF8: While processing CAST([multiSearchFirstPositionCaseInsensitiveUTF8('\\kv@', 65386065)], 'DateTime'), CAST([';id{'], 'DateTime'), CAST(CAST(6225.147317, 'Date'), 'DateTime'), '', []: While processing (SELECT CAST([multiSearchFirstPositionCaseInsensitiveUTF8('\\kv@', 65386065)], 'DateTime'), CAST([';id{'], 'DateTime'), CAST(CAST(6225.147317, 'Date'), 'DateTime'), '', []) AS _subquery773: While processing (SELECT '"c;', '\0', (SELECT [49665.36]), (SELECT CAST([multiSearchFirstPositionCaseInsensitiveUTF8('\\kv@', 65386065)], 'DateTime'), CAST([';id{'], 'DateTime'), CAST(CAST(6225.147317, 'Date'), 'DateTime'), '', []), CAST(58384, 'DateTime')) AS hrxvyyo: While processing defaultValueOfArgumentType((SELECT '"c;', '\0', (SELECT [49665.36]), (SELECT CAST([multiSearchFirstPositionCaseInsensitiveUTF8('\\kv@', 65386065)], 'DateTime'), CAST([';id{'], 'DateTime'), CAST(CAST(6225.147317, 'Date'), 'DateTime'), '', []), CAST(58384, 'DateTime')) AS hrxvyyo, pi((SELECT NULL, NULL, [], '\0') AS _subquery770, (SELECT * FROM s3(NULL, [])) AS xefmkafj, [dictGetInt8OrDefault((SELECT positiveModulo([])) AS _subquery771, (SELECT '\0') AS llycdz)])). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsMultiStringSearch.h:78: DB::FunctionsMultiStringSearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000011195408 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 2024.09.24 01:28:04.884755 [ 22255 ] {9cd52be3-9f5b-48ad-b2ef-9b4c7fe31de2} executeQuery: Code: 42. DB::Exception: Number of arguments for function domainWithoutWWW doesn't match: passed 2, should be 1: While processing domainWithoutWWW([[]], 928). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT domainWithoutWWW([[]], 928);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:28:04.886483 [ 22255 ] {9cd52be3-9f5b-48ad-b2ef-9b4c7fe31de2} TCPHandler: Code: 42. DB::Exception: Number of arguments for function domainWithoutWWW doesn't match: passed 2, should be 1: While processing domainWithoutWWW([[]], 928). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:28:04.901700 [ 8835 ] {7e7712a2-aac3-4ca5-a8b4-60592593c450} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:04.988603 [ 8835 ] {2d22dff9-cbe4-4b79-88a9-36d2f34eb76d} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:05.067779 [ 22255 ] {ccd502c8-0c22-462d-aa3e-2b3d79a0e1af} executeQuery: Code: 184. DB::Exception: Aggregate function anyLast() is found in wrong place in query: While processing anyLast(). (ILLEGAL_AGGREGATION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hdfsCluster(concat(anyLast()));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Interpreters/GetAggregatesVisitor.h:67: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x000000001bfd84d1 in /usr/bin/clickhouse 7. /build/src/Interpreters/GetAggregatesVisitor.h:59: DB::GetAggregatesMatcher::visit(std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x000000001bfd83e1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfd81e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfd8b01 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfd816a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001bfd8ba6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfd8b0e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfd816a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001bfd8ba6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfd8b0e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfd816a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfc2765 in /usr/bin/clickhouse 18. /build/src/Interpreters/GetAggregatesVisitor.h:112: DB::assertNoAggregates(std::shared_ptr const&, char const*) @ 0x000000001cfada79 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1353: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001cfa2747 in /usr/bin/clickhouse 20. /build/src/Interpreters/evaluateConstantExpression.cpp:70: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08b48e in /usr/bin/clickhouse 21. /build/src/Interpreters/evaluateConstantExpression.cpp:117: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08bcfd in /usr/bin/clickhouse 22. /build/src/Interpreters/evaluateConstantExpression.cpp:125: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08be12 in /usr/bin/clickhouse 23. /build/src/TableFunctions/ITableFunctionCluster.h:56: DB::ITableFunctionCluster::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9bea85 in /usr/bin/clickhouse 24. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97c5c1 in /usr/bin/clickhouse 25. /build/src/TableFunctions/ITableFunctionCluster.h:47: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9be7d7 in /usr/bin/clickhouse 26. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 27. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 28. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 2024.09.24 01:28:05.069444 [ 22255 ] {ccd502c8-0c22-462d-aa3e-2b3d79a0e1af} TCPHandler: Code: 184. DB::Exception: Aggregate function anyLast() is found in wrong place in query: While processing anyLast(). (ILLEGAL_AGGREGATION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Interpreters/GetAggregatesVisitor.h:67: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x000000001bfd84d1 in /usr/bin/clickhouse 7. /build/src/Interpreters/GetAggregatesVisitor.h:59: DB::GetAggregatesMatcher::visit(std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x000000001bfd83e1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfd81e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfd8b01 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfd816a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001bfd8ba6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfd8b0e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfd816a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001bfd8ba6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfd8b0e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfd816a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfc2765 in /usr/bin/clickhouse 18. /build/src/Interpreters/GetAggregatesVisitor.h:112: DB::assertNoAggregates(std::shared_ptr const&, char const*) @ 0x000000001cfada79 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1353: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001cfa2747 in /usr/bin/clickhouse 20. /build/src/Interpreters/evaluateConstantExpression.cpp:70: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08b48e in /usr/bin/clickhouse 21. /build/src/Interpreters/evaluateConstantExpression.cpp:117: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08bcfd in /usr/bin/clickhouse 22. /build/src/Interpreters/evaluateConstantExpression.cpp:125: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08be12 in /usr/bin/clickhouse 23. /build/src/TableFunctions/ITableFunctionCluster.h:56: DB::ITableFunctionCluster::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9bea85 in /usr/bin/clickhouse 24. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97c5c1 in /usr/bin/clickhouse 25. /build/src/TableFunctions/ITableFunctionCluster.h:47: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9be7d7 in /usr/bin/clickhouse 26. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 27. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 28. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 2024.09.24 01:28:05.104415 [ 8835 ] {f604cfb7-f4e1-40ac-862d-0451f71dac8c} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:05.137109 [ 22255 ] {03d746bd-8ec4-4a6a-8bf3-c0288a2b210e} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:28:05.138242 [ 22255 ] {03d746bd-8ec4-4a6a-8bf3-c0288a2b210e} Cluster: Code: 198. DB::Exception: Not found address of host: KZ.n. (DNS_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Common/DNSResolver.cpp:114: DB::(anonymous namespace)::hostByName(String const&) @ 0x00000000138812e8 in /usr/bin/clickhouse 7. /build/src/Common/DNSResolver.cpp:139: DB::(anonymous namespace)::resolveIPAddressImpl(String const&) @ 0x000000001387fdc8 in /usr/bin/clickhouse 8. /build/src/Common/DNSResolver.cpp:146: DB::(anonymous namespace)::resolveIPAddressWithCache(DB::CacheBase>, std::hash, DB::EqualWeightFunction>>>&, String const&)::$_0::operator()() const @ 0x0000000013883340 in /usr/bin/clickhouse 9. /build/src/Common/CacheBase.h:152: std::pair>>, bool> DB::CacheBase>, std::hash, DB::EqualWeightFunction>>>::getOrSet>, std::hash, DB::EqualWeightFunction>>>&, String const&)::$_0>(String const&, DB::(anonymous namespace)::resolveIPAddressWithCache(DB::CacheBase>, std::hash, DB::EqualWeightFunction>>>&, String const&)::$_0&&) @ 0x00000000138830af in /usr/bin/clickhouse 10. /build/src/Common/DNSResolver.cpp:146: DB::(anonymous namespace)::resolveIPAddressWithCache(DB::CacheBase>, std::hash, DB::EqualWeightFunction>>>&, String const&) @ 0x000000001387ff3c in /usr/bin/clickhouse 11. /build/src/Common/DNSResolver.cpp:239: DB::DNSResolver::resolveAddress(String const&, unsigned short) @ 0x00000000138805cf in /usr/bin/clickhouse 12. /build/src/Interpreters/Cluster.cpp:73: DB::Cluster::Address::getResolvedAddress() const @ 0x000000001bda5606 in /usr/bin/clickhouse 13. /build/src/Interpreters/Cluster.cpp:86: DB::Cluster::Address::isLocal(unsigned short) const @ 0x000000001bda5724 in /usr/bin/clickhouse 14. /build/src/Interpreters/Cluster.cpp:165: DB::Cluster::Address::Address(DB::DatabaseReplicaInfo const&, DB::ClusterConnectionParameters const&, unsigned int, unsigned int) @ 0x000000001bda65fa in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::Cluster::Address* std::construct_at[abi:v15000](DB::Cluster::Address*, DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001bdb5dc1 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::Cluster::Address*, DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001bdb5d39 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/vector:1579: void std::vector>::__emplace_back_slow_path(DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001bdb5c96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/vector:0: DB::Cluster::Address& std::vector>::emplace_back(DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001bdaeda0 in /usr/bin/clickhouse 19. /build/src/Interpreters/Cluster.cpp:520: DB::Cluster::Cluster(DB::Settings const&, std::vector>, std::allocator>>> const&, DB::ClusterConnectionParameters const&) @ 0x000000001bdaad5d in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::Cluster* std::construct_at[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&, DB::Cluster*>(DB::Cluster*, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x000000001a954454 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&, void, void>(std::allocator&, DB::Cluster*, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x000000001a9543d1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&>(std::allocator, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x000000001a954357 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&, void>(std::allocator const&, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x000000001a95426a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&, void>(DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x000000001a94f996 in /usr/bin/clickhouse 25. /build/src/TableFunctions/TableFunctionRemote.cpp:290: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a94c30e in /usr/bin/clickhouse 26. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 27. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 28. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:28:05.142102 [ 8835 ] {7daffc76-7330-4e8c-b8df-825ecb719bd0} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:05.197184 [ 22255 ] {03d746bd-8ec4-4a6a-8bf3-c0288a2b210e} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:28:05.197911 [ 22255 ] {03d746bd-8ec4-4a6a-8bf3-c0288a2b210e} HedgedConnectionsFactory: Connection failed at try â„–1, reason: Code: 198. DB::Exception: Not found address of host: KZ.n. (DNS_ERROR) (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:28:05.222387 [ 8835 ] {1b30e5d2-f819-427a-aefd-7b812a38bd2d} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:05.259088 [ 22255 ] {03d746bd-8ec4-4a6a-8bf3-c0288a2b210e} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:28:05.259617 [ 22255 ] {03d746bd-8ec4-4a6a-8bf3-c0288a2b210e} HedgedConnectionsFactory: Connection failed at try â„–2, reason: Code: 198. DB::Exception: Not found address of host: KZ.n. (DNS_ERROR) (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:28:05.310015 [ 8835 ] {00e919c8-6a2a-4577-9044-1e1edd0f3ee7} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:05.320345 [ 22255 ] {03d746bd-8ec4-4a6a-8bf3-c0288a2b210e} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:28:05.320930 [ 22255 ] {03d746bd-8ec4-4a6a-8bf3-c0288a2b210e} HedgedConnectionsFactory: Connection failed at try â„–3, reason: Code: 198. DB::Exception: Not found address of host: KZ.n. (DNS_ERROR) (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:28:05.322476 [ 22255 ] {03d746bd-8ec4-4a6a-8bf3-c0288a2b210e} executeQuery: Code: 519. DB::NetException: All attempts to get table structure failed. Log: Code: 279. DB::NetException: All connection tries failed. Log: Code: 198. DB::Exception: Not found address of host: KZ.n. (DNS_ERROR) (version 23.8.16.41.altinitystable (altinity build)) Code: 198. DB::Exception: Not found address of host: KZ.n. (DNS_ERROR) (version 23.8.16.41.altinitystable (altinity build)) Code: 198. DB::Exception: Not found address of host: KZ.n. (DNS_ERROR) (version 23.8.16.41.altinitystable (altinity build)) . (ALL_CONNECTION_TRIES_FAILED) (version 23.8.16.41.altinitystable (altinity build)) . (NO_REMOTE_SHARD_AVAILABLE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM remote('KZ.n');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String&) @ 0x000000001da4e793 in /usr/bin/clickhouse 6. /build/src/Storages/getStructureOfRemoteTable.cpp:166: DB::getStructureOfRemoteTable(DB::Cluster const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x000000001da4d336 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionRemote.cpp:345: DB::TableFunctionRemote::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a94d1e2 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionRemote.cpp:305: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a94c6f6 in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:05.324631 [ 22255 ] {03d746bd-8ec4-4a6a-8bf3-c0288a2b210e} TCPHandler: Code: 519. DB::NetException: All attempts to get table structure failed. Log: Code: 279. DB::NetException: All connection tries failed. Log: Code: 198. DB::Exception: Not found address of host: KZ.n. (DNS_ERROR) (version 23.8.16.41.altinitystable (altinity build)) Code: 198. DB::Exception: Not found address of host: KZ.n. (DNS_ERROR) (version 23.8.16.41.altinitystable (altinity build)) Code: 198. DB::Exception: Not found address of host: KZ.n. (DNS_ERROR) (version 23.8.16.41.altinitystable (altinity build)) . (ALL_CONNECTION_TRIES_FAILED) (version 23.8.16.41.altinitystable (altinity build)) . (NO_REMOTE_SHARD_AVAILABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String&) @ 0x000000001da4e793 in /usr/bin/clickhouse 6. /build/src/Storages/getStructureOfRemoteTable.cpp:166: DB::getStructureOfRemoteTable(DB::Cluster const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x000000001da4d336 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionRemote.cpp:345: DB::TableFunctionRemote::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a94d1e2 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionRemote.cpp:305: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a94c6f6 in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:05.399110 [ 8835 ] {c616fb45-bf5b-4105-8196-fc3d52b743be} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:05.484333 [ 22255 ] {b9286f75-cd6b-4e8b-891d-9344851bad24} executeQuery: Code: 36. DB::Exception: Argument 'cluster_name' must be a literal with type String, got Array. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM azureBlobStorageCluster(['Tx?MX.D?']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000011950228 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da4a3e8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da4a0dd in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionCluster.h:59: DB::ITableFunctionCluster::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9ea0fd in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:174: DB::TableFunctionAzureBlobStorage::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9e41c4 in /usr/bin/clickhouse 10. /build/src/TableFunctions/ITableFunctionCluster.h:47: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9e9db7 in /usr/bin/clickhouse 11. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 12. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 13. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:05.486037 [ 22255 ] {b9286f75-cd6b-4e8b-891d-9344851bad24} TCPHandler: Code: 36. DB::Exception: Argument 'cluster_name' must be a literal with type String, got Array. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000011950228 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da4a3e8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da4a0dd in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionCluster.h:59: DB::ITableFunctionCluster::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9ea0fd in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:174: DB::TableFunctionAzureBlobStorage::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9e41c4 in /usr/bin/clickhouse 10. /build/src/TableFunctions/ITableFunctionCluster.h:47: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9e9db7 in /usr/bin/clickhouse 11. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 12. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 13. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:05.524558 [ 8835 ] {3935d8c0-0b98-414a-be14-c058d0c05c20} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:05.612843 [ 8835 ] {cd59974f-a635-47d7-a1d8-be253eacdab2} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:05.643724 [ 22255 ] {0e7271ce-1392-44c0-9067-c6b701e15573} executeQuery: Code: 36. DB::Exception: Argument 'format/NOSIGN' must be a literal with type String, got Null. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hudi(-35, NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000011950228 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da4a3e8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da4a0dd in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionS3.cpp:97: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a99849f in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a999d04 in /usr/bin/clickhouse 10. /build/src/TableFunctions/ITableFunctionDataLake.h:61: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9ad91f in /usr/bin/clickhouse 11. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 12. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 13. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:05.645504 [ 22255 ] {0e7271ce-1392-44c0-9067-c6b701e15573} TCPHandler: Code: 36. DB::Exception: Argument 'format/NOSIGN' must be a literal with type String, got Null. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000011950228 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da4a3e8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da4a0dd in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionS3.cpp:97: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a99849f in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a999d04 in /usr/bin/clickhouse 10. /build/src/TableFunctions/ITableFunctionDataLake.h:61: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9ad91f in /usr/bin/clickhouse 11. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 12. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 13. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:05.656715 [ 8835 ] {6def5904-6f96-43ef-9903-4b3a87b6f6ff} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:05.747176 [ 8835 ] {1a84c039-725f-45a5-83ab-1d1484e63250} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:05.780701 [ 22255 ] {94c18b97-e77b-4cbd-bf0d-4948aeb89147} executeQuery: Code: 42. DB::Exception: Table function 'mongodb' requires from 6 to 7 parameters: mongodb('host:port', database, collection, 'user', 'password', structure, [, 'options']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM mongodb([[CAST((SELECT * FROM oss()), 'DateTime')]], -8242327.7)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [147]) @ 0x000000000e47bbbe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMongoDB.cpp:64: DB::TableFunctionMongoDB::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a98e2f6 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:05.782452 [ 22255 ] {94c18b97-e77b-4cbd-bf0d-4948aeb89147} TCPHandler: Code: 42. DB::Exception: Table function 'mongodb' requires from 6 to 7 parameters: mongodb('host:port', database, collection, 'user', 'password', structure, [, 'options']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [147]) @ 0x000000000e47bbbe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMongoDB.cpp:64: DB::TableFunctionMongoDB::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a98e2f6 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:05.835680 [ 8835 ] {3db23bc4-1df1-4571-8534-e7429af7d06b} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:05.923666 [ 22255 ] {5572ea28-1b74-4af8-a117-52bd6addb4ff} executeQuery: Code: 42. DB::Exception: Aggregate function quantiles requires single argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT quantiles();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013d8ce61 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:249: DB::AggregateFunctionQuantile, DB::NameQuantiles, false, double, true>::assertSecondArg(std::vector, std::allocator>> const&) @ 0x00000000147268cd in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionQuantile.cpp:32: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000001468e3e4 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 2024.09.24 01:28:05.925787 [ 22255 ] {5572ea28-1b74-4af8-a117-52bd6addb4ff} TCPHandler: Code: 42. DB::Exception: Aggregate function quantiles requires single argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013d8ce61 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:249: DB::AggregateFunctionQuantile, DB::NameQuantiles, false, double, true>::assertSecondArg(std::vector, std::allocator>> const&) @ 0x00000000147268cd in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionQuantile.cpp:32: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000001468e3e4 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 2024.09.24 01:28:05.943161 [ 22255 ] {5c98c5a1-2e5c-429d-ad75-b08e856301fc} executeQuery: Code: 42. DB::Exception: Number of arguments for function polygonsEqualsCartesian doesn't match: passed 0, should be 2: While processing polygonsEqualsCartesian(): While processing (SELECT polygonsEqualsCartesian()) AS yhcnoewz: While processing [(SELECT polygonsEqualsCartesian()) AS yhcnoewz]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM remote('\0', [( SELECT polygonsEqualsCartesian() ) AS yhcnoewz]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 2024.09.24 01:28:05.944925 [ 22255 ] {5c98c5a1-2e5c-429d-ad75-b08e856301fc} TCPHandler: Code: 42. DB::Exception: Number of arguments for function polygonsEqualsCartesian doesn't match: passed 0, should be 2: While processing polygonsEqualsCartesian(): While processing (SELECT polygonsEqualsCartesian()) AS yhcnoewz: While processing [(SELECT polygonsEqualsCartesian()) AS yhcnoewz]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 2024.09.24 01:28:05.962816 [ 8835 ] {be8157ae-c5c3-45db-ba00-acbeb313d851} StorageBuffer (test_20ikuj4n.buffer_00763_1): Destination table test_20ikuj4n.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.09.24 01:28:06.100107 [ 22255 ] {0aad7352-6b3e-4023-8bbd-61d635803c5f} executeQuery: Code: 42. DB::Exception: Table function 'zeros' requires 'length'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM zeros(reverseUTF8(), [intHash32('\0')]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionZeros.cpp:37: DB::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a971088 in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:06.234830 [ 22255 ] {0aad7352-6b3e-4023-8bbd-61d635803c5f} TCPHandler: Code: 42. DB::Exception: Table function 'zeros' requires 'length'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionZeros.cpp:37: DB::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a971088 in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:06.234884 [ 22256 ] {e22aaffd-c093-49fc-93f0-ab80767ddde5} executeQuery: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:38100) (comment: 00700_decimal_complex_types.sql) (in query: SELECT number % 2 ? toDecimal32('32.1', 5) : toDecimal32('32.2', 1) FROM system.numbers LIMIT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7c77e in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>(std::vector> const&) @ 0x000000000f0fe972 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal, DB::ColumnDecimal>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000000f0fdc8d in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f0fd8ec in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>(auto const&) const @ 0x000000000f0f9eba in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:51: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efdd750 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:121: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efd832f in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000efd460c in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:28:06.235961 [ 22256 ] {e22aaffd-c093-49fc-93f0-ab80767ddde5} TCPHandler: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7c77e in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>(std::vector> const&) @ 0x000000000f0fe972 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal, DB::ColumnDecimal>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000000f0fdc8d in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f0fd8ec in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>(auto const&) const @ 0x000000000f0f9eba in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:51: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efdd750 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:121: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efd832f in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000efd460c in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:28:06.358515 [ 22256 ] {1a35d34e-7d79-479e-81d6-6f1ffc4b74af} executeQuery: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:38100) (comment: 00700_decimal_complex_types.sql) (in query: SELECT number % 2 ? toDecimal32('32.1', 5) : toDecimal64('64.2', 2) FROM system.numbers LIMIT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7c77e in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>(std::vector> const&) @ 0x000000000f100572 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal, DB::ColumnDecimal>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000000f0ff88d in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f0ff4ec in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>(auto const&) const @ 0x000000000f0f9f3a in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:52: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efdd76a in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:121: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efd832f in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000efd460c in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:28:06.358841 [ 22255 ] {047560a1-2ae7-43a0-b6d6-5b5d60b9a78c} executeQuery: Code: 42. DB::Exception: The signature of table function s3 shall be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`): While processing (SELECT * FROM s3()) AS jzkst: While processing roundAge(roundBankers(), (SELECT * FROM s3()) AS jzkst, (SELECT * FROM azureBlobStorageCluster()) AS imfut): While processing [roundAge(roundBankers(), (SELECT * FROM s3()) AS jzkst, (SELECT * FROM azureBlobStorageCluster()) AS imfut)]: While processing dateDiff([roundAge(roundBankers(), (SELECT * FROM s3()) AS jzkst, (SELECT * FROM azureBlobStorageCluster()) AS imfut)], (SELECT (SELECT sipHash128ReferenceKeyed(CAST([(SELECT 225, (SELECT mortonDecode(CAST((SELECT ['hjq\\SN/F']) AS rwhrgamv, 'DateTime'))) AS vdlcypu, '\0', '')], 'DateTime'))), (SELECT ['']), [], 'WzV') AS _subquery785, (SELECT (SELECT NULL, '40,aS', -7857, toDecimal128OrDefault(32158641, CAST('', 'Date'))) AS qjlvdefi, (SELECT 'b'), 5.3138, -77512478, 93700460) AS _subquery786). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT ')(K=2L', date_diff([roundAge(roundBankers(), ( SELECT * FROM s3() ) AS jzkst, ( SELECT * FROM azureBlobStorageCluster() ) AS imfut)], ( SELECT ( SELECT sipHash128ReferenceKeyed((CAST(([( SELECT 225, ( SELECT mortonDecode((CAST((( SELECT ['hjq\SN/F'] ) AS rwhrgamv) AS DateTime))) ) AS vdlcypu, '\0', '' ) ]) AS DateTime))) ) , ( SELECT [''] ) , [], 'WzV' ) , ( SELECT ( SELECT NULL, '40,aS', -7857, toDecimal128OrDefault(32158641, (CAST(('') AS Date))) ) AS qjlvdefi, ( SELECT 'b' ) , 5.3138, -77512478, 93700460 ) ), ( SELECT covarPopMatrix(-8.1, '\0') ) , ( SELECT rand32((CAST(([NULL]) AS String)), NULL) ) ;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:75: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a99804f in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a999d04 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8dec5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9173d in /usr/bin/clickhouse 28. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f0b7 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 2024.09.24 01:28:06.359658 [ 22256 ] {1a35d34e-7d79-479e-81d6-6f1ffc4b74af} TCPHandler: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7c77e in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>(std::vector> const&) @ 0x000000000f100572 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal, DB::ColumnDecimal>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000000f0ff88d in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f0ff4ec in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>(auto const&) const @ 0x000000000f0f9f3a in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:52: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efdd76a in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:121: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efd832f in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000efd460c in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:28:06.361806 [ 22255 ] {047560a1-2ae7-43a0-b6d6-5b5d60b9a78c} TCPHandler: Code: 42. DB::Exception: The signature of table function s3 shall be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`): While processing (SELECT * FROM s3()) AS jzkst: While processing roundAge(roundBankers(), (SELECT * FROM s3()) AS jzkst, (SELECT * FROM azureBlobStorageCluster()) AS imfut): While processing [roundAge(roundBankers(), (SELECT * FROM s3()) AS jzkst, (SELECT * FROM azureBlobStorageCluster()) AS imfut)]: While processing dateDiff([roundAge(roundBankers(), (SELECT * FROM s3()) AS jzkst, (SELECT * FROM azureBlobStorageCluster()) AS imfut)], (SELECT (SELECT sipHash128ReferenceKeyed(CAST([(SELECT 225, (SELECT mortonDecode(CAST((SELECT ['hjq\\SN/F']) AS rwhrgamv, 'DateTime'))) AS vdlcypu, '\0', '')], 'DateTime'))), (SELECT ['']), [], 'WzV') AS _subquery785, (SELECT (SELECT NULL, '40,aS', -7857, toDecimal128OrDefault(32158641, CAST('', 'Date'))) AS qjlvdefi, (SELECT 'b'), 5.3138, -77512478, 93700460) AS _subquery786). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:75: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a99804f in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a999d04 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8dec5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9173d in /usr/bin/clickhouse 28. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f0b7 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 2024.09.24 01:28:06.367968 [ 783 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:28:06.368510 [ 783 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:28:06.429161 [ 783 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:28:06.533443 [ 22255 ] {bb3a2270-816a-49a2-b87b-64e850d7ee90} executeQuery: Code: 42. DB::Exception: Storage MySQL requires 5-7 parameters: MySQL('host:port' (or 'addresses_pattern'), database, table, 'user', 'password'[, replace_query, 'on_duplicate_clause']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM mysql((SELECT -5212175.7118, 5268, [], []) AS ehmv)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [161]) @ 0x000000001d7d3e9e in /usr/bin/clickhouse 6. /build/src/Storages/StorageMySQL.cpp:315: DB::StorageMySQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr, DB::MySQLSettings&) @ 0x000000001d7d2676 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionMySQL.cpp:56: DB::TableFunctionMySQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9cc141 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:06.648934 [ 22256 ] {11d663c4-e915-406b-aac7-ce97f88b733f} executeQuery: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:38100) (comment: 00700_decimal_complex_types.sql) (in query: SELECT number % 2 ? toDecimal32('32.1', 5) : toDecimal128('128.2', 3) FROM system.numbers LIMIT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7c77e in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>>(std::vector> const&) @ 0x000000000f102252 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal>, DB::ColumnDecimal>, DB::ColumnDecimal>>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000000f101550 in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f10118c in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>>(auto const&) const @ 0x000000000f0f9fba in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:53: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efdd784 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:121: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efd832f in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000efd460c in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:28:06.649034 [ 22255 ] {bb3a2270-816a-49a2-b87b-64e850d7ee90} TCPHandler: Code: 42. DB::Exception: Storage MySQL requires 5-7 parameters: MySQL('host:port' (or 'addresses_pattern'), database, table, 'user', 'password'[, replace_query, 'on_duplicate_clause']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [161]) @ 0x000000001d7d3e9e in /usr/bin/clickhouse 6. /build/src/Storages/StorageMySQL.cpp:315: DB::StorageMySQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr, DB::MySQLSettings&) @ 0x000000001d7d2676 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionMySQL.cpp:56: DB::TableFunctionMySQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9cc141 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:06.649901 [ 22256 ] {11d663c4-e915-406b-aac7-ce97f88b733f} TCPHandler: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7c77e in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>>(std::vector> const&) @ 0x000000000f102252 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal>, DB::ColumnDecimal>, DB::ColumnDecimal>>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000000f101550 in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f10118c in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>>(auto const&) const @ 0x000000000f0f9fba in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:53: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efdd784 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:121: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efd832f in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000efd460c in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:28:06.785102 [ 22256 ] {7971e45c-b01f-45c4-a632-438c2703e0d0} executeQuery: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:38100) (comment: 00700_decimal_complex_types.sql) (in query: SELECT number % 2 ? toDecimal64('64.1', 5) : toDecimal32('32.2', 1) FROM system.numbers LIMIT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7c77e in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>(std::vector> const&) @ 0x000000000f10a732 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal, DB::ColumnDecimal>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000000f109a4d in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f1096ac in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>(auto const&) const @ 0x000000000f105cba in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:51: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efdda10 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:122: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efd8345 in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000efd460c in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:28:06.924452 [ 22256 ] {7971e45c-b01f-45c4-a632-438c2703e0d0} TCPHandler: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7c77e in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>(std::vector> const&) @ 0x000000000f10a732 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal, DB::ColumnDecimal>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000000f109a4d in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f1096ac in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>(auto const&) const @ 0x000000000f105cba in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:51: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efdda10 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:122: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efd8345 in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000efd460c in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:28:06.924517 [ 22255 ] {6a0bc37d-ed63-4f68-be6d-c1b1959d5d10} executeQuery: Code: 42. DB::Exception: Aggregate function theilsU requires two arguments: While processing (SELECT theilsU('\0')) AS yv. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '', ( SELECT theilsU('\0') ) AS yv, splitByRegexp(atanh([]), 'W'), [];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:33: DB::assertBinary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013dfd7e1 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionTheilsU.cpp:56: DB::registerAggregateFunctionTheilsU(DB::AggregateFunctionFactory&)::$_0::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001757e889 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000], std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerAggregateFunctionTheilsU(DB::AggregateFunctionFactory&)::$_0&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x000000001757e7b8 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerAggregateFunctionTheilsU(DB::AggregateFunctionFactory&)::$_0&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x000000001757e735 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x000000001757e6d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000001757e67d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 2024.09.24 01:28:06.928331 [ 22255 ] {6a0bc37d-ed63-4f68-be6d-c1b1959d5d10} TCPHandler: Code: 42. DB::Exception: Aggregate function theilsU requires two arguments: While processing (SELECT theilsU('\0')) AS yv. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:33: DB::assertBinary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013dfd7e1 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionTheilsU.cpp:56: DB::registerAggregateFunctionTheilsU(DB::AggregateFunctionFactory&)::$_0::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001757e889 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000], std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerAggregateFunctionTheilsU(DB::AggregateFunctionFactory&)::$_0&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x000000001757e7b8 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerAggregateFunctionTheilsU(DB::AggregateFunctionFactory&)::$_0&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x000000001757e735 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x000000001757e6d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000001757e67d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 2024.09.24 01:28:07.075859 [ 22256 ] {050699da-121b-4547-9953-2429c4141eff} executeQuery: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:38100) (comment: 00700_decimal_complex_types.sql) (in query: SELECT number % 2 ? toDecimal64('64.1', 5) : toDecimal64('64.2', 2) FROM system.numbers LIMIT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7c77e in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>(std::vector> const&) @ 0x000000000f10c3d2 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal, DB::ColumnDecimal>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000000f10b6ed in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f10b34c in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>(auto const&) const @ 0x000000000f105d3a in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:52: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efdda2a in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:122: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efd8345 in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000efd460c in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:28:07.215996 [ 22255 ] {69eb12b4-1172-4ba3-918f-16028bcf671f} executeQuery: Code: 43. DB::Exception: The only argument for function toUnixTimestamp64Nano must be DateTime64: While processing toUnixTimestamp64Nano('\0'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toUnixTimestamp64Nano('\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b24a833 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:46: DB::FunctionToUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x00000000126d6b17 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:28:07.216130 [ 22256 ] {050699da-121b-4547-9953-2429c4141eff} TCPHandler: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7c77e in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>(std::vector> const&) @ 0x000000000f10c3d2 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal, DB::ColumnDecimal>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000000f10b6ed in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f10b34c in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>(auto const&) const @ 0x000000000f105d3a in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:52: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efdda2a in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:122: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efd8345 in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000efd460c in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:28:07.217889 [ 22255 ] {69eb12b4-1172-4ba3-918f-16028bcf671f} TCPHandler: Code: 43. DB::Exception: The only argument for function toUnixTimestamp64Nano must be DateTime64: While processing toUnixTimestamp64Nano('\0'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b24a833 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:46: DB::FunctionToUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x00000000126d6b17 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:28:07.351281 [ 22256 ] {6c5b7066-8737-478d-bda3-b2e54dbfc1e7} executeQuery: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:38100) (comment: 00700_decimal_complex_types.sql) (in query: SELECT number % 2 ? toDecimal64('64.1', 5) : toDecimal128('128.2', 3) FROM system.numbers LIMIT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7c77e in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>>(std::vector> const&) @ 0x000000000f10e072 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal>, DB::ColumnDecimal>, DB::ColumnDecimal>>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000000f10d350 in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f10cf8c in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>>(auto const&) const @ 0x000000000f105dba in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:53: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efdda44 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:122: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efd8345 in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000efd460c in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:28:07.507305 [ 22255 ] {b4f8d069-4a80-4173-a3d1-fae5e1fd5083} executeQuery: Code: 53. DB::Exception: arrayJoin requires exactly 1 argument: While processing arrayJoin(). (TYPE_MISMATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT arrayJoin();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000f82339e in /usr/bin/clickhouse 6. /build/src/Interpreters/ActionsVisitor.cpp:854: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6c96 in /usr/bin/clickhouse 7. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 2024.09.24 01:28:07.507408 [ 22256 ] {6c5b7066-8737-478d-bda3-b2e54dbfc1e7} TCPHandler: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7c77e in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>>(std::vector> const&) @ 0x000000000f10e072 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal>, DB::ColumnDecimal>, DB::ColumnDecimal>>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000000f10d350 in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f10cf8c in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>>(auto const&) const @ 0x000000000f105dba in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:53: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efdda44 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:122: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efd8345 in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000efd460c in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:28:07.508887 [ 22255 ] {b4f8d069-4a80-4173-a3d1-fae5e1fd5083} TCPHandler: Code: 53. DB::Exception: arrayJoin requires exactly 1 argument: While processing arrayJoin(). (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000f82339e in /usr/bin/clickhouse 6. /build/src/Interpreters/ActionsVisitor.cpp:854: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6c96 in /usr/bin/clickhouse 7. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 2024.09.24 01:28:07.672822 [ 22255 ] {ac9fe072-c5ce-45c2-ace4-306e7b4539a4} executeQuery: Code: 44. DB::Exception: Argument at index 1 for function toUTCTimestamp must be constant: While processing (SELECT toUTCTimestamp(NULL, dumpColumnStructure([]))) AS _subquery792: While processing bitmapBuild((SELECT toUTCTimestamp(NULL, dumpColumnStructure([]))) AS _subquery792). (ILLEGAL_COLUMN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT bitmapBuild(( SELECT to_utc_timestamp(NULL, dumpColumnStructure([])) ) );), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000b5e130c in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:124: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abecce5 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:186: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8fb96 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8dec5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9173d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f0b7 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 2024.09.24 01:28:07.793089 [ 22255 ] {ac9fe072-c5ce-45c2-ace4-306e7b4539a4} TCPHandler: Code: 44. DB::Exception: Argument at index 1 for function toUTCTimestamp must be constant: While processing (SELECT toUTCTimestamp(NULL, dumpColumnStructure([]))) AS _subquery792: While processing bitmapBuild((SELECT toUTCTimestamp(NULL, dumpColumnStructure([]))) AS _subquery792). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000b5e130c in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:124: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abecce5 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:186: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8fb96 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8dec5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9173d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f0b7 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 2024.09.24 01:28:07.793175 [ 22256 ] {060c98cd-e272-41cd-975b-79b913153951} executeQuery: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:38100) (comment: 00700_decimal_complex_types.sql) (in query: SELECT number % 2 ? toDecimal128('128.1', 5) : toDecimal32('32.2', 1) FROM system.numbers LIMIT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7c77e in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale>, DB::Decimal>(std::vector> const&) @ 0x000000000f1165b2 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType>, DB::Decimal, DB::ColumnDecimal>>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000000f115893 in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped>, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f1154ec in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>, DB::Decimal>>(auto const&) const @ 0x000000000f111afa in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:51: bool DB::callOnBasicType>, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efddcd0 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:123: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efd835b in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000efd460c in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:28:07.794400 [ 22256 ] {060c98cd-e272-41cd-975b-79b913153951} TCPHandler: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7c77e in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale>, DB::Decimal>(std::vector> const&) @ 0x000000000f1165b2 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType>, DB::Decimal, DB::ColumnDecimal>>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000000f115893 in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped>, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f1154ec in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>, DB::Decimal>>(auto const&) const @ 0x000000000f111afa in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:51: bool DB::callOnBasicType>, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efddcd0 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:123: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efd835b in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000efd460c in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:28:07.982453 [ 22255 ] {2c52654b-fec0-40f5-b6da-895dc4eca8d0} executeQuery: Code: 42. DB::Exception: Number of arguments for function h3GetIndexesFromUnidirectionalEdge doesn't match: passed 2, should be 1: While processing decrypt(CAST(h3GetIndexesFromUnidirectionalEdge([], 'g0,'), 'Date'), '[HIDDEN]'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT decrypt(CAST(h3GetIndexesFromUnidirectionalEdge([], 'g0,'), 'Date'), '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 2024.09.24 01:28:08.119168 [ 22255 ] {2c52654b-fec0-40f5-b6da-895dc4eca8d0} TCPHandler: Code: 42. DB::Exception: Number of arguments for function h3GetIndexesFromUnidirectionalEdge doesn't match: passed 2, should be 1: While processing decrypt(CAST(h3GetIndexesFromUnidirectionalEdge([], 'g0,'), 'Date'), '[HIDDEN]'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 2024.09.24 01:28:08.119280 [ 22256 ] {f7f8cd01-74ef-4d82-a14f-00e1e44d749d} executeQuery: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:38100) (comment: 00700_decimal_complex_types.sql) (in query: SELECT number % 2 ? toDecimal128('128.1', 5) : toDecimal64('64.2', 2) FROM system.numbers LIMIT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7c77e in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale>, DB::Decimal>(std::vector> const&) @ 0x000000000f118352 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType>, DB::Decimal, DB::ColumnDecimal>>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000000f117633 in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped>, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f11728c in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>, DB::Decimal>>(auto const&) const @ 0x000000000f111b7a in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:52: bool DB::callOnBasicType>, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efddcea in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:123: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efd835b in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000efd460c in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:28:08.120707 [ 22256 ] {f7f8cd01-74ef-4d82-a14f-00e1e44d749d} TCPHandler: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7c77e in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale>, DB::Decimal>(std::vector> const&) @ 0x000000000f118352 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType>, DB::Decimal, DB::ColumnDecimal>>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000000f117633 in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped>, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f11728c in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>, DB::Decimal>>(auto const&) const @ 0x000000000f111b7a in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:52: bool DB::callOnBasicType>, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efddcea in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:123: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efd835b in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000efd460c in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:28:08.267351 [ 22255 ] {82869ac4-67e9-4d7a-a53e-0a5a6fb88eb1} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument 1 of function concatWithSeparatorAssumeInjective: While processing concatWithSeparatorAssumeInjective([]). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM values(NULL, concatWithSeparatorAssumeInjective([]));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0x000000000b8fe428 in /usr/bin/clickhouse 6. /build/src/Functions/concatWithSeparator.cpp:56: DB::(anonymous namespace)::ConcatWithSeparatorImpl::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d923bb1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1735: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x000000001bfb93ed in /usr/bin/clickhouse 23. /build/src/Interpreters/evaluateConstantExpression.cpp:77: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08b5eb in /usr/bin/clickhouse 24. /build/src/TableFunctions/TableFunctionValues.cpp:73: DB::TableFunctionValues::getTypesFromArgument(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a98479d in /usr/bin/clickhouse 25. /build/src/TableFunctions/TableFunctionValues.cpp:106: DB::TableFunctionValues::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a984ea7 in /usr/bin/clickhouse 26. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 27. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 28. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 2024.09.24 01:28:08.421330 [ 22255 ] {82869ac4-67e9-4d7a-a53e-0a5a6fb88eb1} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument 1 of function concatWithSeparatorAssumeInjective: While processing concatWithSeparatorAssumeInjective([]). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0x000000000b8fe428 in /usr/bin/clickhouse 6. /build/src/Functions/concatWithSeparator.cpp:56: DB::(anonymous namespace)::ConcatWithSeparatorImpl::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d923bb1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1735: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x000000001bfb93ed in /usr/bin/clickhouse 23. /build/src/Interpreters/evaluateConstantExpression.cpp:77: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08b5eb in /usr/bin/clickhouse 24. /build/src/TableFunctions/TableFunctionValues.cpp:73: DB::TableFunctionValues::getTypesFromArgument(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a98479d in /usr/bin/clickhouse 25. /build/src/TableFunctions/TableFunctionValues.cpp:106: DB::TableFunctionValues::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a984ea7 in /usr/bin/clickhouse 26. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 27. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 28. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 2024.09.24 01:28:08.421405 [ 22256 ] {b9a07b78-30d3-4324-8639-d3be9a840fee} executeQuery: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:38100) (comment: 00700_decimal_complex_types.sql) (in query: SELECT number % 2 ? toDecimal128('128.1', 5) : toDecimal128('128.2', 3) FROM system.numbers LIMIT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7c77e in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale>, DB::Decimal>>(std::vector> const&) @ 0x000000000f11a132 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType>, DB::Decimal>, DB::ColumnDecimal>>, DB::ColumnDecimal>>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000000f1193f3 in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped>, DB::Decimal>>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f11902c in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>, DB::Decimal>>>(auto const&) const @ 0x000000000f111bfa in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:53: bool DB::callOnBasicType>, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efddd04 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:123: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efd835b in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000efd460c in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:28:08.422639 [ 22256 ] {b9a07b78-30d3-4324-8639-d3be9a840fee} TCPHandler: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7c77e in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale>, DB::Decimal>>(std::vector> const&) @ 0x000000000f11a132 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType>, DB::Decimal>, DB::ColumnDecimal>>, DB::ColumnDecimal>>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000000f1193f3 in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped>, DB::Decimal>>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f11902c in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>, DB::Decimal>>>(auto const&) const @ 0x000000000f111bfa in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:53: bool DB::callOnBasicType>, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efddd04 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:123: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efd835b in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000efd460c in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc9b67 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2fb46 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac9751 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabdfa2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5d65 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:28:08.566043 [ 22255 ] {3b0ddb56-acdf-49c0-9629-b88a9fa28329} executeQuery: Code: 42. DB::Exception: The signature of table function file shall be the following: - filename - filename, format - filename, format, structure - filename, format, structure, compression_method . (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM file();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a97c6ea in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97c5c1 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:08.568040 [ 22255 ] {3b0ddb56-acdf-49c0-9629-b88a9fa28329} TCPHandler: Code: 42. DB::Exception: The signature of table function file shall be the following: - filename - filename, format - filename, format, structure - filename, format, structure, compression_method . (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a97c6ea in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97c5c1 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:08.578146 [ 22255 ] {a592d094-c27b-4350-b1f3-6b0c933f36e1} executeQuery: Code: 42. DB::Exception: Number of arguments for function mapUpdate doesn't match: passed 1, should be 2: While processing mapUpdate('\0'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT mapUpdate('\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:28:08.580264 [ 22255 ] {a592d094-c27b-4350-b1f3-6b0c933f36e1} TCPHandler: Code: 42. DB::Exception: Number of arguments for function mapUpdate doesn't match: passed 1, should be 2: While processing mapUpdate('\0'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:28:08.727213 [ 22255 ] {6ae29207-adea-4b9f-ae51-41cc899b7e44} executeQuery: Code: 43. DB::Exception: Illegal type String of argument 1 of function h3GetUnidirectionalEdgesFromHexagon. Must be UInt64: While processing h3GetUnidirectionalEdgesFromHexagon('\0'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT h3GetUnidirectionalEdgesFromHexagon('\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, int&&, String&&) @ 0x000000000e478f88 in /usr/bin/clickhouse 6. /build/src/Functions/h3GetUnidirectionalEdgesFromHexagon.cpp:46: DB::(anonymous namespace)::FunctionH3GetUnidirectionalEdgesFromHexagon::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000eeeaa6a in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:28:08.729260 [ 22255 ] {6ae29207-adea-4b9f-ae51-41cc899b7e44} TCPHandler: Code: 43. DB::Exception: Illegal type String of argument 1 of function h3GetUnidirectionalEdgesFromHexagon. Must be UInt64: While processing h3GetUnidirectionalEdgesFromHexagon('\0'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, int&&, String&&) @ 0x000000000e478f88 in /usr/bin/clickhouse 6. /build/src/Functions/h3GetUnidirectionalEdgesFromHexagon.cpp:46: DB::(anonymous namespace)::FunctionH3GetUnidirectionalEdgesFromHexagon::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000eeeaa6a in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:28:08.751862 [ 22255 ] {5219f85a-0c03-4101-87db-2a750a57e069} executeQuery: Code: 42. DB::Exception: Number of arguments for function formatReadableQuantity doesn't match: passed 2, should be 1: While processing formatReadableQuantity(-1079845, []). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT formatReadableQuantity(-1079845, []);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:28:08.753675 [ 22255 ] {5219f85a-0c03-4101-87db-2a750a57e069} TCPHandler: Code: 42. DB::Exception: Number of arguments for function formatReadableQuantity doesn't match: passed 2, should be 1: While processing formatReadableQuantity(-1079845, []). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:28:08.888818 [ 22255 ] {4a32bc17-5368-4789-8e44-2c2a4f22f8b0} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nothing) of the second argument of function rightPadUTF8, should be unsigned integer: While processing rightPadUTF8('\0', []). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT rightPadUTF8('\0', []);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/padString.cpp:179: DB::(anonymous namespace)::FunctionPadString::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000119001ea in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:28:08.890604 [ 22255 ] {4a32bc17-5368-4789-8e44-2c2a4f22f8b0} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nothing) of the second argument of function rightPadUTF8, should be unsigned integer: While processing rightPadUTF8('\0', []). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/padString.cpp:179: DB::(anonymous namespace)::FunctionPadString::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000119001ea in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:28:08.904447 [ 22255 ] {e506eb8b-537d-47bb-b64b-92d63b75f74a} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing CAST('\0', 'Date'). (CANNOT_PARSE_DATE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM gcs((CAST(('\0') AS Date)), ( SELECT * FROM azureBlobStorageCluster(['\0'], [[reinterpretAsFloat32('Uz(od')]]) ) , ( SELECT * FROM zeros([]) ) );), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000f82339e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x000000001398bef5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1087: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x000000001398bb71 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:719: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000b54ea97 in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:743: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54e78a in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:774: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54e745 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1059: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b54e41f in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b54e2ed in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b547c38 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b536239 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b535568 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53475e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b3d70 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3d06 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3ca0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3c40 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b3beb in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 2024.09.24 01:28:08.974858 [ 22255 ] {e506eb8b-537d-47bb-b64b-92d63b75f74a} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing CAST('\0', 'Date'). (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000f82339e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x000000001398bef5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1087: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x000000001398bb71 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:719: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000b54ea97 in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:743: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54e78a in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:774: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54e745 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1059: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b54e41f in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b54e2ed in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b547c38 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b536239 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b535568 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53475e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b3d70 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3d06 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3ca0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3c40 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b3beb in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 2024.09.24 01:28:09.171054 [ 22255 ] {f57c7354-24b2-4f9f-9ec3-315b7b38202a} executeQuery: Code: 42. DB::Exception: Table function 'remote' requires from 1 to 6 parameters: [, , ] [, username[, password], sharding_key]: While processing (SELECT * FROM remote()) AS _subquery793. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST(([]) AS DateTime)), ( SELECT * FROM remote() ) , ( SELECT [NULL], 2938.25889, ( SELECT emptyArrayFloat64(NULL, NULL) ) AS cb, 'd{|*' ) AS yqsh, [], -59, [(CAST(((CAST(('\0') AS DateTime))) AS Date))];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b200fea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x000000001a94f169 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:118: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a94ab5d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8dec5 in /usr/bin/clickhouse 29. /build/src/Interpreters/TreeRewriter.cpp:465: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001cfa05e8 in /usr/bin/clickhouse 30. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d542 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 2024.09.24 01:28:09.173805 [ 22255 ] {f57c7354-24b2-4f9f-9ec3-315b7b38202a} TCPHandler: Code: 42. DB::Exception: Table function 'remote' requires from 1 to 6 parameters: [, , ] [, username[, password], sharding_key]: While processing (SELECT * FROM remote()) AS _subquery793. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b200fea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x000000001a94f169 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:118: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a94ab5d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8dec5 in /usr/bin/clickhouse 29. /build/src/Interpreters/TreeRewriter.cpp:465: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001cfa05e8 in /usr/bin/clickhouse 30. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d542 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 2024.09.24 01:28:09.342611 [ 22255 ] {66fb9ef6-1d9d-4e5e-b8c0-f898dfcbf3e4} executeQuery: Code: 42. DB::Exception: Number of arguments for function regionToCountry doesn't match: passed 0, should be 1 or 2.: While processing regionToCountry(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT regionToCountry();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b232e2c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsEmbeddedDictionaries.h:163: DB::FunctionTransformWithDictionary::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000bc4665f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:28:09.344834 [ 22255 ] {66fb9ef6-1d9d-4e5e-b8c0-f898dfcbf3e4} TCPHandler: Code: 42. DB::Exception: Number of arguments for function regionToCountry doesn't match: passed 0, should be 1 or 2.: While processing regionToCountry(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b232e2c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsEmbeddedDictionaries.h:163: DB::FunctionTransformWithDictionary::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000bc4665f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:28:09.353667 [ 22255 ] {add26d97-440e-4057-ae78-cd4287efcc10} executeQuery: Code: 42. DB::Exception: Number of arguments for function startsWith doesn't match: passed 1, should be 2: While processing startsWith(''). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT startsWith('');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:28:09.355862 [ 22255 ] {add26d97-440e-4057-ae78-cd4287efcc10} TCPHandler: Code: 42. DB::Exception: Number of arguments for function startsWith doesn't match: passed 1, should be 2: While processing startsWith(''). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:28:09.510474 [ 22255 ] {01ed99b9-f389-4726-9c8d-5779c3937240} executeQuery: Code: 43. DB::Exception: First argument for function uniqThetaIntersect must be a uniqTheta but it has type String: While processing uniqThetaIntersect('\0', 'Q'): While processing (SELECT uniqThetaIntersect('\0', 'Q')) AS constant_expression. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM urlCluster(( SELECT uniqThetaIntersect('\0', 'Q') ) );), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/UniqTheta/FunctionsUniqTheta.h:79: DB::FunctionUniqTheta::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000013850974 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:28:09.512958 [ 22255 ] {01ed99b9-f389-4726-9c8d-5779c3937240} TCPHandler: Code: 43. DB::Exception: First argument for function uniqThetaIntersect must be a uniqTheta but it has type String: While processing uniqThetaIntersect('\0', 'Q'): While processing (SELECT uniqThetaIntersect('\0', 'Q')) AS constant_expression. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/UniqTheta/FunctionsUniqTheta.h:79: DB::FunctionUniqTheta::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000013850974 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:28:09.659568 [ 22255 ] {8cd971c8-a44c-4097-8a90-061e97ef4378} executeQuery: Code: 42. DB::Exception: Number of arguments for function dictGetDateTime doesn't match: the function requires more arguments: While processing dictGetDateTime([], NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT dictGetDateTime([], NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:156: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed1d6 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:28:09.661343 [ 22255 ] {8cd971c8-a44c-4097-8a90-061e97ef4378} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dictGetDateTime doesn't match: the function requires more arguments: While processing dictGetDateTime([], NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:156: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed1d6 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:28:09.832071 [ 22255 ] {9e331ad3-fd24-448a-804d-735262065c67} executeQuery: Code: 42. DB::Exception: The signature of table function s3Cluster shall be the following: - cluster, url - cluster, url, format - cluster, url, format, structure - cluster, url, access_key_id, secret_access_key - cluster, url, format, structure, compression_method - cluster, url, access_key_id, secret_access_key, format - cluster, url, access_key_id, secret_access_key, format, structure - cluster, url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM s3Cluster();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionCluster.h:53: DB::ITableFunctionCluster::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9aa4d8 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a999d04 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionCluster.h:47: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9aa2d7 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:09.834102 [ 22255 ] {9e331ad3-fd24-448a-804d-735262065c67} TCPHandler: Code: 42. DB::Exception: The signature of table function s3Cluster shall be the following: - cluster, url - cluster, url, format - cluster, url, format, structure - cluster, url, access_key_id, secret_access_key - cluster, url, format, structure, compression_method - cluster, url, access_key_id, secret_access_key, format - cluster, url, access_key_id, secret_access_key, format, structure - cluster, url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionCluster.h:53: DB::ITableFunctionCluster::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9aa4d8 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a999d04 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionCluster.h:47: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9aa2d7 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:09.845732 [ 22255 ] {df324072-e3e2-4dd5-b435-e8296604cab4} executeQuery: Code: 42. DB::Exception: Number of arguments for function monthName doesn't match: passed 2, should be 1: While processing monthName('', ''). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT monthName('', '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:28:09.847663 [ 22255 ] {df324072-e3e2-4dd5-b435-e8296604cab4} TCPHandler: Code: 42. DB::Exception: Number of arguments for function monthName doesn't match: passed 2, should be 1: While processing monthName('', ''). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:28:09.866542 [ 22255 ] {538ef957-ed85-4773-80d8-854013b9f742} executeQuery: Code: 42. DB::Exception: Number of arguments for function cutURLParameter doesn't match: passed 0, should be 2: While processing cutURLParameter(): While processing (SELECT cutURLParameter()) AS _subquery795. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '', ( SELECT parseDateTimeBestEffortUSOrZero('') ) , ( SELECT cutURLParameter() ) , NULL;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 2024.09.24 01:28:09.868244 [ 22255 ] {538ef957-ed85-4773-80d8-854013b9f742} TCPHandler: Code: 42. DB::Exception: Number of arguments for function cutURLParameter doesn't match: passed 0, should be 2: While processing cutURLParameter(): While processing (SELECT cutURLParameter()) AS _subquery795. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 2024.09.24 01:28:10.047073 [ 22255 ] {d5d4a033-ad56-490a-9263-860a59811e0b} executeQuery: Code: 36. DB::Exception: Argument 'source' must be a literal with type String, got Float64. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM url(914.539805, arrayFlatten(NULL));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000011950228 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da4a3e8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da4a0dd in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionFileLike.cpp:27: DB::ITableFunctionFileLike::parseFirstArguments(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a97c269 in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunctionFileLike.cpp:62: DB::ITableFunctionFileLike::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a97c841 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionURL.cpp:69: DB::TableFunctionURL::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a97e1f9 in /usr/bin/clickhouse 11. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97c5c1 in /usr/bin/clickhouse 12. /build/src/TableFunctions/TableFunctionURL.cpp:43: DB::TableFunctionURL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97dd97 in /usr/bin/clickhouse 13. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 14. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 15. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:28:10.049260 [ 22255 ] {d5d4a033-ad56-490a-9263-860a59811e0b} TCPHandler: Code: 36. DB::Exception: Argument 'source' must be a literal with type String, got Float64. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000011950228 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da4a3e8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da4a0dd in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionFileLike.cpp:27: DB::ITableFunctionFileLike::parseFirstArguments(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a97c269 in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunctionFileLike.cpp:62: DB::ITableFunctionFileLike::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a97c841 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionURL.cpp:69: DB::TableFunctionURL::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a97e1f9 in /usr/bin/clickhouse 11. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97c5c1 in /usr/bin/clickhouse 12. /build/src/TableFunctions/TableFunctionURL.cpp:43: DB::TableFunctionURL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97dd97 in /usr/bin/clickhouse 13. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 14. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 15. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 01:28:10.209441 [ 22255 ] {bbfb04f7-03e0-47c4-b2d8-127e69ad36b6} executeQuery: Code: 36. DB::Exception: Scalar `7229640894776947757_3654477409849403699` doesn't exist (internal bug): While processing __getScalar('7229640894776947757_3654477409849403699') AS constant_expression. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM url(NULL, ( SELECT '', [NULL], [], 'c3iL\'i\'A' ) , ( SELECT BIT_AND('Gv=$\']Oo', -71.45) ) );), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:1350: DB::Context::getScalar(String const&) const @ 0x000000001bdc65b0 in /usr/bin/clickhouse 7. /build/src/Functions/getScalar.cpp:58: DB::(anonymous namespace)::FunctionGetScalar::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e4871e4 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefe15 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1735: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x000000001bfb93ed in /usr/bin/clickhouse 23. /build/src/Interpreters/evaluateConstantExpression.cpp:77: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08b5eb in /usr/bin/clickhouse 24. /build/src/Interpreters/evaluateConstantExpression.cpp:117: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08bcfd in /usr/bin/clickhouse 25. /build/src/Interpreters/evaluateConstantExpression.cpp:125: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08be12 in /usr/bin/clickhouse 26. /build/src/Storages/StorageURL.cpp:1249: DB::StorageURL::collectHeaders(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::vector>&, std::shared_ptr) @ 0x000000001da073df in /usr/bin/clickhouse 27. /build/src/TableFunctions/TableFunctionURL.cpp:64: DB::TableFunctionURL::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a97e183 in /usr/bin/clickhouse 28. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97c5c1 in /usr/bin/clickhouse 29. /build/src/TableFunctions/TableFunctionURL.cpp:43: DB::TableFunctionURL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97dd97 in /usr/bin/clickhouse 30. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 31. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 2024.09.24 01:28:10.211235 [ 22255 ] {bbfb04f7-03e0-47c4-b2d8-127e69ad36b6} TCPHandler: Code: 36. DB::Exception: Scalar `7229640894776947757_3654477409849403699` doesn't exist (internal bug): While processing __getScalar('7229640894776947757_3654477409849403699') AS constant_expression. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:1350: DB::Context::getScalar(String const&) const @ 0x000000001bdc65b0 in /usr/bin/clickhouse 7. /build/src/Functions/getScalar.cpp:58: DB::(anonymous namespace)::FunctionGetScalar::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e4871e4 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefe15 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1735: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x000000001bfb93ed in /usr/bin/clickhouse 23. /build/src/Interpreters/evaluateConstantExpression.cpp:77: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08b5eb in /usr/bin/clickhouse 24. /build/src/Interpreters/evaluateConstantExpression.cpp:117: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08bcfd in /usr/bin/clickhouse 25. /build/src/Interpreters/evaluateConstantExpression.cpp:125: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08be12 in /usr/bin/clickhouse 26. /build/src/Storages/StorageURL.cpp:1249: DB::StorageURL::collectHeaders(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::vector>&, std::shared_ptr) @ 0x000000001da073df in /usr/bin/clickhouse 27. /build/src/TableFunctions/TableFunctionURL.cpp:64: DB::TableFunctionURL::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a97e183 in /usr/bin/clickhouse 28. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97c5c1 in /usr/bin/clickhouse 29. /build/src/TableFunctions/TableFunctionURL.cpp:43: DB::TableFunctionURL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97dd97 in /usr/bin/clickhouse 30. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 31. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 2024.09.24 01:28:10.234176 [ 22255 ] {0d9285ab-8d6d-4687-9d0e-11cc81755bab} executeQuery: Code: 42. DB::Exception: Table function 'odbc' requires 2 or 3 arguments: odbc('DSN', table) or odbc('DSN', schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM odbc(sumMappedArrays('', 5911.114344));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:36: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9c0e08 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:10.235918 [ 22255 ] {0d9285ab-8d6d-4687-9d0e-11cc81755bab} TCPHandler: Code: 42. DB::Exception: Table function 'odbc' requires 2 or 3 arguments: odbc('DSN', table) or odbc('DSN', schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:36: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9c0e08 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:10.391426 [ 22255 ] {2a954507-cc1c-4be0-bbde-0b08d6ce9424} executeQuery: Code: 42. DB::Exception: Aggregate function quantileExactWeighted requires two arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT quantileExactWeighted('');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:33: DB::assertBinary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013dfd7e1 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:240: DB::AggregateFunctionQuantile, DB::NameQuantileExactWeighted, true, void, false>::assertSecondArg(std::vector, std::allocator>> const&) @ 0x0000000014880890 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionQuantileExactWeighted.cpp:32: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000001487f984 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 2024.09.24 01:28:10.393952 [ 22255 ] {2a954507-cc1c-4be0-bbde-0b08d6ce9424} TCPHandler: Code: 42. DB::Exception: Aggregate function quantileExactWeighted requires two arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:33: DB::assertBinary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013dfd7e1 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:240: DB::AggregateFunctionQuantile, DB::NameQuantileExactWeighted, true, void, false>::assertSecondArg(std::vector, std::allocator>> const&) @ 0x0000000014880890 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionQuantileExactWeighted.cpp:32: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000001487f984 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 2024.09.24 01:28:10.556873 [ 22255 ] {71fe7e4f-910d-40a5-83fd-b1fd5918e7a3} executeQuery: Code: 43. DB::Exception: Illegal type String of argument 1 of function h3ExactEdgeLengthRads. Must be UInt64: While processing h3ExactEdgeLengthRads(''). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT h3ExactEdgeLengthRads('');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, int&&, String&&) @ 0x000000000e478f88 in /usr/bin/clickhouse 6. /build/src/Functions/h3ExactEdgeLengthRads.cpp:45: DB::(anonymous namespace)::FunctionH3ExactEdgeLengthRads::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000eed84ea in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:28:10.559364 [ 22255 ] {71fe7e4f-910d-40a5-83fd-b1fd5918e7a3} TCPHandler: Code: 43. DB::Exception: Illegal type String of argument 1 of function h3ExactEdgeLengthRads. Must be UInt64: While processing h3ExactEdgeLengthRads(''). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, int&&, String&&) @ 0x000000000e478f88 in /usr/bin/clickhouse 6. /build/src/Functions/h3ExactEdgeLengthRads.cpp:45: DB::(anonymous namespace)::FunctionH3ExactEdgeLengthRads::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000eed84ea in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:28:10.567005 [ 22255 ] {42827677-e0e8-4185-9e61-597bc8a7b37d} executeQuery: Code: 42. DB::Exception: Storage PostgreSQL requires from 5 to 7 parameters: PostgreSQL('host:port', 'database', 'table', 'username', 'password' [, 'schema', 'ON CONFLICT ...']. Got: 0. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM postgresql()), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000d91e133 in /usr/bin/clickhouse 6. /build/src/Storages/StoragePostgreSQL.cpp:499: DB::StoragePostgreSQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x000000001d7db0c0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:53: DB::TableFunctionPostgreSQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9cf7f6 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:10.568785 [ 22255 ] {42827677-e0e8-4185-9e61-597bc8a7b37d} TCPHandler: Code: 42. DB::Exception: Storage PostgreSQL requires from 5 to 7 parameters: PostgreSQL('host:port', 'database', 'table', 'username', 'password' [, 'schema', 'ON CONFLICT ...']. Got: 0. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000d91e133 in /usr/bin/clickhouse 6. /build/src/Storages/StoragePostgreSQL.cpp:499: DB::StoragePostgreSQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x000000001d7db0c0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:53: DB::TableFunctionPostgreSQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9cf7f6 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:10.737259 [ 22255 ] {4875425f-0921-4c41-ae6e-0bf41b8d2933} executeQuery: Code: 42. DB::Exception: Number of arguments for function reinterpretAsInt8 doesn't match: passed 2, should be 1: While processing pow(reinterpretAsInt8(NULL, '\0')). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT power(reinterpretAsInt8(NULL, '\0'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:28:10.739269 [ 22255 ] {4875425f-0921-4c41-ae6e-0bf41b8d2933} TCPHandler: Code: 42. DB::Exception: Number of arguments for function reinterpretAsInt8 doesn't match: passed 2, should be 1: While processing pow(reinterpretAsInt8(NULL, '\0')). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:28:10.871725 [ 22255 ] {296bc7cb-953f-4ba6-b6b1-35a868e8f334} executeQuery: Code: 43. DB::Exception: Illegal type Float64 of argument of function ngramDistance: While processing ngramDistance('\0', 2009500.57115). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT ngramDistance('\0', 2009500.57115);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringSimilarity.h:51: DB::FunctionsStringSimilarity, DB::NameNgramDistance>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000c3a176d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:28:10.873536 [ 22255 ] {296bc7cb-953f-4ba6-b6b1-35a868e8f334} TCPHandler: Code: 43. DB::Exception: Illegal type Float64 of argument of function ngramDistance: While processing ngramDistance('\0', 2009500.57115). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringSimilarity.h:51: DB::FunctionsStringSimilarity, DB::NameNgramDistance>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000c3a176d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:28:11.029634 [ 22255 ] {bea97c34-b4ff-4837-b7d5-416c3b967b04} executeQuery: Code: 701. DB::Exception: Requested cluster '>N1 on' not found. (CLUSTER_DOESNT_EXIST) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hdfsCluster('>N1 on');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionCluster.h:62: DB::ITableFunctionCluster::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9bec2d in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97c5c1 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionCluster.h:47: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9be7d7 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:11.031648 [ 22255 ] {bea97c34-b4ff-4837-b7d5-416c3b967b04} TCPHandler: Code: 701. DB::Exception: Requested cluster '>N1 on' not found. (CLUSTER_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionCluster.h:62: DB::ITableFunctionCluster::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9bec2d in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97c5c1 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionCluster.h:47: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9be7d7 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:11.041457 [ 22255 ] {267464c6-836c-4e2a-8549-444998ca44d9} executeQuery: Code: 42. DB::Exception: Number of arguments for function __bitBoolMaskAnd doesn't match: passed 1, should be 2: While processing __bitBoolMaskAnd(-19140.693). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT __bitBoolMaskAnd(-19140.693);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:28:11.043251 [ 22255 ] {267464c6-836c-4e2a-8549-444998ca44d9} TCPHandler: Code: 42. DB::Exception: Number of arguments for function __bitBoolMaskAnd doesn't match: passed 1, should be 2: While processing __bitBoolMaskAnd(-19140.693). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:28:11.221267 [ 22255 ] {d2f0cd6c-e6c7-44cd-b43d-4ff40d55f56f} executeQuery: Code: 32. DB::Exception: Attempt to read after eof: Cannot parse Int64 from String, because value is too short: While processing toInt64(''). (ATTEMPT_TO_READ_AFTER_EOF) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toInt64('');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [26]) @ 0x000000000b5e1e5e in /usr/bin/clickhouse 6. /build/src/IO/VarInt.cpp:13: DB::throwReadAfterEOF() @ 0x000000001399af91 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:325: void DB::readIntTextImpl(long&, DB::ReadBuffer&) @ 0x000000000b407e44 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:466: void DB::readIntText<(DB::ReadIntTextCheckOverflow)0, long>(long&, DB::ReadBuffer&) @ 0x000000000b407d9d in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:1160: void DB::readText(long&, DB::ReadBuffer&) @ 0x000000000b407d5d in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1052: void DB::parseImpl>(DB::DataTypeNumber::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b407ca8 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b407ba6 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b4028f8 in /usr/bin/clickhouse 13. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b3f14f9 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b3f0828 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b3efa3e in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 2024.09.24 01:28:11.223397 [ 22255 ] {d2f0cd6c-e6c7-44cd-b43d-4ff40d55f56f} TCPHandler: Code: 32. DB::Exception: Attempt to read after eof: Cannot parse Int64 from String, because value is too short: While processing toInt64(''). (ATTEMPT_TO_READ_AFTER_EOF), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [26]) @ 0x000000000b5e1e5e in /usr/bin/clickhouse 6. /build/src/IO/VarInt.cpp:13: DB::throwReadAfterEOF() @ 0x000000001399af91 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:325: void DB::readIntTextImpl(long&, DB::ReadBuffer&) @ 0x000000000b407e44 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:466: void DB::readIntText<(DB::ReadIntTextCheckOverflow)0, long>(long&, DB::ReadBuffer&) @ 0x000000000b407d9d in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:1160: void DB::readText(long&, DB::ReadBuffer&) @ 0x000000000b407d5d in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1052: void DB::parseImpl>(DB::DataTypeNumber::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b407ca8 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b407ba6 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b4028f8 in /usr/bin/clickhouse 13. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b3f14f9 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b3f0828 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b3efa3e in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 2024.09.24 01:28:11.383171 [ 22255 ] {5d7b4bc4-9205-4bb9-b6bb-8a08bb17756d} executeQuery: Code: 42. DB::Exception: Storage MeiliSearch requires 3 parameters: MeiliSearch('url', 'index', 'key'= ""). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM meilisearch();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [82]) @ 0x0000000013c42ffe in /usr/bin/clickhouse 6. /build/src/Storages/MeiliSearch/StorageMeiliSearch.cpp:169: DB::StorageMeiliSearch::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x000000001adc8eb5 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionMeiliSearch.cpp:26: DB::TableFunctionMeiliSearch::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9956e6 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:11.384874 [ 22255 ] {5d7b4bc4-9205-4bb9-b6bb-8a08bb17756d} TCPHandler: Code: 42. DB::Exception: Storage MeiliSearch requires 3 parameters: MeiliSearch('url', 'index', 'key'= ""). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [82]) @ 0x0000000013c42ffe in /usr/bin/clickhouse 6. /build/src/Storages/MeiliSearch/StorageMeiliSearch.cpp:169: DB::StorageMeiliSearch::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x000000001adc8eb5 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionMeiliSearch.cpp:26: DB::TableFunctionMeiliSearch::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9956e6 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:11.536634 [ 22255 ] {58ebecce-01a4-4b4c-8b36-d739f614427a} executeQuery: Code: 42. DB::Exception: Number of arguments for function toYYYYMMDDhhmmss doesn't match: passed 0, should be 1 or 2: While processing toYYYYMMDDhhmmss(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toYYYYMMDDhhmmss();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b232e2c in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionDateOrDateTime.h:135: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x00000000126e3f51 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:60: DB::FunctionDateOrDateTimeToSomething, DB::ToYYYYMMDDhhmmssImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x00000000126e1e5f in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:28:11.539049 [ 22255 ] {58ebecce-01a4-4b4c-8b36-d739f614427a} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toYYYYMMDDhhmmss doesn't match: passed 0, should be 1 or 2: While processing toYYYYMMDDhhmmss(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b232e2c in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionDateOrDateTime.h:135: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x00000000126e3f51 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:60: DB::FunctionDateOrDateTimeToSomething, DB::ToYYYYMMDDhhmmssImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x00000000126e1e5f in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:28:11.562068 [ 22255 ] {42852942-f476-4fe6-a118-6ea250247c0d} executeQuery: Code: 42. DB::Exception: Number of arguments for function uniqThetaUnion doesn't match: passed 0, should be 2: While processing uniqThetaUnion(), [], tryBase64Decode(), [], '\0'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT uniqThetaUnion(), [], tryBase64Decode(), [], '\0';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:28:11.563833 [ 22255 ] {42852942-f476-4fe6-a118-6ea250247c0d} TCPHandler: Code: 42. DB::Exception: Number of arguments for function uniqThetaUnion doesn't match: passed 0, should be 2: While processing uniqThetaUnion(), [], tryBase64Decode(), [], '\0'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:28:11.572559 [ 22255 ] {563d620a-1eb5-4ec4-9acf-1f0e8e820348} executeQuery: Code: 36. DB::Exception: Hosts pattern must be string literal (in single quotes). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM remote(NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [57]) @ 0x000000000ddb69fe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:151: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a94ae44 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:11.574228 [ 22255 ] {563d620a-1eb5-4ec4-9acf-1f0e8e820348} TCPHandler: Code: 36. DB::Exception: Hosts pattern must be string literal (in single quotes). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [57]) @ 0x000000000ddb69fe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:151: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a94ae44 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:11.582339 [ 22255 ] {439bddcf-b9ac-4697-86b7-a886aae5486c} executeQuery: Code: 42. DB::Exception: Number of arguments for function lengthUTF8 doesn't match: passed 0, should be 1: While processing lengthUTF8(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT CHAR_LENGTH();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:28:11.584283 [ 22255 ] {439bddcf-b9ac-4697-86b7-a886aae5486c} TCPHandler: Code: 42. DB::Exception: Number of arguments for function lengthUTF8 doesn't match: passed 0, should be 1: While processing lengthUTF8(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:28:11.766166 [ 22255 ] {f08fffb9-959a-4cc8-b3ac-ca5a5b18f6bd} executeQuery: Code: 42. DB::Exception: Table function 'zeros' requires 'length'.: While processing (SELECT * FROM zeros()) AS _subquery802: While processing ngramDistanceUTF8((SELECT * FROM zeros()) AS _subquery802, NULL): While processing (SELECT ngramDistanceUTF8((SELECT * FROM zeros()), NULL)) AS _subquery801. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT ( SELECT ngramDistanceUTF8(( SELECT * FROM zeros() ) , NULL) ) , '\0', (CAST(((CAST(((CAST((subtractMicroseconds('C9}')) AS Date))) AS Date))) AS Date)), '{4jn%b', (CAST(([]) AS DateTime));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionZeros.cpp:37: DB::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a971088 in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8dec5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9173d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f0b7 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 2024.09.24 01:28:11.768320 [ 22255 ] {f08fffb9-959a-4cc8-b3ac-ca5a5b18f6bd} TCPHandler: Code: 42. DB::Exception: Table function 'zeros' requires 'length'.: While processing (SELECT * FROM zeros()) AS _subquery802: While processing ngramDistanceUTF8((SELECT * FROM zeros()) AS _subquery802, NULL): While processing (SELECT ngramDistanceUTF8((SELECT * FROM zeros()), NULL)) AS _subquery801. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionZeros.cpp:37: DB::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a971088 in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8dec5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9173d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f0b7 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 2024.09.24 01:28:11.937250 [ 22255 ] {c95a7093-b784-4a45-8156-23d9151e26d1} executeQuery: Code: 43. DB::Exception: Illegal type Float64 of argument of function normalizeUTF8NFKD: While processing normalizeUTF8NFKD(-7696349.481). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT normalizeUTF8NFKD(-7696349.481);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionStringToString.h:54: DB::FunctionStringToString, DB::(anonymous namespace)::NormalizeNFKDImpl, false>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000011511bf1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:28:11.939389 [ 22255 ] {c95a7093-b784-4a45-8156-23d9151e26d1} TCPHandler: Code: 43. DB::Exception: Illegal type Float64 of argument of function normalizeUTF8NFKD: While processing normalizeUTF8NFKD(-7696349.481). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionStringToString.h:54: DB::FunctionStringToString, DB::(anonymous namespace)::NormalizeNFKDImpl, false>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000011511bf1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:28:11.952662 [ 22255 ] {38b557e0-4dbc-43dc-9da2-cc38a7a2586b} executeQuery: Code: 41. DB::ParsingException: Cannot parse datetime: Cannot parse DateTime from String: While processing [[[]]], CAST('!X\'LM6/`', 'DateTime'), ['\0']. (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT [[[]]], (CAST(('!X\'LM6/`') AS DateTime)), ['\0'];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x000000000b265ab7 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1218: void DB::readDateTimeTextFallback(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000001398cbf6 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:966: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b59d0d6 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:1047: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b59cda5 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1077: void DB::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b59ccd4 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b59cbbb in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b5971f8 in /usr/bin/clickhouse 12. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b586e59 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b586188 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b58537e in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b3d70 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3d06 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3ca0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3c40 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b3beb in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 27. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 2024.09.24 01:28:11.954827 [ 22255 ] {38b557e0-4dbc-43dc-9da2-cc38a7a2586b} TCPHandler: Code: 41. DB::ParsingException: Cannot parse datetime: Cannot parse DateTime from String: While processing [[[]]], CAST('!X\'LM6/`', 'DateTime'), ['\0']. (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x000000000b265ab7 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1218: void DB::readDateTimeTextFallback(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000001398cbf6 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:966: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b59d0d6 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:1047: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b59cda5 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1077: void DB::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b59ccd4 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b59cbbb in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b5971f8 in /usr/bin/clickhouse 12. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b586e59 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b586188 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b58537e in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b3d70 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3d06 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3ca0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3c40 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b3beb in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 27. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 2024.09.24 01:28:12.160125 [ 22255 ] {5828b10a-95bc-4332-bced-378a75f6fd63} executeQuery: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: While processing CAST(CAST(NULL, 'String'), 'DateTime'): While processing (SELECT * FROM format('', CAST(CAST(NULL, 'String'), 'DateTime'))) AS cjh: While processing queryString(_CAST(433736, 'Nullable(UInt128)') AS _subquery803, (SELECT * FROM format('', CAST(CAST(NULL, 'String'), 'DateTime'))) AS cjh). (CANNOT_CONVERT_TYPE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT queryString(( SELECT reinterpretAsUInt128(433736) ) , ( SELECT * FROM format('', (CAST(((CAST((NULL) AS String))) AS DateTime))) ) AS cjh);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [43]) @ 0x000000000b1fb6be in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3831: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000b78efa3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2875: DB::FunctionCast::prepare(std::vector> const&) const @ 0x000000000b78ea5c in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:272: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85a09 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1735: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x000000001bfb93ed in /usr/bin/clickhouse 22. /build/src/Interpreters/evaluateConstantExpression.cpp:77: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08b5eb in /usr/bin/clickhouse 23. /build/src/Interpreters/evaluateConstantExpression.cpp:117: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08bcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/evaluateConstantExpression.cpp:125: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08be12 in /usr/bin/clickhouse 25. /build/src/TableFunctions/TableFunctionFormat.cpp:47: DB::TableFunctionFormat::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9d7c99 in /usr/bin/clickhouse 26. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 27. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 28. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 2024.09.24 01:28:12.162813 [ 22255 ] {5828b10a-95bc-4332-bced-378a75f6fd63} TCPHandler: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: While processing CAST(CAST(NULL, 'String'), 'DateTime'): While processing (SELECT * FROM format('', CAST(CAST(NULL, 'String'), 'DateTime'))) AS cjh: While processing queryString(_CAST(433736, 'Nullable(UInt128)') AS _subquery803, (SELECT * FROM format('', CAST(CAST(NULL, 'String'), 'DateTime'))) AS cjh). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [43]) @ 0x000000000b1fb6be in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3831: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000b78efa3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2875: DB::FunctionCast::prepare(std::vector> const&) const @ 0x000000000b78ea5c in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:272: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85a09 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1735: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x000000001bfb93ed in /usr/bin/clickhouse 22. /build/src/Interpreters/evaluateConstantExpression.cpp:77: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08b5eb in /usr/bin/clickhouse 23. /build/src/Interpreters/evaluateConstantExpression.cpp:117: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08bcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/evaluateConstantExpression.cpp:125: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08be12 in /usr/bin/clickhouse 25. /build/src/TableFunctions/TableFunctionFormat.cpp:47: DB::TableFunctionFormat::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9d7c99 in /usr/bin/clickhouse 26. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 27. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 28. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 2024.09.24 01:28:12.368761 [ 22255 ] {a6630e27-9f8a-4844-baa4-24522396813c} executeQuery: Code: 170. DB::Exception: Bad get: has Int64, requested String. (BAD_GET) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM merge(-9699357, 193642.50);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x000000000b78c8ac in /usr/bin/clickhouse 6. /build/src/Core/Field.h:890: auto& DB::Field::safeGet() @ 0x000000000b78c70d in /usr/bin/clickhouse 7. /build/src/Interpreters/evaluateConstantExpression.cpp:132: DB::evaluateConstantExpressionForDatabaseName(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08bea4 in /usr/bin/clickhouse 8. /build/src/Storages/StorageMerge.cpp:1200: DB::StorageMerge::evaluateDatabaseName(std::shared_ptr const&, std::shared_ptr) @ 0x000000001d75b937 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionMerge.cpp:75: DB::TableFunctionMerge::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9411b7 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:12.370933 [ 22255 ] {a6630e27-9f8a-4844-baa4-24522396813c} TCPHandler: Code: 170. DB::Exception: Bad get: has Int64, requested String. (BAD_GET), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x000000000b78c8ac in /usr/bin/clickhouse 6. /build/src/Core/Field.h:890: auto& DB::Field::safeGet() @ 0x000000000b78c70d in /usr/bin/clickhouse 7. /build/src/Interpreters/evaluateConstantExpression.cpp:132: DB::evaluateConstantExpressionForDatabaseName(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08bea4 in /usr/bin/clickhouse 8. /build/src/Storages/StorageMerge.cpp:1200: DB::StorageMerge::evaluateDatabaseName(std::shared_ptr const&, std::shared_ptr) @ 0x000000001d75b937 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionMerge.cpp:75: DB::TableFunctionMerge::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9411b7 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:12.381381 [ 22255 ] {48155bd2-d941-4e9c-b3d2-c86036d58fd6} executeQuery: Code: 42. DB::Exception: Number of arguments for function tupleNegate doesn't match: passed 2, should be 1: While processing tupleNegate([], [NULL]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT tupleNegate([], [NULL]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:28:12.383265 [ 22255 ] {48155bd2-d941-4e9c-b3d2-c86036d58fd6} TCPHandler: Code: 42. DB::Exception: Number of arguments for function tupleNegate doesn't match: passed 2, should be 1: While processing tupleNegate([], [NULL]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:28:12.390511 [ 22255 ] {c45453b8-db04-4e68-a060-39c60a599b1e} executeQuery: Code: 42. DB::Exception: Table function 'format' requires 2 or 3 arguments: format, [structure], data. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM format(NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFormat.cpp:44: DB::TableFunctionFormat::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9d7baa in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:12.392034 [ 22255 ] {c45453b8-db04-4e68-a060-39c60a599b1e} TCPHandler: Code: 42. DB::Exception: Table function 'format' requires 2 or 3 arguments: format, [structure], data. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFormat.cpp:44: DB::TableFunctionFormat::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9d7baa in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:12.559733 [ 22255 ] {9168576d-34a1-4e53-af67-009d602cb213} executeQuery: Code: 42. DB::Exception: The signature of function hive is: - hive_url, hive_database, hive_table, structure, partition_by_keys. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hive('', (CAST((NULL) AS String)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/Hive/TableFunctionHive.cpp:36: DB::TableFunctionHive::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9ebf37 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:12.561799 [ 22255 ] {9168576d-34a1-4e53-af67-009d602cb213} TCPHandler: Code: 42. DB::Exception: The signature of function hive is: - hive_url, hive_database, hive_table, structure, partition_by_keys. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/Hive/TableFunctionHive.cpp:36: DB::TableFunctionHive::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9ebf37 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:12.692205 [ 22255 ] {896e3849-596b-499c-9315-1142a5cd0cb6} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function radians: While processing radians([]). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT radians([]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionMathUnary.h:49: DB::FunctionMathUnary>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000123eee87 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:28:12.694040 [ 22255 ] {896e3849-596b-499c-9315-1142a5cd0cb6} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function radians: While processing radians([]). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionMathUnary.h:49: DB::FunctionMathUnary>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000123eee87 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:28:12.701123 [ 22255 ] {046f2c7c-7040-45be-9b76-476f821541f8} executeQuery: Code: 42. DB::Exception: Number of arguments for function polygonsSymDifferenceCartesian doesn't match: passed 0, should be 2: While processing polygonsSymDifferenceCartesian(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT polygonsSymDifferenceCartesian();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:28:12.702637 [ 22255 ] {046f2c7c-7040-45be-9b76-476f821541f8} TCPHandler: Code: 42. DB::Exception: Number of arguments for function polygonsSymDifferenceCartesian doesn't match: passed 0, should be 2: While processing polygonsSymDifferenceCartesian(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:28:12.708113 [ 22255 ] {89f8841d-2c17-47fc-bbda-569402265c61} executeQuery: Code: 42. DB::Exception: Storage MeiliSearch requires 3 parameters: MeiliSearch('url', 'index', 'key'= ""). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM meilisearch();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [82]) @ 0x0000000013c42ffe in /usr/bin/clickhouse 6. /build/src/Storages/MeiliSearch/StorageMeiliSearch.cpp:169: DB::StorageMeiliSearch::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x000000001adc8eb5 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionMeiliSearch.cpp:26: DB::TableFunctionMeiliSearch::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9956e6 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:12.709526 [ 22255 ] {89f8841d-2c17-47fc-bbda-569402265c61} TCPHandler: Code: 42. DB::Exception: Storage MeiliSearch requires 3 parameters: MeiliSearch('url', 'index', 'key'= ""). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [82]) @ 0x0000000013c42ffe in /usr/bin/clickhouse 6. /build/src/Storages/MeiliSearch/StorageMeiliSearch.cpp:169: DB::StorageMeiliSearch::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x000000001adc8eb5 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionMeiliSearch.cpp:26: DB::TableFunctionMeiliSearch::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9956e6 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:12.863855 [ 22255 ] {39f9f302-e9e4-431f-a18f-623d05e4c6de} executeQuery: Code: 42. DB::Exception: Table function 'jdbc' requires 2 or 3 arguments: jdbc('DSN', table) or jdbc('DSN', schema, table): While processing (SELECT * FROM jdbc()) AS _subquery804. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '0(Io|G\)', str_to_date(), '\0', tupleIntDiv(), ( SELECT * FROM jdbc() ) , ( SELECT isNullable() ) ;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:36: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9c0e08 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8dec5 in /usr/bin/clickhouse 29. /build/src/Interpreters/TreeRewriter.cpp:465: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001cfa05e8 in /usr/bin/clickhouse 30. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d542 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 2024.09.24 01:28:12.865759 [ 22255 ] {39f9f302-e9e4-431f-a18f-623d05e4c6de} TCPHandler: Code: 42. DB::Exception: Table function 'jdbc' requires 2 or 3 arguments: jdbc('DSN', table) or jdbc('DSN', schema, table): While processing (SELECT * FROM jdbc()) AS _subquery804. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:36: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9c0e08 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8dec5 in /usr/bin/clickhouse 29. /build/src/Interpreters/TreeRewriter.cpp:465: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001cfa05e8 in /usr/bin/clickhouse 30. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d542 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 2024.09.24 01:28:13.011723 [ 22255 ] {577014c9-ad14-46b4-bed9-fdff11947245} executeQuery: Code: 36. DB::Exception: Default value type should be same as cast type. Expected Int256. Actual Nullable(Nothing): While processing toInt256OrDefault(ngramMinHashArgCaseInsensitive(NULL, []), NULL). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toInt256OrDefault(ngramMinHashArgCaseInsensitive(NULL, []), NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/castOrDefault.cpp:90: DB::FunctionCastOrDefault::getReturnTypeImpl(std::vector> const&) const @ 0x000000000d8d6775 in /usr/bin/clickhouse 7. /build/src/Functions/castOrDefault.cpp:287: DB::FunctionCastOrDefaultTyped>, DB::NameToInt256OrDefault>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000d8eaa74 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:28:13.017114 [ 22255 ] {577014c9-ad14-46b4-bed9-fdff11947245} TCPHandler: Code: 36. DB::Exception: Default value type should be same as cast type. Expected Int256. Actual Nullable(Nothing): While processing toInt256OrDefault(ngramMinHashArgCaseInsensitive(NULL, []), NULL). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/castOrDefault.cpp:90: DB::FunctionCastOrDefault::getReturnTypeImpl(std::vector> const&) const @ 0x000000000d8d6775 in /usr/bin/clickhouse 7. /build/src/Functions/castOrDefault.cpp:287: DB::FunctionCastOrDefaultTyped>, DB::NameToInt256OrDefault>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000d8eaa74 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:28:13.031169 [ 22255 ] {52b1e5bb-29c6-4bb1-affd-1583c34dec9b} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function toDate: While processing CAST([], 'Date'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST(([]) AS Date));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2103: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b535666 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53475e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b3d70 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3d06 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3ca0 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3c40 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b3beb in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:28:13.035473 [ 22255 ] {52b1e5bb-29c6-4bb1-affd-1583c34dec9b} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function toDate: While processing CAST([], 'Date'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2103: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b535666 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53475e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b3d70 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3d06 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3ca0 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3c40 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b3beb in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:28:13.235256 [ 22255 ] {430366b9-b4cf-48c9-9cc1-f7ae909ace33} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function toInt128 provided 0, expected 1 ('Value' : ): While processing toInt128(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toInt128();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001abfde7d in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abfbdc5 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1861: DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000b438806 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1823: auto DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000b438580 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval> const&>())) std::__invoke[abi:v15000]>, DB::NameToInt128, DB::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(auto&&, std::vector> const&) @ 0x000000000b43853d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call>, DB::NameToInt128, DB::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&) @ 0x000000000b4384fd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>, DB::NameToInt128, DB::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) @ 0x000000000b4384bd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::NameToInt128, DB::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000b438485 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) const @ 0x000000000b268ebe in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::vector> const&)>::operator()(std::vector> const&) const @ 0x000000000b267b7d in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:1818: DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000b4382bb in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1824: DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b41d27a in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:28:13.238458 [ 22255 ] {430366b9-b4cf-48c9-9cc1-f7ae909ace33} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function toInt128 provided 0, expected 1 ('Value' : ): While processing toInt128(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001abfde7d in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abfbdc5 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1861: DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000b438806 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1823: auto DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000b438580 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval> const&>())) std::__invoke[abi:v15000]>, DB::NameToInt128, DB::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(auto&&, std::vector> const&) @ 0x000000000b43853d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call>, DB::NameToInt128, DB::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&) @ 0x000000000b4384fd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>, DB::NameToInt128, DB::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) @ 0x000000000b4384bd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::NameToInt128, DB::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000b438485 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) const @ 0x000000000b268ebe in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::vector> const&)>::operator()(std::vector> const&) const @ 0x000000000b267b7d in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:1818: DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000b4382bb in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1824: DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b41d27a in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:28:13.245209 [ 22255 ] {667907eb-55fa-4b6a-98b9-920c45f5cecf} executeQuery: Code: 42. DB::Exception: The signature of function hive is: - hive_url, hive_database, hive_table, structure, partition_by_keys. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40408) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hive(NULL, '\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/Hive/TableFunctionHive.cpp:36: DB::TableFunctionHive::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9ebf37 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:13.247822 [ 22255 ] {667907eb-55fa-4b6a-98b9-920c45f5cecf} TCPHandler: Code: 42. DB::Exception: The signature of function hive is: - hive_url, hive_database, hive_table, structure, partition_by_keys. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/Hive/TableFunctionHive.cpp:36: DB::TableFunctionHive::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9ebf37 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:17.264893 [ 2329 ] {dfae95c2-1881-45b7-bbf7-2798145d9a44} executeQuery: Code: 42. DB::Exception: Number of arguments for function flattenTuple doesn't match: passed 0, should be 1: While processing flattenTuple(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT flattenTuple();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:28:17.266761 [ 2329 ] {dfae95c2-1881-45b7-bbf7-2798145d9a44} TCPHandler: Code: 42. DB::Exception: Number of arguments for function flattenTuple doesn't match: passed 0, should be 1: While processing flattenTuple(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:28:17.585299 [ 2329 ] {a25c17cc-c8fb-41ef-9c04-3c6de0f63cc1} executeQuery: Code: 42. DB::Exception: Number of arguments for function space doesn't match: passed 2, should be 1: While processing space(CAST(2457.98, 'Date'), NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT space((CAST((2457.98) AS Date)), NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:28:17.587873 [ 2329 ] {a25c17cc-c8fb-41ef-9c04-3c6de0f63cc1} TCPHandler: Code: 42. DB::Exception: Number of arguments for function space doesn't match: passed 2, should be 1: While processing space(CAST(2457.98, 'Date'), NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:28:17.802502 [ 2329 ] {1f2103f8-a6d8-4677-b1ab-b4f131cd07f9} executeQuery: Code: 701. DB::Exception: Requested cluster '' not found. (CLUSTER_DOESNT_EXIST) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM azureBlobStorageCluster('\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionCluster.h:62: DB::ITableFunctionCluster::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9ea20d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:174: DB::TableFunctionAzureBlobStorage::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9e41c4 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionCluster.h:47: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9e9db7 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:17.804901 [ 2329 ] {1f2103f8-a6d8-4677-b1ab-b4f131cd07f9} TCPHandler: Code: 701. DB::Exception: Requested cluster '' not found. (CLUSTER_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionCluster.h:62: DB::ITableFunctionCluster::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9ea20d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:174: DB::TableFunctionAzureBlobStorage::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9e41c4 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionCluster.h:47: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9e9db7 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:17.838905 [ 2329 ] {4efea45a-9f3d-4218-a331-91fc1473e327} executeQuery: Code: 42. DB::Exception: Number of arguments for function endsWithUTF8 doesn't match: passed 1, should be 2: While processing -884314, endsWithUTF8([NULL]), '', _CAST('ZS', 'Nullable(String)') AS _subquery806, '\0': While processing (SELECT -884314, endsWithUTF8([NULL]), '', (SELECT 'ZS'), '\0') AS constant_expression. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM numbers_mt(( SELECT -884314, endsWithUTF8([NULL]), '', ( SELECT 'ZS' ) , '\0' ) );), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 2024.09.24 01:28:17.840995 [ 2329 ] {4efea45a-9f3d-4218-a331-91fc1473e327} TCPHandler: Code: 42. DB::Exception: Number of arguments for function endsWithUTF8 doesn't match: passed 1, should be 2: While processing -884314, endsWithUTF8([NULL]), '', _CAST('ZS', 'Nullable(String)') AS _subquery806, '\0': While processing (SELECT -884314, endsWithUTF8([NULL]), '', (SELECT 'ZS'), '\0') AS constant_expression. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 2024.09.24 01:28:18.071953 [ 2329 ] {e4cecd87-2fc5-468b-84f4-972622d27f5a} executeQuery: Code: 36. DB::Exception: Argument 'source' must be a literal with type String, got Array. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hdfs([[]], '\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000011950228 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da4a3e8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da4a0dd in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionFileLike.cpp:27: DB::ITableFunctionFileLike::parseFirstArguments(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a97c269 in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunctionFileLike.cpp:62: DB::ITableFunctionFileLike::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a97c841 in /usr/bin/clickhouse 10. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97c5c1 in /usr/bin/clickhouse 11. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 12. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 13. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:18.074708 [ 2329 ] {e4cecd87-2fc5-468b-84f4-972622d27f5a} TCPHandler: Code: 36. DB::Exception: Argument 'source' must be a literal with type String, got Array. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000011950228 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da4a3e8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da4a0dd in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionFileLike.cpp:27: DB::ITableFunctionFileLike::parseFirstArguments(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a97c269 in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunctionFileLike.cpp:62: DB::ITableFunctionFileLike::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a97c841 in /usr/bin/clickhouse 10. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97c5c1 in /usr/bin/clickhouse 11. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 12. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 13. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:18.273319 [ 2329 ] {fde333cb-95a0-4f29-a87f-300e0de8c0d5} executeQuery: Code: 36. DB::Exception: Bad arguments count when creating Redis table function: While processing (SELECT * FROM redis()) AS ptlzp: While processing lowCardinalityIndices((SELECT * FROM redis()) AS ptlzp, (SELECT [-42111013.7488]) AS _subquery807, CAST('8!O', 'Date')): While processing CAST(lowCardinalityIndices((SELECT * FROM redis()) AS ptlzp, (SELECT [-42111013.7488]) AS _subquery807, CAST('8!O', 'Date')), 'DateTime'). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST((lowCardinalityIndices(( SELECT * FROM redis() ) AS ptlzp, ( SELECT [-42111013.7488] ) , (CAST(('8!O') AS Date)))) AS DateTime)), '\0';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [55]) @ 0x000000000c15ae3e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRedis.cpp:56: DB::TableFunctionRedis::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a991b7d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8dec5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9173d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f0b7 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 2024.09.24 01:28:18.276393 [ 2329 ] {fde333cb-95a0-4f29-a87f-300e0de8c0d5} TCPHandler: Code: 36. DB::Exception: Bad arguments count when creating Redis table function: While processing (SELECT * FROM redis()) AS ptlzp: While processing lowCardinalityIndices((SELECT * FROM redis()) AS ptlzp, (SELECT [-42111013.7488]) AS _subquery807, CAST('8!O', 'Date')): While processing CAST(lowCardinalityIndices((SELECT * FROM redis()) AS ptlzp, (SELECT [-42111013.7488]) AS _subquery807, CAST('8!O', 'Date')), 'DateTime'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [55]) @ 0x000000000c15ae3e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRedis.cpp:56: DB::TableFunctionRedis::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a991b7d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8dec5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9173d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f0b7 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 2024.09.24 01:28:18.300967 [ 2329 ] {2e97f3a0-b2bb-4dd5-824b-c07660866eec} executeQuery: Code: 42. DB::Exception: The signature of table function file shall be the following: - filename - filename, format - filename, format, structure - filename, format, structure, compression_method . (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM file();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a97c6ea in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97c5c1 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:18.302523 [ 2329 ] {2e97f3a0-b2bb-4dd5-824b-c07660866eec} TCPHandler: Code: 42. DB::Exception: The signature of table function file shall be the following: - filename - filename, format - filename, format, structure - filename, format, structure, compression_method . (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a97c6ea in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97c5c1 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:18.312628 [ 2329 ] {ae99e5c8-b5a7-48f0-871a-4eecfa78c272} executeQuery: Code: 42. DB::Exception: Table function 'mongodb' requires from 6 to 7 parameters: mongodb('host:port', database, collection, 'user', 'password', structure, [, 'options']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM mongodb()), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [147]) @ 0x000000000e47bbbe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMongoDB.cpp:64: DB::TableFunctionMongoDB::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a98e2f6 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:18.314462 [ 2329 ] {ae99e5c8-b5a7-48f0-871a-4eecfa78c272} TCPHandler: Code: 42. DB::Exception: Table function 'mongodb' requires from 6 to 7 parameters: mongodb('host:port', database, collection, 'user', 'password', structure, [, 'options']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [147]) @ 0x000000000e47bbbe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMongoDB.cpp:64: DB::TableFunctionMongoDB::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a98e2f6 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:18.329042 [ 2329 ] {fb186d15-3b33-4c6f-a52e-37b02f0bd3e3} executeQuery: Code: 42. DB::Exception: Table function 'mongodb' requires from 6 to 7 parameters: mongodb('host:port', database, collection, 'user', 'password', structure, [, 'options']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM mongodb('\0', (SELECT [], (SELECT queryString(478.90498, NULL)) AS dfzzn, (SELECT geohashEncode(740.591932)), '#2aoX', []), (SELECT parseDateTimeBestEffortUSOrNull()) AS pejpe)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [147]) @ 0x000000000e47bbbe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMongoDB.cpp:64: DB::TableFunctionMongoDB::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a98e2f6 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:18.331139 [ 2329 ] {fb186d15-3b33-4c6f-a52e-37b02f0bd3e3} TCPHandler: Code: 42. DB::Exception: Table function 'mongodb' requires from 6 to 7 parameters: mongodb('host:port', database, collection, 'user', 'password', structure, [, 'options']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [147]) @ 0x000000000e47bbbe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMongoDB.cpp:64: DB::TableFunctionMongoDB::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a98e2f6 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:18.340280 [ 2329 ] {94eb9527-56c4-4766-b345-e170384bf458} executeQuery: Code: 42. DB::Exception: Table function 'mongodb' requires from 6 to 7 parameters: mongodb('host:port', database, collection, 'user', 'password', structure, [, 'options']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM mongodb(NULL)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [147]) @ 0x000000000e47bbbe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMongoDB.cpp:64: DB::TableFunctionMongoDB::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a98e2f6 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:18.342071 [ 2329 ] {94eb9527-56c4-4766-b345-e170384bf458} TCPHandler: Code: 42. DB::Exception: Table function 'mongodb' requires from 6 to 7 parameters: mongodb('host:port', database, collection, 'user', 'password', structure, [, 'options']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [147]) @ 0x000000000e47bbbe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMongoDB.cpp:64: DB::TableFunctionMongoDB::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a98e2f6 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:18.504639 [ 2329 ] {bed56d8c-1de8-4a42-bc6c-bbdd54108ed7} executeQuery: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of argument of function arrayWithConstant, expected Integer: While processing dictGetUInt32OrDefault('*d>w:]', arrayWithConstant(NULL, NULL)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT dictGetUInt32OrDefault('*d>w:]', arrayWithConstant(NULL, NULL));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayWithConstant.cpp:43: DB::FunctionArrayWithConstant::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000013308131 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 2024.09.24 01:28:18.587084 [ 2329 ] {bed56d8c-1de8-4a42-bc6c-bbdd54108ed7} TCPHandler: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of argument of function arrayWithConstant, expected Integer: While processing dictGetUInt32OrDefault('*d>w:]', arrayWithConstant(NULL, NULL)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayWithConstant.cpp:43: DB::FunctionArrayWithConstant::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000013308131 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 2024.09.24 01:28:18.794181 [ 2329 ] {797b4bfd-0c9d-4f3c-901e-0686907945e0} executeQuery: Code: 42. DB::Exception: Number of arguments for function log doesn't match: passed 0, should be 1: While processing log(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hdfs(ln(), []);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1735: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x000000001bfb93ed in /usr/bin/clickhouse 21. /build/src/Interpreters/evaluateConstantExpression.cpp:77: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08b5eb in /usr/bin/clickhouse 22. /build/src/Interpreters/evaluateConstantExpression.cpp:117: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08bcfd in /usr/bin/clickhouse 23. /build/src/Interpreters/evaluateConstantExpression.cpp:125: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08be12 in /usr/bin/clickhouse 24. /build/src/TableFunctions/ITableFunctionFileLike.cpp:58: DB::ITableFunctionFileLike::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a97c7d9 in /usr/bin/clickhouse 25. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97c5c1 in /usr/bin/clickhouse 26. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 27. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 28. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 2024.09.24 01:28:18.796361 [ 2329 ] {797b4bfd-0c9d-4f3c-901e-0686907945e0} TCPHandler: Code: 42. DB::Exception: Number of arguments for function log doesn't match: passed 0, should be 1: While processing log(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1735: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x000000001bfb93ed in /usr/bin/clickhouse 21. /build/src/Interpreters/evaluateConstantExpression.cpp:77: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08b5eb in /usr/bin/clickhouse 22. /build/src/Interpreters/evaluateConstantExpression.cpp:117: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08bcfd in /usr/bin/clickhouse 23. /build/src/Interpreters/evaluateConstantExpression.cpp:125: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08be12 in /usr/bin/clickhouse 24. /build/src/TableFunctions/ITableFunctionFileLike.cpp:58: DB::ITableFunctionFileLike::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a97c7d9 in /usr/bin/clickhouse 25. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97c5c1 in /usr/bin/clickhouse 26. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 27. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 28. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 2024.09.24 01:28:18.978919 [ 2329 ] {190aeb0a-5573-41c9-99eb-f9677d039e8f} executeQuery: Code: 42. DB::Exception: Number of arguments for function dateDiff doesn't match: passed 0, should be 3 or 4: While processing dateDiff(): While processing (SELECT dateDiff()) AS _subquery808: While processing [(SELECT dateDiff()) AS _subquery808]: While processing (SELECT '0IkYBY(', [(SELECT dateDiff())], '\0', base58Decode(), NULL) AS tratkw: While processing [(SELECT '0IkYBY(', [(SELECT dateDiff())], '\0', base58Decode(), NULL) AS tratkw]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT [( SELECT '0IkYBY(', [( SELECT timestampDiff() ) ], '\0', base58Decode(), NULL ) AS tratkw], [], [], ['\0'];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b232e2c in /usr/bin/clickhouse 6. /build/src/Functions/dateDiff.cpp:334: DB::(anonymous namespace)::FunctionDateDiff::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d960cff in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:28:18.981521 [ 2329 ] {190aeb0a-5573-41c9-99eb-f9677d039e8f} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dateDiff doesn't match: passed 0, should be 3 or 4: While processing dateDiff(): While processing (SELECT dateDiff()) AS _subquery808: While processing [(SELECT dateDiff()) AS _subquery808]: While processing (SELECT '0IkYBY(', [(SELECT dateDiff())], '\0', base58Decode(), NULL) AS tratkw: While processing [(SELECT '0IkYBY(', [(SELECT dateDiff())], '\0', base58Decode(), NULL) AS tratkw]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b232e2c in /usr/bin/clickhouse 6. /build/src/Functions/dateDiff.cpp:334: DB::(anonymous namespace)::FunctionDateDiff::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d960cff in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:28:18.990771 [ 2329 ] {4ac1ca25-62a4-4cdf-9a1a-ef8c59607243} executeQuery: Code: 42. DB::Exception: Storage PostgreSQL requires from 5 to 7 parameters: PostgreSQL('host:port', 'database', 'table', 'username', 'password' [, 'schema', 'ON CONFLICT ...']. Got: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM postgresql('TC."Pz')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000d91e133 in /usr/bin/clickhouse 6. /build/src/Storages/StoragePostgreSQL.cpp:499: DB::StoragePostgreSQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x000000001d7db0c0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:53: DB::TableFunctionPostgreSQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9cf7f6 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:18.992522 [ 2329 ] {4ac1ca25-62a4-4cdf-9a1a-ef8c59607243} TCPHandler: Code: 42. DB::Exception: Storage PostgreSQL requires from 5 to 7 parameters: PostgreSQL('host:port', 'database', 'table', 'username', 'password' [, 'schema', 'ON CONFLICT ...']. Got: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000d91e133 in /usr/bin/clickhouse 6. /build/src/Storages/StoragePostgreSQL.cpp:499: DB::StoragePostgreSQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x000000001d7db0c0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:53: DB::TableFunctionPostgreSQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9cf7f6 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:19.165930 [ 2329 ] {8ba57bcf-3c27-43f9-8050-714a40a2dc55} executeQuery: Code: 42. DB::Exception: The signature of table function iceberg shall be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM iceberg();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:75: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a99804f in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a999d04 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionDataLake.h:61: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9b911f in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:19.167956 [ 2329 ] {8ba57bcf-3c27-43f9-8050-714a40a2dc55} TCPHandler: Code: 42. DB::Exception: The signature of table function iceberg shall be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:75: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a99804f in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a999d04 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionDataLake.h:61: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9b911f in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:19.381320 [ 2329 ] {c348ffef-ec94-4439-9668-fe2a81a5557e} executeQuery: Code: 36. DB::Exception: Hosts pattern must be string literal (in single quotes).: While processing (SELECT * FROM remote(CAST(9871.469, 'Date'), '')) AS s: While processing CAST((SELECT * FROM remote(CAST(9871.469, 'Date'), '')) AS s, 'DateTime'): While processing (SELECT CAST((SELECT * FROM remote(CAST(9871.469, 'Date'), '')) AS s, 'DateTime'), CAST('"Pqin ', 'String'), NULL) AS _subquery810: While processing bitmapOrCardinality('%qWW(c', (SELECT CAST((SELECT * FROM remote(CAST(9871.469, 'Date'), '')) AS s, 'DateTime'), CAST('"Pqin ', 'String'), NULL) AS _subquery810): While processing (SELECT bitmapOrCardinality('%qWW(c', (SELECT CAST((SELECT * FROM remote(CAST(9871.469, 'Date'), '')) AS s, 'DateTime'), CAST('"Pqin ', 'String'), NULL)), [], NULL) AS _subquery809. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT 'G', '/X', ( SELECT * FROM null() ) AS wlzamods, ( SELECT bitmapOrCardinality('%qWW(c', ( SELECT (CAST((( SELECT * FROM remote((CAST((9871.469) AS Date)), '') ) AS s) AS DateTime)), (CAST(('"Pqin ') AS String)), NULL ) ), [], NULL ) , intExp10([]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [57]) @ 0x000000000ddb69fe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:151: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a94ae44 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8dec5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9173d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f0b7 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 2024.09.24 01:28:19.383426 [ 2329 ] {c348ffef-ec94-4439-9668-fe2a81a5557e} TCPHandler: Code: 36. DB::Exception: Hosts pattern must be string literal (in single quotes).: While processing (SELECT * FROM remote(CAST(9871.469, 'Date'), '')) AS s: While processing CAST((SELECT * FROM remote(CAST(9871.469, 'Date'), '')) AS s, 'DateTime'): While processing (SELECT CAST((SELECT * FROM remote(CAST(9871.469, 'Date'), '')) AS s, 'DateTime'), CAST('"Pqin ', 'String'), NULL) AS _subquery810: While processing bitmapOrCardinality('%qWW(c', (SELECT CAST((SELECT * FROM remote(CAST(9871.469, 'Date'), '')) AS s, 'DateTime'), CAST('"Pqin ', 'String'), NULL) AS _subquery810): While processing (SELECT bitmapOrCardinality('%qWW(c', (SELECT CAST((SELECT * FROM remote(CAST(9871.469, 'Date'), '')) AS s, 'DateTime'), CAST('"Pqin ', 'String'), NULL)), [], NULL) AS _subquery809. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [57]) @ 0x000000000ddb69fe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:151: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a94ae44 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8dec5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9173d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f0b7 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 2024.09.24 01:28:19.392393 [ 2329 ] {e21b5da9-392e-46dc-86f1-5f51097bd5c4} executeQuery: Code: 42. DB::Exception: Table function 'format' requires 2 or 3 arguments: format, [structure], data. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM format();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFormat.cpp:44: DB::TableFunctionFormat::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9d7baa in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:19.393911 [ 2329 ] {e21b5da9-392e-46dc-86f1-5f51097bd5c4} TCPHandler: Code: 42. DB::Exception: Table function 'format' requires 2 or 3 arguments: format, [structure], data. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFormat.cpp:44: DB::TableFunctionFormat::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9d7baa in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:19.403221 [ 2329 ] {f161ea2d-c8e4-49f5-8bdf-8077ba6741e0} executeQuery: Code: 42. DB::Exception: Table function 'mongodb' requires from 6 to 7 parameters: mongodb('host:port', database, collection, 'user', 'password', structure, [, 'options']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM mongodb(')^E')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [147]) @ 0x000000000e47bbbe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMongoDB.cpp:64: DB::TableFunctionMongoDB::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a98e2f6 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:19.404718 [ 2329 ] {f161ea2d-c8e4-49f5-8bdf-8077ba6741e0} TCPHandler: Code: 42. DB::Exception: Table function 'mongodb' requires from 6 to 7 parameters: mongodb('host:port', database, collection, 'user', 'password', structure, [, 'options']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [147]) @ 0x000000000e47bbbe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMongoDB.cpp:64: DB::TableFunctionMongoDB::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a98e2f6 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:19.585043 [ 2329 ] {75802fbe-1459-4995-88de-6e9fd9543157} executeQuery: Code: 36. DB::Exception: Argument 'url' must be a literal with type String, got Array: While processing (SELECT * FROM oss([NULL])) AS _subquery812: While processing tupleDivideByNumber((SELECT * FROM oss([NULL])) AS _subquery812): While processing (SELECT tupleDivideByNumber((SELECT * FROM oss([NULL]))), '\0', '\0') AS _subquery811: While processing L1Norm((SELECT tupleDivideByNumber((SELECT * FROM oss([NULL]))), '\0', '\0') AS _subquery811). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT normL1(( SELECT tupleDivideByNumber(( SELECT * FROM oss([NULL]) ) ), '\0', '\0' ) );), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000011950228 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da4a3e8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da4a0dd in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionS3.cpp:160: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a999065 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a999d04 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 20. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8dec5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9173d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f0b7 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 2024.09.24 01:28:19.587074 [ 2329 ] {75802fbe-1459-4995-88de-6e9fd9543157} TCPHandler: Code: 36. DB::Exception: Argument 'url' must be a literal with type String, got Array: While processing (SELECT * FROM oss([NULL])) AS _subquery812: While processing tupleDivideByNumber((SELECT * FROM oss([NULL])) AS _subquery812): While processing (SELECT tupleDivideByNumber((SELECT * FROM oss([NULL]))), '\0', '\0') AS _subquery811: While processing L1Norm((SELECT tupleDivideByNumber((SELECT * FROM oss([NULL]))), '\0', '\0') AS _subquery811). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000011950228 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da4a3e8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da4a0dd in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionS3.cpp:160: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a999065 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a999d04 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 20. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8dec5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9173d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f0b7 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 2024.09.24 01:28:19.596350 [ 2329 ] {e41ce3fd-1838-423d-ade8-be8d0e696b72} executeQuery: Code: 36. DB::Exception: Hosts pattern must be string literal (in single quotes). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM remote([]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [57]) @ 0x000000000ddb69fe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:151: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a94ae44 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:19.597790 [ 2329 ] {e41ce3fd-1838-423d-ade8-be8d0e696b72} TCPHandler: Code: 36. DB::Exception: Hosts pattern must be string literal (in single quotes). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [57]) @ 0x000000000ddb69fe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:151: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a94ae44 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:19.607148 [ 2329 ] {949a4430-a77e-455e-9780-cda7c9b8c276} executeQuery: Code: 42. DB::Exception: Number of arguments for function simpleJSONExtractRaw doesn't match: passed 0, should be 2: While processing visitParamExtractRaw(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT visitParamExtractRaw();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:28:19.608921 [ 2329 ] {949a4430-a77e-455e-9780-cda7c9b8c276} TCPHandler: Code: 42. DB::Exception: Number of arguments for function simpleJSONExtractRaw doesn't match: passed 0, should be 2: While processing visitParamExtractRaw(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:28:19.619395 [ 2329 ] {f628d771-cd1e-4a2f-ae01-77f4cf43dac5} executeQuery: Code: 42. DB::Exception: Number of arguments for function equals doesn't match: passed 1, should be 2: While processing equals(''). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT equals('');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:28:19.621327 [ 2329 ] {f628d771-cd1e-4a2f-ae01-77f4cf43dac5} TCPHandler: Code: 42. DB::Exception: Number of arguments for function equals doesn't match: passed 1, should be 2: While processing equals(''). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:28:19.629147 [ 2329 ] {40a65ace-b2c9-4f1f-8695-d16d8e8c0eb4} executeQuery: Code: 42. DB::Exception: Table function 'merge' requires exactly 2 arguments - name of source database and regexp for table names. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM merge();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [106]) @ 0x000000001a942c9e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMerge.cpp:71: DB::TableFunctionMerge::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a941138 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:19.630480 [ 2329 ] {40a65ace-b2c9-4f1f-8695-d16d8e8c0eb4} TCPHandler: Code: 42. DB::Exception: Table function 'merge' requires exactly 2 arguments - name of source database and regexp for table names. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [106]) @ 0x000000001a942c9e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMerge.cpp:71: DB::TableFunctionMerge::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a941138 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:19.787288 [ 2329 ] {ce0f0b60-f4d3-42cd-a5aa-5a8d8cc37648} executeQuery: Code: 73. DB::Exception: Unknown format . (UNKNOWN_FORMAT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM file('hw,^', (CAST(('\0') AS String)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Formats/FormatFactory.cpp:786: DB::FormatFactory::checkFormatName(String const&) const @ 0x000000001e674306 in /usr/bin/clickhouse 7. /build/src/Storages/StorageFile.cpp:921: DB::StorageFile::StorageFile(DB::StorageFile::CommonArguments) @ 0x000000001d69f49f in /usr/bin/clickhouse 8. /build/src/Storages/StorageFile.cpp:874: DB::StorageFile::StorageFile(String const&, String const&, DB::StorageFile::CommonArguments) @ 0x000000001d69fca0 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFile* std::construct_at[abi:v15000](DB::StorageFile*, String const&, String&&, DB::StorageFile::CommonArguments&) @ 0x000000001a97b294 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::StorageFile*, String const&, String&&, DB::StorageFile::CommonArguments&) @ 0x000000001a97b1d1 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String const&, String&&, DB::StorageFile::CommonArguments&) @ 0x000000001a97b157 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String const&, String, DB::StorageFile::CommonArguments&, void>(std::allocator const&, String const&, String&&, DB::StorageFile::CommonArguments&) @ 0x000000001a97b06a in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String const&, String&&, DB::StorageFile::CommonArguments&) @ 0x000000001a979296 in /usr/bin/clickhouse 14. /build/src/TableFunctions/TableFunctionFile.cpp:88: DB::TableFunctionFile::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x000000001a978a27 in /usr/bin/clickhouse 15. /build/src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a97d1c7 in /usr/bin/clickhouse 16. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 17. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 18. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 2024.09.24 01:28:19.789065 [ 2329 ] {ce0f0b60-f4d3-42cd-a5aa-5a8d8cc37648} TCPHandler: Code: 73. DB::Exception: Unknown format . (UNKNOWN_FORMAT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Formats/FormatFactory.cpp:786: DB::FormatFactory::checkFormatName(String const&) const @ 0x000000001e674306 in /usr/bin/clickhouse 7. /build/src/Storages/StorageFile.cpp:921: DB::StorageFile::StorageFile(DB::StorageFile::CommonArguments) @ 0x000000001d69f49f in /usr/bin/clickhouse 8. /build/src/Storages/StorageFile.cpp:874: DB::StorageFile::StorageFile(String const&, String const&, DB::StorageFile::CommonArguments) @ 0x000000001d69fca0 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFile* std::construct_at[abi:v15000](DB::StorageFile*, String const&, String&&, DB::StorageFile::CommonArguments&) @ 0x000000001a97b294 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::StorageFile*, String const&, String&&, DB::StorageFile::CommonArguments&) @ 0x000000001a97b1d1 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String const&, String&&, DB::StorageFile::CommonArguments&) @ 0x000000001a97b157 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String const&, String, DB::StorageFile::CommonArguments&, void>(std::allocator const&, String const&, String&&, DB::StorageFile::CommonArguments&) @ 0x000000001a97b06a in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String const&, String&&, DB::StorageFile::CommonArguments&) @ 0x000000001a979296 in /usr/bin/clickhouse 14. /build/src/TableFunctions/TableFunctionFile.cpp:88: DB::TableFunctionFile::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x000000001a978a27 in /usr/bin/clickhouse 15. /build/src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a97d1c7 in /usr/bin/clickhouse 16. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 17. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 18. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 2024.09.24 01:28:19.796752 [ 2329 ] {0a517445-df18-451e-b7a1-97bd1cc9733e} executeQuery: Code: 42. DB::Exception: The signature of table function cosn shall be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM cosn();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:75: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a99804f in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a999d04 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:19.798105 [ 2329 ] {0a517445-df18-451e-b7a1-97bd1cc9733e} TCPHandler: Code: 42. DB::Exception: The signature of table function cosn shall be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:75: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a99804f in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a999d04 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:20.045071 [ 2329 ] {ace88e1d-5964-4210-bc8e-b67910b46be9} executeQuery: Code: 170. DB::Exception: Bad get: has Array, requested String: While processing (SELECT * FROM odbc([''], 'GOtS')) AS olhl: While processing quantileExactWeighted((SELECT * FROM odbc([''], 'GOtS')) AS olhl, '\0'). (BAD_GET) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT quantileExactWeighted(( SELECT * FROM odbc([''], 'GOtS') ) AS olhl, '\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x000000000b78c8ac in /usr/bin/clickhouse 6. /build/src/Core/Field.h:890: auto& DB::Field::safeGet() @ 0x000000000b78c70d in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunctionXDBC.cpp:50: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9c1138 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8dec5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9173d in /usr/bin/clickhouse 28. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f0b7 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 2024.09.24 01:28:20.047643 [ 2329 ] {ace88e1d-5964-4210-bc8e-b67910b46be9} TCPHandler: Code: 170. DB::Exception: Bad get: has Array, requested String: While processing (SELECT * FROM odbc([''], 'GOtS')) AS olhl: While processing quantileExactWeighted((SELECT * FROM odbc([''], 'GOtS')) AS olhl, '\0'). (BAD_GET), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x000000000b78c8ac in /usr/bin/clickhouse 6. /build/src/Core/Field.h:890: auto& DB::Field::safeGet() @ 0x000000000b78c70d in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunctionXDBC.cpp:50: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9c1138 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8dec5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9173d in /usr/bin/clickhouse 28. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f0b7 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 2024.09.24 01:28:20.216932 [ 2329 ] {75ada328-9f33-4515-beea-46abf74d668d} executeQuery: Code: 43. DB::Exception: Function mapFilter requires at least one argument of type Map: While processing -82137163.4461, mapFilter(16188614.3404, ''), 'dM'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT -82137163.4461, mapFilter(16188614.3404, ''), 'dM';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b24a833 in /usr/bin/clickhouse 6. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:139: DB::MapAdapterBase, DB::NameMapFilter>::extractNestedTypesAndColumns(std::vector>&) @ 0x0000000012913c81 in /usr/bin/clickhouse 7. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:71: DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapFilter>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001290d27f in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:28:20.219028 [ 2329 ] {75ada328-9f33-4515-beea-46abf74d668d} TCPHandler: Code: 43. DB::Exception: Function mapFilter requires at least one argument of type Map: While processing -82137163.4461, mapFilter(16188614.3404, ''), 'dM'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b24a833 in /usr/bin/clickhouse 6. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:139: DB::MapAdapterBase, DB::NameMapFilter>::extractNestedTypesAndColumns(std::vector>&) @ 0x0000000012913c81 in /usr/bin/clickhouse 7. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:71: DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapFilter>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001290d27f in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:28:20.227465 [ 2329 ] {b5e83b64-376b-4626-a58c-f37f51978944} executeQuery: Code: 36. DB::Exception: Argument 'cluster_name' must be a literal with type String, got Null. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hdfsCluster(NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000011950228 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da4a3e8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da4a0dd in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionCluster.h:59: DB::ITableFunctionCluster::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9beb1d in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97c5c1 in /usr/bin/clickhouse 10. /build/src/TableFunctions/ITableFunctionCluster.h:47: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9be7d7 in /usr/bin/clickhouse 11. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 12. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 13. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:20.228919 [ 2329 ] {b5e83b64-376b-4626-a58c-f37f51978944} TCPHandler: Code: 36. DB::Exception: Argument 'cluster_name' must be a literal with type String, got Null. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000011950228 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da4a3e8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da4a0dd in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionCluster.h:59: DB::ITableFunctionCluster::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9beb1d in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97c5c1 in /usr/bin/clickhouse 10. /build/src/TableFunctions/ITableFunctionCluster.h:47: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9be7d7 in /usr/bin/clickhouse 11. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 12. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 13. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:20.371640 [ 2329 ] {5cf7dae9-463f-4414-94ed-a5cb57f2a793} executeQuery: Code: 6. DB::Exception: Cannot parse string '4?#Tvg' as Int32: syntax error at position 1 (parsed just '4'). Note: there are toInt32OrZero and toInt32OrNull functions, which returns zero/NULL instead of throwing exception.: While processing toInt32('4?#Tvg'). (CANNOT_PARSE_TEXT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toInt32('4?#Tvg');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b217fb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b3dd357 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b3d8058 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b3c6919 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b3c5c48 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b3c4e5e in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 2024.09.24 01:28:20.374349 [ 2329 ] {5cf7dae9-463f-4414-94ed-a5cb57f2a793} TCPHandler: Code: 6. DB::Exception: Cannot parse string '4?#Tvg' as Int32: syntax error at position 1 (parsed just '4'). Note: there are toInt32OrZero and toInt32OrNull functions, which returns zero/NULL instead of throwing exception.: While processing toInt32('4?#Tvg'). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b217fb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b3dd357 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b3d8058 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b3c6919 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b3c5c48 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b3c4e5e in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 2024.09.24 01:28:20.384031 [ 2329 ] {69b76c83-0f78-4232-8005-c2d5404193aa} executeQuery: Code: 42. DB::Exception: The signature of table function cosn shall be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM cosn();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:75: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a99804f in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a999d04 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:20.385596 [ 2329 ] {69b76c83-0f78-4232-8005-c2d5404193aa} TCPHandler: Code: 42. DB::Exception: The signature of table function cosn shall be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:75: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a99804f in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a999d04 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:20.547212 [ 2329 ] {d8ec5ddd-2cbe-4304-8a4f-eb9197ddd118} executeQuery: Code: 42. DB::Exception: The signature of table function url shall be the following: - uri - uri, format - uri, format, structure - uri, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM url();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a97c6ea in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionURL.cpp:69: DB::TableFunctionURL::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a97e1f9 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97c5c1 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionURL.cpp:43: DB::TableFunctionURL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97dd97 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:20.548825 [ 2329 ] {d8ec5ddd-2cbe-4304-8a4f-eb9197ddd118} TCPHandler: Code: 42. DB::Exception: The signature of table function url shall be the following: - uri - uri, format - uri, format, structure - uri, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a97c6ea in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionURL.cpp:69: DB::TableFunctionURL::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a97e1f9 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97c5c1 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionURL.cpp:43: DB::TableFunctionURL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97dd97 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:20.556878 [ 2329 ] {12679db3-ead1-4ddb-96e6-836c63fa90fe} executeQuery: Code: 42. DB::Exception: The signature of table function s3 shall be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM s3();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:75: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a99804f in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a999d04 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:20.558305 [ 2329 ] {12679db3-ead1-4ddb-96e6-836c63fa90fe} TCPHandler: Code: 42. DB::Exception: The signature of table function s3 shall be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:75: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a99804f in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a999d04 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:20.571862 [ 2329 ] {ffc2eb04-6ac5-452d-8fa8-36ff9c4de671} executeQuery: Code: 41. DB::ParsingException: Cannot parse datetime: Cannot parse DateTime from String: While processing [CAST(CAST([CAST('', 'DateTime')], 'Date'), 'DateTime')], ''. (CANNOT_PARSE_DATETIME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT [(CAST(((CAST(([(CAST(('') AS DateTime))]) AS Date))) AS DateTime))], '';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x000000000b265ab7 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1218: void DB::readDateTimeTextFallback(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000001398cbf6 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:966: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b59d0d6 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:1047: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b59cda5 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1077: void DB::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b59ccd4 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b59cbbb in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b5971f8 in /usr/bin/clickhouse 12. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b586e59 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b586188 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b58537e in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b3d70 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3d06 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3ca0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3c40 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b3beb in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 27. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 2024.09.24 01:28:20.573753 [ 2329 ] {ffc2eb04-6ac5-452d-8fa8-36ff9c4de671} TCPHandler: Code: 41. DB::ParsingException: Cannot parse datetime: Cannot parse DateTime from String: While processing [CAST(CAST([CAST('', 'DateTime')], 'Date'), 'DateTime')], ''. (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x000000000b265ab7 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1218: void DB::readDateTimeTextFallback(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000001398cbf6 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:966: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b59d0d6 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:1047: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b59cda5 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1077: void DB::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b59ccd4 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b59cbbb in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b5971f8 in /usr/bin/clickhouse 12. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b586e59 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b586188 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b58537e in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b3d70 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3d06 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3ca0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3c40 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b3beb in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 27. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 2024.09.24 01:28:20.718701 [ 2329 ] {2bb012d5-b192-470f-8454-89862f4f5b2a} executeQuery: Code: 48. DB::Exception: Aggregate function kolmogorovSmirnovTest only supports numerical types. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT kolmogorovSmirnovTest('', ['(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionKolmogorovSmirnovTest.cpp:23: DB::(anonymous namespace)::createAggregateFunctionKolmogorovSmirnovTest(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000017aa8fc2 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:28:20.720728 [ 2329 ] {2bb012d5-b192-470f-8454-89862f4f5b2a} TCPHandler: Code: 48. DB::Exception: Aggregate function kolmogorovSmirnovTest only supports numerical types. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionKolmogorovSmirnovTest.cpp:23: DB::(anonymous namespace)::createAggregateFunctionKolmogorovSmirnovTest(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000017aa8fc2 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:28:20.898569 [ 2329 ] {94eac353-349c-48b5-8708-db6be802e6f7} executeQuery: Code: 43. DB::Exception: Function mapApply requires at least one argument of type Map: While processing mapApply(-9731.5, []): While processing (SELECT mapApply(-9731.5, [])) AS constant_expression. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM clusterAllReplicas('\0', ( SELECT mapApply(-9731.5, []) ) AS my, ( SELECT ngramDistanceUTF8('j?>\R#JN', '.Yr"zF') ) );), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b24a833 in /usr/bin/clickhouse 6. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:139: DB::MapAdapterBase, DB::NameMapApply>::extractNestedTypesAndColumns(std::vector>&) @ 0x0000000012918e01 in /usr/bin/clickhouse 7. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:71: DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getReturnTypeImpl(std::vector> const&) const @ 0x00000000129150ff in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:28:20.901077 [ 2329 ] {94eac353-349c-48b5-8708-db6be802e6f7} TCPHandler: Code: 43. DB::Exception: Function mapApply requires at least one argument of type Map: While processing mapApply(-9731.5, []): While processing (SELECT mapApply(-9731.5, [])) AS constant_expression. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b24a833 in /usr/bin/clickhouse 6. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:139: DB::MapAdapterBase, DB::NameMapApply>::extractNestedTypesAndColumns(std::vector>&) @ 0x0000000012918e01 in /usr/bin/clickhouse 7. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:71: DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getReturnTypeImpl(std::vector> const&) const @ 0x00000000129150ff in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:28:21.066326 [ 2329 ] {544ec09b-71ce-4797-912e-4d2ba508e938} executeQuery: Code: 636. DB::Exception: Table function 'input' was used without structure argument but structure could not be determined automatically. Please, provide structure manually. (CANNOT_EXTRACT_TABLE_STRUCTURE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM input();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionInput.cpp:51: DB::TableFunctionInput::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a988da5 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionInput.cpp:63: DB::TableFunctionInput::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a988f57 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:21.067941 [ 2329 ] {544ec09b-71ce-4797-912e-4d2ba508e938} TCPHandler: Code: 636. DB::Exception: Table function 'input' was used without structure argument but structure could not be determined automatically. Please, provide structure manually. (CANNOT_EXTRACT_TABLE_STRUCTURE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionInput.cpp:51: DB::TableFunctionInput::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a988da5 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionInput.cpp:63: DB::TableFunctionInput::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a988f57 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:21.224017 [ 2329 ] {129a132a-5521-48ea-b90a-1645b2ba976e} executeQuery: Code: 42. DB::Exception: Aggregate function quantilesTiming requires single argument: While processing (SELECT '\0', [], [quantilesTiming()]) AS uul: While processing dictGetUUIDOrDefault(NULL, (SELECT '\0', [], [quantilesTiming()]) AS uul, (SELECT * FROM file()) AS _subquery826). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT dictGetUUIDOrDefault(NULL, ( SELECT '\0', [], [quantilesTiming()] ) AS uul, ( SELECT * FROM file() ) ), [], splitByString(NULL), [];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013d8ce61 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:249: DB::AggregateFunctionQuantile, DB::NameQuantilesTiming, false, float, true>::assertSecondArg(std::vector, std::allocator>> const&) @ 0x0000000014c2abad in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionQuantileTiming.cpp:32: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014c016a4 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 30. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 2024.09.24 01:28:21.226344 [ 2329 ] {129a132a-5521-48ea-b90a-1645b2ba976e} TCPHandler: Code: 42. DB::Exception: Aggregate function quantilesTiming requires single argument: While processing (SELECT '\0', [], [quantilesTiming()]) AS uul: While processing dictGetUUIDOrDefault(NULL, (SELECT '\0', [], [quantilesTiming()]) AS uul, (SELECT * FROM file()) AS _subquery826). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013d8ce61 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:249: DB::AggregateFunctionQuantile, DB::NameQuantilesTiming, false, float, true>::assertSecondArg(std::vector, std::allocator>> const&) @ 0x0000000014c2abad in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionQuantileTiming.cpp:32: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014c016a4 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 30. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 2024.09.24 01:28:21.235147 [ 2329 ] {9f1218fa-d589-425c-8502-c001e63fdf16} executeQuery: Code: 42. DB::Exception: Table function 'odbc' requires 2 or 3 arguments: odbc('DSN', table) or odbc('DSN', schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM odbc();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:36: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9c0e08 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:21.236753 [ 2329 ] {9f1218fa-d589-425c-8502-c001e63fdf16} TCPHandler: Code: 42. DB::Exception: Table function 'odbc' requires 2 or 3 arguments: odbc('DSN', table) or odbc('DSN', schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:36: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9c0e08 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:21.258767 [ 2329 ] {ae38270f-c97f-433a-afd4-06f81d57bed2} executeQuery: Code: 42. DB::Exception: Number of arguments for function toTimezone doesn't match: passed 0, should be 2: While processing toTimeZone(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toTimeZone();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:28:21.261101 [ 2329 ] {ae38270f-c97f-433a-afd4-06f81d57bed2} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toTimezone doesn't match: passed 0, should be 2: While processing toTimeZone(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:28:21.416648 [ 2329 ] {1aedba91-6928-403e-98ae-39a30e61d499} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function parseDateTime provided 0, expected 2 to 3 ('time' : String, 'format' : String, ['timezone' : const String]): While processing [], '', [TO_UNIXTIME()], [], s2CellsIntersect(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT [], '', [TO_UNIXTIME()], [], s2CellsIntersect();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001abfde7d in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abfbdc5 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:497: DB::(anonymous namespace)::FunctionParseDateTimeImpl::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011907166 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 2024.09.24 01:28:21.419201 [ 2329 ] {1aedba91-6928-403e-98ae-39a30e61d499} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function parseDateTime provided 0, expected 2 to 3 ('time' : String, 'format' : String, ['timezone' : const String]): While processing [], '', [TO_UNIXTIME()], [], s2CellsIntersect(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001abfde7d in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abfbdc5 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:497: DB::(anonymous namespace)::FunctionParseDateTimeImpl::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011907166 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 2024.09.24 01:28:21.428060 [ 2329 ] {c3868dd6-a08f-430c-86b6-e51e682c86f5} executeQuery: Code: 42. DB::Exception: Table function 'executable' requires minimum 3 arguments: script_name, format, structure, [input_query...]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM executable();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExecutable.cpp:62: DB::TableFunctionExecutable::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a971c48 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:21.430185 [ 2329 ] {c3868dd6-a08f-430c-86b6-e51e682c86f5} TCPHandler: Code: 42. DB::Exception: Table function 'executable' requires minimum 3 arguments: script_name, format, structure, [input_query...]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExecutable.cpp:62: DB::TableFunctionExecutable::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a971c48 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:21.438447 [ 2329 ] {d74a8e7b-e3dd-423a-870f-ff2919974584} executeQuery: Code: 42. DB::Exception: The signature of function hive is: - hive_url, hive_database, hive_table, structure, partition_by_keys. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hive();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/Hive/TableFunctionHive.cpp:36: DB::TableFunctionHive::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9ebf37 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:21.440525 [ 2329 ] {d74a8e7b-e3dd-423a-870f-ff2919974584} TCPHandler: Code: 42. DB::Exception: The signature of function hive is: - hive_url, hive_database, hive_table, structure, partition_by_keys. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/Hive/TableFunctionHive.cpp:36: DB::TableFunctionHive::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9ebf37 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:21.590965 [ 791 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:28:21.591580 [ 791 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:28:21.617403 [ 2329 ] {6a5c9442-c590-42b0-834c-98cab3e1c534} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function parseDateTime64BestEffortUSOrNull provided 0, expected 1 to 3 ('string' : String or FixedString, ['precision' : const UInt8, 'timezone' : const String or FixedString]): While processing parseDateTime64BestEffortUSOrNull(), NULL, CAST('kEpB3)', 'DateTime'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT parseDateTime64BestEffortUSOrNull(), NULL, (CAST(('kEpB3)') AS DateTime));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001abfde7d in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abfbdc5 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2156: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc35c2d in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:28:21.619669 [ 2329 ] {6a5c9442-c590-42b0-834c-98cab3e1c534} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function parseDateTime64BestEffortUSOrNull provided 0, expected 1 to 3 ('string' : String or FixedString, ['precision' : const UInt8, 'timezone' : const String or FixedString]): While processing parseDateTime64BestEffortUSOrNull(), NULL, CAST('kEpB3)', 'DateTime'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001abfde7d in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abfbdc5 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2156: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc35c2d in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:28:21.644320 [ 2329 ] {df72cf69-dd81-4e78-86b4-4439087e2ea3} executeQuery: Code: 42. DB::Exception: Number of arguments for function max2 doesn't match: passed 0, should be 2: While processing max2(): While processing (SELECT max2()) AS _subquery835. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT NULL, '\0', ( SELECT max2() ) , ( SELECT bitSlice(-9.978957, '') ) ;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 2024.09.24 01:28:21.646615 [ 2329 ] {df72cf69-dd81-4e78-86b4-4439087e2ea3} TCPHandler: Code: 42. DB::Exception: Number of arguments for function max2 doesn't match: passed 0, should be 2: While processing max2(): While processing (SELECT max2()) AS _subquery835. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 2024.09.24 01:28:21.653435 [ 791 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:28:21.807208 [ 2329 ] {dd456ced-8448-4519-9f23-5d88409a0538} executeQuery: Code: 42. DB::Exception: Table function ('dictionary') requires 1 arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM dictionary();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionDictionary.cpp:38: DB::TableFunctionDictionary::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9d4c3e in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:21.808890 [ 2329 ] {dd456ced-8448-4519-9f23-5d88409a0538} TCPHandler: Code: 42. DB::Exception: Table function ('dictionary') requires 1 arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionDictionary.cpp:38: DB::TableFunctionDictionary::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9d4c3e in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:22.014795 [ 2329 ] {50b5d0aa-ebd3-45c9-ae00-1bae70f12e76} executeQuery: Code: 43. DB::Exception: Illegal type Int32 of first argument of function toDateOrNull. Conversion functions with postfix 'OrZero' or 'OrNull' should take String argument: While processing '\0', CAST(81482881.21, 'Date'), [NULL], toDateOrNull(-256945), ''. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '\0', (CAST((81482881.21) AS Date)), [NULL], toDateOrNull(-256945), '';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2183: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bbbadac in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:28:22.017184 [ 2329 ] {50b5d0aa-ebd3-45c9-ae00-1bae70f12e76} TCPHandler: Code: 43. DB::Exception: Illegal type Int32 of first argument of function toDateOrNull. Conversion functions with postfix 'OrZero' or 'OrNull' should take String argument: While processing '\0', CAST(81482881.21, 'Date'), [NULL], toDateOrNull(-256945), ''. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2183: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bbbadac in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:28:22.029391 [ 2329 ] {c48c63b8-bb2c-4969-aaa7-257411fc44ea} executeQuery: Code: 36. DB::Exception: Hosts pattern must be string literal (in single quotes). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM remote(toInt32OrZero([], ''), ( SELECT * FROM executable(4645.731, NULL) ) );), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [57]) @ 0x000000000ddb69fe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:151: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a94ae44 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:22.031623 [ 2329 ] {c48c63b8-bb2c-4969-aaa7-257411fc44ea} TCPHandler: Code: 36. DB::Exception: Hosts pattern must be string literal (in single quotes). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [57]) @ 0x000000000ddb69fe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:151: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a94ae44 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:22.091251 [ 2329 ] {aa7ff3c5-a2cd-4ccc-8c44-e793df7d684d} executeQuery: Code: 42. DB::Exception: Table function 'mongodb' requires from 6 to 7 parameters: mongodb('host:port', database, collection, 'user', 'password', structure, [, 'options']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM mongodb([], (SELECT NULL, [CAST(((SELECT -9942893, REGEXP_EXTRACT((SELECT * FROM postgresql('')) AS vciiaimm)), (SELECT toTimezone([[dictGetInt16('', CAST('', 'String'))]], '\0'))), 'DateTime')]) AS psyf, (SELECT * FROM azureBlobStorageCluster(CAST(-861634.219538, 'Date'), CAST(((SELECT CAST(CAST(CRC64(quantilesBFloat16()), 'Date'), 'String'), CAST(toTime(), 'Date')) AS gghi, (SELECT * FROM azureBlobStorage())), 'DateTime'))) AS izptcdm)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [147]) @ 0x000000000e47bbbe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMongoDB.cpp:64: DB::TableFunctionMongoDB::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a98e2f6 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:22.095626 [ 2329 ] {aa7ff3c5-a2cd-4ccc-8c44-e793df7d684d} TCPHandler: Code: 42. DB::Exception: Table function 'mongodb' requires from 6 to 7 parameters: mongodb('host:port', database, collection, 'user', 'password', structure, [, 'options']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [147]) @ 0x000000000e47bbbe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMongoDB.cpp:64: DB::TableFunctionMongoDB::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a98e2f6 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:22.109152 [ 2329 ] {a7277df3-17ea-4d3e-a941-efd518a9b917} executeQuery: Code: 42. DB::Exception: Table function 'input' requires exactly 1 argument: structure. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM input((CAST((transactionOldestSnapshot(317851.86723)) AS DateTime)), []);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionInput.cpp:40: DB::TableFunctionInput::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a988abd in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:22.111244 [ 2329 ] {a7277df3-17ea-4d3e-a941-efd518a9b917} TCPHandler: Code: 42. DB::Exception: Table function 'input' requires exactly 1 argument: structure. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionInput.cpp:40: DB::TableFunctionInput::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a988abd in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:22.123949 [ 2329 ] {8682fbf9-1cd2-4c38-ad34-b51e74e64f90} executeQuery: Code: 42. DB::Exception: Storage PostgreSQL requires from 5 to 7 parameters: PostgreSQL('host:port', 'database', 'table', 'username', 'password' [, 'schema', 'ON CONFLICT ...']. Got: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM postgresql(CAST((SELECT firstSignificantSubdomainCustomRFC()), 'Date'))), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000d91e133 in /usr/bin/clickhouse 6. /build/src/Storages/StoragePostgreSQL.cpp:499: DB::StoragePostgreSQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x000000001d7db0c0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:53: DB::TableFunctionPostgreSQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9cf7f6 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:22.126929 [ 2329 ] {8682fbf9-1cd2-4c38-ad34-b51e74e64f90} TCPHandler: Code: 42. DB::Exception: Storage PostgreSQL requires from 5 to 7 parameters: PostgreSQL('host:port', 'database', 'table', 'username', 'password' [, 'schema', 'ON CONFLICT ...']. Got: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000d91e133 in /usr/bin/clickhouse 6. /build/src/Storages/StoragePostgreSQL.cpp:499: DB::StoragePostgreSQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x000000001d7db0c0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:53: DB::TableFunctionPostgreSQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9cf7f6 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:22.335111 [ 2329 ] {6609e169-86e7-45e1-9cc2-69820163bff3} executeQuery: Code: 36. DB::Exception: Argument 'format/NOSIGN' must be a literal with type String, got Float64. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM gcs([73.27521], 8109.013732);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000011950228 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da4a3e8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da4a0dd in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionS3.cpp:97: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a99849f in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a999d04 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:22.338420 [ 2329 ] {6609e169-86e7-45e1-9cc2-69820163bff3} TCPHandler: Code: 36. DB::Exception: Argument 'format/NOSIGN' must be a literal with type String, got Float64. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000011950228 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da4a3e8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da4a0dd in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionS3.cpp:97: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a99849f in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a999d04 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 29. ? @ 0x00007f1d281b3ac3 in ? 30. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:22.571421 [ 2329 ] {17f1cd0f-d7e7-4140-ae7c-27d8e120f62c} executeQuery: Poco::Exception. Code: 1000, e.code() = 0, Bad URI syntax: URI scheme must be followed by authority or path: l"=3~[a: (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM s3('l"=3~[a:');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:36: Poco::Exception::Exception(String const&, String const&, int) @ 0x000000002495f084 in /usr/bin/clickhouse 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(String const&, String const&, int) @ 0x00000000249623ef in /usr/bin/clickhouse 4. /build/base/poco/Foundation/src/Exception.cpp:158: Poco::DataException::DataException(String const&, String const&, int) @ 0x000000002496530f in /usr/bin/clickhouse 5. /build/base/poco/Foundation/src/Exception.cpp:161: Poco::SyntaxException::SyntaxException(String const&, String const&, int) @ 0x0000000024965a4f in /usr/bin/clickhouse 6. /build/base/poco/Foundation/src/Exception.cpp:179: Poco::URISyntaxException::URISyntaxException(String const&, String const&, int) @ 0x0000000024969b8f in /usr/bin/clickhouse 7. /build/base/poco/Foundation/src/URI.cpp:756: Poco::URI::parse(String const&) @ 0x00000000249e3ed6 in /usr/bin/clickhouse 8. /build/base/poco/Foundation/src/URI.cpp:42: Poco::URI::URI(String const&, bool) @ 0x00000000249e3bf7 in /usr/bin/clickhouse 9. /build/src/IO/S3/URI.cpp:44: DB::S3::URI::URI(String const&) @ 0x000000001a9a8360 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionS3.cpp:161: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a999089 in /usr/bin/clickhouse 11. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a999d04 in /usr/bin/clickhouse 12. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 13. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 14. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:28:22.573477 [ 2329 ] {17f1cd0f-d7e7-4140-ae7c-27d8e120f62c} TCPHandler: Code: 1000. DB::Exception: Bad URI syntax: URI scheme must be followed by authority or path: l"=3~[a:. (POCO_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:36: Poco::Exception::Exception(String const&, String const&, int) @ 0x000000002495f084 in /usr/bin/clickhouse 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(String const&, String const&, int) @ 0x00000000249623ef in /usr/bin/clickhouse 4. /build/base/poco/Foundation/src/Exception.cpp:158: Poco::DataException::DataException(String const&, String const&, int) @ 0x000000002496530f in /usr/bin/clickhouse 5. /build/base/poco/Foundation/src/Exception.cpp:161: Poco::SyntaxException::SyntaxException(String const&, String const&, int) @ 0x0000000024965a4f in /usr/bin/clickhouse 6. /build/base/poco/Foundation/src/Exception.cpp:179: Poco::URISyntaxException::URISyntaxException(String const&, String const&, int) @ 0x0000000024969b8f in /usr/bin/clickhouse 7. /build/base/poco/Foundation/src/URI.cpp:756: Poco::URI::parse(String const&) @ 0x00000000249e3ed6 in /usr/bin/clickhouse 8. /build/base/poco/Foundation/src/URI.cpp:42: Poco::URI::URI(String const&, bool) @ 0x00000000249e3bf7 in /usr/bin/clickhouse 9. /build/src/IO/S3/URI.cpp:44: DB::S3::URI::URI(String const&) @ 0x000000001a9a8360 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionS3.cpp:161: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a999089 in /usr/bin/clickhouse 11. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a999d04 in /usr/bin/clickhouse 12. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 13. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 14. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:28:22.727423 [ 2329 ] {8e71fba0-6f68-4685-b662-4685e9a72c30} executeQuery: Code: 42. DB::Exception: Aggregate function groupArray requires single argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT array_agg([], 'O]2~}C}');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013d8ce61 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionGroupArray.cpp:62: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionGroupArray(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000001454f7a8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 2024.09.24 01:28:22.730051 [ 2329 ] {8e71fba0-6f68-4685-b662-4685e9a72c30} TCPHandler: Code: 42. DB::Exception: Aggregate function groupArray requires single argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013d8ce61 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionGroupArray.cpp:62: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionGroupArray(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000001454f7a8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de43b8 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de4355 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de42f5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de427d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac07df9 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac04815 in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac032ac in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac024b9 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfac9c7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfaa790 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa9cb9 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac7333 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cace740 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaf0c8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 2024.09.24 01:28:22.898899 [ 2329 ] {b1221a7d-353f-4cac-b33f-f50fb1fa2470} executeQuery: Code: 42. DB::Exception: Number of arguments for function dictGetDateTimeOrDefault doesn't match: the function requires more arguments: While processing [dictGetDateTimeOrDefault(NULL)]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM iceberg([dictGetDateTimeOrDefault(NULL)], NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:156: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed1d6 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1735: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x000000001bfb93ed in /usr/bin/clickhouse 24. /build/src/Interpreters/evaluateConstantExpression.cpp:77: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08b5eb in /usr/bin/clickhouse 25. /build/src/Interpreters/evaluateConstantExpression.cpp:117: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08bcfd in /usr/bin/clickhouse 26. /build/src/Interpreters/evaluateConstantExpression.cpp:125: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08be12 in /usr/bin/clickhouse 27. /build/src/Storages/StorageURL.cpp:1249: DB::StorageURL::collectHeaders(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::vector>&, std::shared_ptr) @ 0x000000001da073df in /usr/bin/clickhouse 28. /build/src/TableFunctions/TableFunctionS3.cpp:70: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a997f09 in /usr/bin/clickhouse 29. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a999d04 in /usr/bin/clickhouse 30. /build/src/TableFunctions/ITableFunctionDataLake.h:61: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9b911f in /usr/bin/clickhouse 31. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 2024.09.24 01:28:22.901552 [ 2329 ] {b1221a7d-353f-4cac-b33f-f50fb1fa2470} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dictGetDateTimeOrDefault doesn't match: the function requires more arguments: While processing [dictGetDateTimeOrDefault(NULL)]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:156: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed1d6 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1735: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x000000001bfb93ed in /usr/bin/clickhouse 24. /build/src/Interpreters/evaluateConstantExpression.cpp:77: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08b5eb in /usr/bin/clickhouse 25. /build/src/Interpreters/evaluateConstantExpression.cpp:117: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08bcfd in /usr/bin/clickhouse 26. /build/src/Interpreters/evaluateConstantExpression.cpp:125: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08be12 in /usr/bin/clickhouse 27. /build/src/Storages/StorageURL.cpp:1249: DB::StorageURL::collectHeaders(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::vector>&, std::shared_ptr) @ 0x000000001da073df in /usr/bin/clickhouse 28. /build/src/TableFunctions/TableFunctionS3.cpp:70: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a997f09 in /usr/bin/clickhouse 29. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a999d04 in /usr/bin/clickhouse 30. /build/src/TableFunctions/ITableFunctionDataLake.h:61: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9b911f in /usr/bin/clickhouse 31. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 2024.09.24 01:28:23.071026 [ 2329 ] {19cd31d5-6029-4a45-ba16-c3bacaf9b53d} executeQuery: Code: 43. DB::Exception: Cannot reinterpret Array(String) as Date because only Numeric, String or FixedString can be reinterpreted in Numeric: While processing reinterpretAsDate(['\0']). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT reinterpretAsDate(['\0']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/reinterpretAs.cpp:101: DB::(anonymous namespace)::FunctionReinterpret::getReturnTypeImpl(std::vector> const&) const @ 0x00000000124358a9 in /usr/bin/clickhouse 7. /build/src/Functions/reinterpretAs.cpp:446: DB::(anonymous namespace)::FunctionReinterpretAs::getReturnTypeImpl(std::vector> const&) const @ 0x00000000124986fa in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:28:23.073695 [ 2329 ] {19cd31d5-6029-4a45-ba16-c3bacaf9b53d} TCPHandler: Code: 43. DB::Exception: Cannot reinterpret Array(String) as Date because only Numeric, String or FixedString can be reinterpreted in Numeric: While processing reinterpretAsDate(['\0']). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/reinterpretAs.cpp:101: DB::(anonymous namespace)::FunctionReinterpret::getReturnTypeImpl(std::vector> const&) const @ 0x00000000124358a9 in /usr/bin/clickhouse 7. /build/src/Functions/reinterpretAs.cpp:446: DB::(anonymous namespace)::FunctionReinterpretAs::getReturnTypeImpl(std::vector> const&) const @ 0x00000000124986fa in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:28:23.094294 [ 2329 ] {b1a6d1f6-3980-441a-a101-139281b2aa33} executeQuery: Code: 42. DB::Exception: Number of arguments for function cbrt doesn't match: passed 0, should be 1: While processing cbrt(): While processing (SELECT cbrt()) AS _subquery838: While processing (SELECT -38414.50632, atan([], '\0'), __getScalar(''), (SELECT cbrt())) AS lczhcbx: While processing bitmapAndnot((SELECT -38414.50632, atan([], '\0'), __getScalar(''), (SELECT cbrt())) AS lczhcbx, (SELECT -7, reverseDNSQuery(acos(), '\0'), CAST([], 'DateTime'), '~Yk={!', CAST((SELECT * FROM s3Cluster(-3106689.5, 6.46)), 'String')) AS _subquery837). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT bitmapAndnot(( SELECT -38414.50632, atan([], '\0'), __getScalar(''), ( SELECT cbrt() ) ) AS lczhcbx, ( SELECT -7, reverseDNSQuery(acos(), '\0'), (CAST(([]) AS DateTime)), '~Yk={!', (CAST((( SELECT * FROM s3Cluster(-3106689.5, 6.46) ) ) AS String)) ) );), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 2024.09.24 01:28:23.096367 [ 2329 ] {b1a6d1f6-3980-441a-a101-139281b2aa33} TCPHandler: Code: 42. DB::Exception: Number of arguments for function cbrt doesn't match: passed 0, should be 1: While processing cbrt(): While processing (SELECT cbrt()) AS _subquery838: While processing (SELECT -38414.50632, atan([], '\0'), __getScalar(''), (SELECT cbrt())) AS lczhcbx: While processing bitmapAndnot((SELECT -38414.50632, atan([], '\0'), __getScalar(''), (SELECT cbrt())) AS lczhcbx, (SELECT -7, reverseDNSQuery(acos(), '\0'), CAST([], 'DateTime'), '~Yk={!', CAST((SELECT * FROM s3Cluster(-3106689.5, 6.46)), 'String')) AS _subquery837). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 2024.09.24 01:28:23.289169 [ 2329 ] {730fabcc-2a9d-4bdb-97d3-d6ce11738233} executeQuery: Code: 62. DB::Exception: Syntax error (columns declaration list): failed at position 1 (''): . Unrecognized token: ''. (SYNTAX_ERROR) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM generateRandom('\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b200fea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b200f95 in /usr/bin/clickhouse 6. /build/src/Parsers/parseQuery.cpp:363: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long) @ 0x000000001f47e707 in /usr/bin/clickhouse 7. /build/src/Parsers/parseQuery.cpp:375: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long) @ 0x000000001f47e7e6 in /usr/bin/clickhouse 8. /build/src/Parsers/parseQuery.cpp:386: DB::parseQuery(DB::IParser&, String const&, String const&, unsigned long, unsigned long) @ 0x000000001f47e867 in /usr/bin/clickhouse 9. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:70: DB::parseColumnsListFromString(String const&, std::shared_ptr const&) @ 0x000000001d0e3b47 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionGenerateRandom.cpp:113: DB::TableFunctionGenerateRandom::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a98b9a7 in /usr/bin/clickhouse 11. /build/src/TableFunctions/TableFunctionGenerateRandom.cpp:118: DB::TableFunctionGenerateRandom::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a98ba50 in /usr/bin/clickhouse 12. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 13. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 14. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:28:23.311671 [ 2329 ] {730fabcc-2a9d-4bdb-97d3-d6ce11738233} TCPHandler: Code: 62. DB::Exception: Syntax error (columns declaration list): failed at position 1 (''): . Unrecognized token: ''. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b200fea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b200f95 in /usr/bin/clickhouse 6. /build/src/Parsers/parseQuery.cpp:363: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long) @ 0x000000001f47e707 in /usr/bin/clickhouse 7. /build/src/Parsers/parseQuery.cpp:375: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long) @ 0x000000001f47e7e6 in /usr/bin/clickhouse 8. /build/src/Parsers/parseQuery.cpp:386: DB::parseQuery(DB::IParser&, String const&, String const&, unsigned long, unsigned long) @ 0x000000001f47e867 in /usr/bin/clickhouse 9. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:70: DB::parseColumnsListFromString(String const&, std::shared_ptr const&) @ 0x000000001d0e3b47 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionGenerateRandom.cpp:113: DB::TableFunctionGenerateRandom::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a98b9a7 in /usr/bin/clickhouse 11. /build/src/TableFunctions/TableFunctionGenerateRandom.cpp:118: DB::TableFunctionGenerateRandom::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a98ba50 in /usr/bin/clickhouse 12. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0d613 in /usr/bin/clickhouse 13. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc9d97 in /usr/bin/clickhouse 14. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:28:23.321455 [ 2329 ] {c651ea70-1882-4277-8058-1782b1f602fc} executeQuery: Code: 42. DB::Exception: Storage Azure requires 3 to 7 arguments: AzureBlobStorage(connection_string|storage_account_url, container_name, blobpath, [account_name, account_key, format, compression, structure]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM azureBlobStorage('\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [184]) @ 0x000000001a9e60fe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:66: DB::TableFunctionAzureBlobStorage::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9e278a in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:174: DB::TableFunctionAzureBlobStorage::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9e41c4 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:23.323438 [ 2329 ] {c651ea70-1882-4277-8058-1782b1f602fc} TCPHandler: Code: 42. DB::Exception: Storage Azure requires 3 to 7 arguments: AzureBlobStorage(connection_string|storage_account_url, container_name, blobpath, [account_name, account_key, format, compression, structure]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [184]) @ 0x000000001a9e60fe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:66: DB::TableFunctionAzureBlobStorage::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9e278a in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:174: DB::TableFunctionAzureBlobStorage::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9e41c4 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:23.499124 [ 2329 ] {e8097a49-b3b2-4b85-a037-9745b5b9cf56} executeQuery: Code: 42. DB::Exception: Number of arguments for function subtractDays doesn't match: passed 1, should be 2 or 3: While processing subtractDays(-476). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT subtractDays(-476);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b232e2c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:531: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x00000000125958ff in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:28:23.501767 [ 2329 ] {e8097a49-b3b2-4b85-a037-9745b5b9cf56} TCPHandler: Code: 42. DB::Exception: Number of arguments for function subtractDays doesn't match: passed 1, should be 2 or 3: While processing subtractDays(-476). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b232e2c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:531: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x00000000125958ff in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:28:23.666011 [ 2329 ] {d8e9a272-d8b0-4995-958b-575946c1aefd} executeQuery: Code: 42. DB::Exception: Number of arguments for function toDayOfMonth doesn't match: passed 0, should be 1 or 2: While processing toDayOfMonth(), '', 87.6. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT DAYOFMONTH(), '', 87.6;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b232e2c in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionDateOrDateTime.h:135: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x00000000126402b1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:60: DB::FunctionDateOrDateTimeToSomething, DB::ToDayOfMonthImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001263e39f in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:28:23.668716 [ 2329 ] {d8e9a272-d8b0-4995-958b-575946c1aefd} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toDayOfMonth doesn't match: passed 0, should be 1 or 2: While processing toDayOfMonth(), '', 87.6. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b232e2c in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionDateOrDateTime.h:135: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x00000000126402b1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:60: DB::FunctionDateOrDateTimeToSomething, DB::ToDayOfMonthImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001263e39f in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:28:23.676655 [ 2329 ] {2ab125b7-b1df-4ba6-9555-e72d8e65365c} executeQuery: Code: 42. DB::Exception: The signature of function hive is: - hive_url, hive_database, hive_table, structure, partition_by_keys. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hive();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/Hive/TableFunctionHive.cpp:36: DB::TableFunctionHive::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9ebf37 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:23.678846 [ 2329 ] {2ab125b7-b1df-4ba6-9555-e72d8e65365c} TCPHandler: Code: 42. DB::Exception: The signature of function hive is: - hive_url, hive_database, hive_table, structure, partition_by_keys. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/Hive/TableFunctionHive.cpp:36: DB::TableFunctionHive::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9ebf37 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:23.855102 [ 2329 ] {0173589b-ed99-4ada-a49e-76e48997e0a7} executeQuery: Code: 42. DB::Exception: Number of arguments for function toStartOfMinute doesn't match: passed 0, should be 1 or 2: While processing toStartOfMinute(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toStartOfMinute();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b232e2c in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionDateOrDateTime.h:135: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x00000000126b0831 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:33: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::getReturnTypeImpl(std::vector> const&) const @ 0x00000000126adf49 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:28:23.857376 [ 2329 ] {0173589b-ed99-4ada-a49e-76e48997e0a7} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toStartOfMinute doesn't match: passed 0, should be 1 or 2: While processing toStartOfMinute(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b232e2c in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionDateOrDateTime.h:135: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x00000000126b0831 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:33: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::getReturnTypeImpl(std::vector> const&) const @ 0x00000000126adf49 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 2024.09.24 01:28:23.873337 [ 2329 ] {69d62aab-4fb0-4f2e-9771-2e4ccf572228} executeQuery: Code: 42. DB::Exception: Storage PostgreSQL requires from 5 to 7 parameters: PostgreSQL('host:port', 'database', 'table', 'username', 'password' [, 'schema', 'ON CONFLICT ...']. Got: 2. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM postgresql((SELECT 64.470824 / 'V"PAC-$') AS lvfkhvav, [(SELECT '', 93, []), (SELECT [], [], 77842, [[]], VAR_POP(NULL, CAST([], 'DateTime')))])), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000d91e133 in /usr/bin/clickhouse 6. /build/src/Storages/StoragePostgreSQL.cpp:499: DB::StoragePostgreSQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x000000001d7db0c0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:53: DB::TableFunctionPostgreSQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9cf7f6 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:23.875629 [ 2329 ] {69d62aab-4fb0-4f2e-9771-2e4ccf572228} TCPHandler: Code: 42. DB::Exception: Storage PostgreSQL requires from 5 to 7 parameters: PostgreSQL('host:port', 'database', 'table', 'username', 'password' [, 'schema', 'ON CONFLICT ...']. Got: 2. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000d91e133 in /usr/bin/clickhouse 6. /build/src/Storages/StoragePostgreSQL.cpp:499: DB::StoragePostgreSQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x000000001d7db0c0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:53: DB::TableFunctionPostgreSQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9cf7f6 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:23.886654 [ 2329 ] {a4751273-ab9a-49c1-b68b-44489d40a39b} executeQuery: Code: 42. DB::Exception: Number of arguments for function bitNot doesn't match: passed 2, should be 1: While processing bitNot([[[]]], -77). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT bitNot([[[]]], -77);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:28:23.888768 [ 2329 ] {a4751273-ab9a-49c1-b68b-44489d40a39b} TCPHandler: Code: 42. DB::Exception: Number of arguments for function bitNot doesn't match: passed 2, should be 1: While processing bitNot([[[]]], -77). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:28:24.132144 [ 2329 ] {96209094-eab6-4538-8904-f77b3a4da453} executeQuery: Code: 43. DB::Exception: Illegal type Array(String) of argument of function toDateTime: While processing NULL, [], CAST([''], 'DateTime'), [-33902255.]: While processing (SELECT NULL, [], CAST([''], 'DateTime'), [-33902255.]) AS clrcw: While processing CAST((SELECT NULL, [], CAST([''], 'DateTime'), [-33902255.]) AS clrcw, 'String'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST((( SELECT NULL, [], (CAST((['']) AS DateTime)), [-33902255.0] ) AS clrcw) AS String)), [(CAST((transactionLatestSnapshot(( SELECT NULL, 'nP%dYdu!', 67568182.8886, '\0', 'Qu' ) AS wpkdc)) AS Date))];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2103: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b586286 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b58537e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b3d70 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3d06 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3ca0 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3c40 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b3beb in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:28:24.134320 [ 2329 ] {96209094-eab6-4538-8904-f77b3a4da453} TCPHandler: Code: 43. DB::Exception: Illegal type Array(String) of argument of function toDateTime: While processing NULL, [], CAST([''], 'DateTime'), [-33902255.]: While processing (SELECT NULL, [], CAST([''], 'DateTime'), [-33902255.]) AS clrcw: While processing CAST((SELECT NULL, [], CAST([''], 'DateTime'), [-33902255.]) AS clrcw, 'String'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2103: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b586286 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b58537e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b194712 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b3d70 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3d06 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3ca0 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b3c40 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b3beb in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1fb4e7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f7d80 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f722f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197cd9 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee84e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:28:24.332848 [ 2329 ] {97b87660-9ec6-40f6-97ca-07c145ba5aa6} executeQuery: Code: 42. DB::Exception: Number of arguments for function addWeeks doesn't match: passed 1, should be 2 or 3: While processing addWeeks(3332.86167). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT addWeeks(3332.86167);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b232e2c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:531: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c48b3ff in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:28:24.334964 [ 2329 ] {97b87660-9ec6-40f6-97ca-07c145ba5aa6} TCPHandler: Code: 42. DB::Exception: Number of arguments for function addWeeks doesn't match: passed 1, should be 2 or 3: While processing addWeeks(3332.86167). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b232e2c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:531: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c48b3ff in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:28:24.343732 [ 2329 ] {b86b37d7-9b27-44cc-b78e-0baf0fc50437} executeQuery: Code: 42. DB::Exception: Number of arguments for function initcap doesn't match: passed 0, should be 1: While processing initcap(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT initcap();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:28:24.345791 [ 2329 ] {b86b37d7-9b27-44cc-b78e-0baf0fc50437} TCPHandler: Code: 42. DB::Exception: Number of arguments for function initcap doesn't match: passed 0, should be 1: While processing initcap(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:28:24.636164 [ 2329 ] {371dfe2f-b8cd-4886-8524-2cf176ce58a1} executeQuery: Poco::Exception. Code: 1000, e.code() = 0, Bad URI syntax: URI contains invalid characters (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM gcs('\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(String const&, int) @ 0x00000000249623a7 in /usr/bin/clickhouse 4. /build/base/poco/Foundation/src/Exception.cpp:158: Poco::DataException::DataException(String const&, int) @ 0x00000000249652c7 in /usr/bin/clickhouse 5. /build/base/poco/Foundation/src/Exception.cpp:161: Poco::SyntaxException::SyntaxException(String const&, int) @ 0x0000000024965a07 in /usr/bin/clickhouse 6. /build/base/poco/Foundation/src/Exception.cpp:179: Poco::URISyntaxException::URISyntaxException(String const&, int) @ 0x0000000024969b47 in /usr/bin/clickhouse 7. /build/base/poco/Foundation/src/URI.cpp:743: Poco::URI::parse(String const&)::$_0::operator()(char) const @ 0x00000000249e8742 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__algorithm/for_each.h:25: Poco::URI::parse(String const&)::$_0 std::for_each[abi:v15000], Poco::URI::parse(String const&)::$_0>(std::__wrap_iter, std::__wrap_iter, Poco::URI::parse(String const&)::$_0) @ 0x00000000249e7ee2 in /usr/bin/clickhouse 9. /build/base/poco/Foundation/src/URI.cpp:746: Poco::URI::parse(String const&) @ 0x00000000249e3ca5 in /usr/bin/clickhouse 10. /build/base/poco/Foundation/src/URI.cpp:42: Poco::URI::URI(String const&, bool) @ 0x00000000249e3bf7 in /usr/bin/clickhouse 11. /build/src/IO/S3/URI.cpp:44: DB::S3::URI::URI(String const&) @ 0x000000001a9a8360 in /usr/bin/clickhouse 12. /build/src/TableFunctions/TableFunctionS3.cpp:161: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a999089 in /usr/bin/clickhouse 13. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a999d04 in /usr/bin/clickhouse 14. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 15. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 16. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 2024.09.24 01:28:24.638357 [ 2329 ] {371dfe2f-b8cd-4886-8524-2cf176ce58a1} TCPHandler: Code: 1000. DB::Exception: Bad URI syntax: URI contains invalid characters. (POCO_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(String const&, int) @ 0x00000000249623a7 in /usr/bin/clickhouse 4. /build/base/poco/Foundation/src/Exception.cpp:158: Poco::DataException::DataException(String const&, int) @ 0x00000000249652c7 in /usr/bin/clickhouse 5. /build/base/poco/Foundation/src/Exception.cpp:161: Poco::SyntaxException::SyntaxException(String const&, int) @ 0x0000000024965a07 in /usr/bin/clickhouse 6. /build/base/poco/Foundation/src/Exception.cpp:179: Poco::URISyntaxException::URISyntaxException(String const&, int) @ 0x0000000024969b47 in /usr/bin/clickhouse 7. /build/base/poco/Foundation/src/URI.cpp:743: Poco::URI::parse(String const&)::$_0::operator()(char) const @ 0x00000000249e8742 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__algorithm/for_each.h:25: Poco::URI::parse(String const&)::$_0 std::for_each[abi:v15000], Poco::URI::parse(String const&)::$_0>(std::__wrap_iter, std::__wrap_iter, Poco::URI::parse(String const&)::$_0) @ 0x00000000249e7ee2 in /usr/bin/clickhouse 9. /build/base/poco/Foundation/src/URI.cpp:746: Poco::URI::parse(String const&) @ 0x00000000249e3ca5 in /usr/bin/clickhouse 10. /build/base/poco/Foundation/src/URI.cpp:42: Poco::URI::URI(String const&, bool) @ 0x00000000249e3bf7 in /usr/bin/clickhouse 11. /build/src/IO/S3/URI.cpp:44: DB::S3::URI::URI(String const&) @ 0x000000001a9a8360 in /usr/bin/clickhouse 12. /build/src/TableFunctions/TableFunctionS3.cpp:161: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a999089 in /usr/bin/clickhouse 13. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a999d04 in /usr/bin/clickhouse 14. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 15. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 16. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 2024.09.24 01:28:24.646828 [ 2329 ] {39cc9090-07cf-4cbf-b78f-0b785e23bd8a} executeQuery: Code: 42. DB::Exception: The signature of table function file shall be the following: - filename - filename, format - filename, format, structure - filename, format, structure, compression_method . (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM file();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a97c6ea in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97c5c1 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:24.649036 [ 2329 ] {39cc9090-07cf-4cbf-b78f-0b785e23bd8a} TCPHandler: Code: 42. DB::Exception: The signature of table function file shall be the following: - filename - filename, format - filename, format, structure - filename, format, structure, compression_method . (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a97c6ea in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97c5c1 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:24.658550 [ 2329 ] {a0e1d3d9-214a-4944-af77-6f77ad51b231} executeQuery: Code: 42. DB::Exception: The signature of function hive is: - hive_url, hive_database, hive_table, structure, partition_by_keys. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hive();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/Hive/TableFunctionHive.cpp:36: DB::TableFunctionHive::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9ebf37 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:24.661271 [ 2329 ] {a0e1d3d9-214a-4944-af77-6f77ad51b231} TCPHandler: Code: 42. DB::Exception: The signature of function hive is: - hive_url, hive_database, hive_table, structure, partition_by_keys. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/Hive/TableFunctionHive.cpp:36: DB::TableFunctionHive::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9ebf37 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:24.928247 [ 2329 ] {e5c0f3c7-90f6-4834-bed2-81866a917285} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function toIntervalNanosecond provided 0, expected 1 ('Value' : ): While processing -42.344, toIntervalNanosecond(), [], -3792521, '\0'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT -042.344, toIntervalNanosecond(), [], -03792521, '\0';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001abfde7d in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abfbdc5 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1861: DB::FunctionConvert::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000b689606 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1823: auto DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000b689380 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval> const&>())) std::__invoke[abi:v15000]::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(auto&&, std::vector> const&) @ 0x000000000b68933d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&) @ 0x000000000b6892fd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) @ 0x000000000b6892bd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000b689285 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) const @ 0x000000000b268ebe in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::vector> const&)>::operator()(std::vector> const&) const @ 0x000000000b267b7d in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:1818: DB::FunctionConvert::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000b6890bb in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1824: DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b6712ba in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:28:24.930839 [ 2329 ] {e5c0f3c7-90f6-4834-bed2-81866a917285} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function toIntervalNanosecond provided 0, expected 1 ('Value' : ): While processing -42.344, toIntervalNanosecond(), [], -3792521, '\0'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001abfde7d in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abfbdc5 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1861: DB::FunctionConvert::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000b689606 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1823: auto DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000b689380 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval> const&>())) std::__invoke[abi:v15000]::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(auto&&, std::vector> const&) @ 0x000000000b68933d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&) @ 0x000000000b6892fd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) @ 0x000000000b6892bd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000b689285 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) const @ 0x000000000b268ebe in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::vector> const&)>::operator()(std::vector> const&) const @ 0x000000000b267b7d in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:1818: DB::FunctionConvert::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000b6890bb in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1824: DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b6712ba in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:28:24.940235 [ 2329 ] {8c6df209-6109-4f59-bf16-326f6845083b} executeQuery: Code: 42. DB::Exception: Number of arguments for function inIgnoreSet doesn't match: passed 0, should be 2: While processing inIgnoreSet(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT inIgnoreSet();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:28:24.942349 [ 2329 ] {8c6df209-6109-4f59-bf16-326f6845083b} TCPHandler: Code: 42. DB::Exception: Number of arguments for function inIgnoreSet doesn't match: passed 0, should be 2: While processing inIgnoreSet(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:28:25.159804 [ 2329 ] {2b27ac89-026e-4d06-b896-10b16c34dc79} executeQuery: Code: 42. DB::Exception: SQLite database requires 2 arguments: database path, table name. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM sqlite();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [64]) @ 0x000000000bb580de in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionSQLite.cpp:61: DB::TableFunctionSQLite::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9d269d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:25.163015 [ 2329 ] {2b27ac89-026e-4d06-b896-10b16c34dc79} TCPHandler: Code: 42. DB::Exception: SQLite database requires 2 arguments: database path, table name. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [64]) @ 0x000000000bb580de in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionSQLite.cpp:61: DB::TableFunctionSQLite::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9d269d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:25.353272 [ 2329 ] {244f6c77-9a7e-40d0-b292-fa9981819222} executeQuery: Code: 42. DB::Exception: SQLite database requires 2 arguments: database path, table name: While processing (SELECT * FROM sqlite()) AS _subquery839. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT ( SELECT * FROM sqlite() ) , '2X', '', 'e@';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [64]) @ 0x000000000bb580de in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionSQLite.cpp:61: DB::TableFunctionSQLite::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9d269d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8dec5 in /usr/bin/clickhouse 29. /build/src/Interpreters/TreeRewriter.cpp:465: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001cfa05e8 in /usr/bin/clickhouse 30. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d542 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 2024.09.24 01:28:25.355654 [ 2329 ] {244f6c77-9a7e-40d0-b292-fa9981819222} TCPHandler: Code: 42. DB::Exception: SQLite database requires 2 arguments: database path, table name: While processing (SELECT * FROM sqlite()) AS _subquery839. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [64]) @ 0x000000000bb580de in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionSQLite.cpp:61: DB::TableFunctionSQLite::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9d269d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8dec5 in /usr/bin/clickhouse 29. /build/src/Interpreters/TreeRewriter.cpp:465: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001cfa05e8 in /usr/bin/clickhouse 30. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d542 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 2024.09.24 01:28:25.364909 [ 2329 ] {1c0b590f-163e-48a0-a5ba-f171d21ff7be} executeQuery: Code: 42. DB::Exception: Number of arguments for function multiSearchAllPositionsCaseInsensitive doesn't match: passed 1, should be 2: While processing multiSearchAllPositionsCaseInsensitive(-4.35395). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT multiSearchAllPositionsCaseInsensitive(-4.35395);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:28:25.366606 [ 2329 ] {1c0b590f-163e-48a0-a5ba-f171d21ff7be} TCPHandler: Code: 42. DB::Exception: Number of arguments for function multiSearchAllPositionsCaseInsensitive doesn't match: passed 1, should be 2: While processing multiSearchAllPositionsCaseInsensitive(-4.35395). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000001883b6e8 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abef9af in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abefe76 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 2024.09.24 01:28:25.377464 [ 2329 ] {893b6498-587f-40af-ab01-a950edcdc5a8} executeQuery: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: While processing '', '\0', [], 'w', [CAST(NULL, 'String')]. (CANNOT_CONVERT_TYPE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '', '\0', [], 'w', [(CAST((NULL) AS String))];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [43]) @ 0x000000000b1fb6be in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3831: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000b78efa3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2875: DB::FunctionCast::prepare(std::vector> const&) const @ 0x000000000b78ea5c in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:272: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85a09 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:28:25.379721 [ 2329 ] {893b6498-587f-40af-ab01-a950edcdc5a8} TCPHandler: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: While processing '', '\0', [], 'w', [CAST(NULL, 'String')]. (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [43]) @ 0x000000000b1fb6be in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3831: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000b78efa3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2875: DB::FunctionCast::prepare(std::vector> const&) const @ 0x000000000b78ea5c in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:272: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85a09 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 2024.09.24 01:28:25.388019 [ 2329 ] {b8f30ebf-b917-48b3-9ba0-8c4301914018} executeQuery: Code: 42. DB::Exception: The signature of table function iceberg shall be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM iceberg();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:75: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a99804f in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a999d04 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionDataLake.h:61: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9b911f in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:25.390204 [ 2329 ] {b8f30ebf-b917-48b3-9ba0-8c4301914018} TCPHandler: Code: 42. DB::Exception: The signature of table function iceberg shall be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:75: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a99804f in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a999d04 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionDataLake.h:61: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9b911f in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:25.555644 [ 2329 ] {61e78b2f-a550-479a-b9e0-0a06c693fdfb} executeQuery: Code: 36. DB::Exception: Empty address passed to function parseAddress. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM remoteSecure('');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [46]) @ 0x000000000b90e93e in /usr/bin/clickhouse 6. /build/src/Common/parseAddress.cpp:18: DB::parseAddress(String const&, unsigned short) @ 0x000000001a9946b1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Cluster.cpp:141: DB::Cluster::Address::Address(DB::DatabaseReplicaInfo const&, DB::ClusterConnectionParameters const&, unsigned int, unsigned int) @ 0x000000001bda6433 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::Cluster::Address* std::construct_at[abi:v15000](DB::Cluster::Address*, DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001bdb5dc1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::Cluster::Address*, DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001bdb5d39 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/vector:1579: void std::vector>::__emplace_back_slow_path(DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001bdb5c96 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/vector:0: DB::Cluster::Address& std::vector>::emplace_back(DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001bdaeda0 in /usr/bin/clickhouse 12. /build/src/Interpreters/Cluster.cpp:520: DB::Cluster::Cluster(DB::Settings const&, std::vector>, std::allocator>>> const&, DB::ClusterConnectionParameters const&) @ 0x000000001bdaad5d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::Cluster* std::construct_at[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&, DB::Cluster*>(DB::Cluster*, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x000000001a954454 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&, void, void>(std::allocator&, DB::Cluster*, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x000000001a9543d1 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&>(std::allocator, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x000000001a954357 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&, void>(std::allocator const&, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x000000001a95426a in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&, void>(DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x000000001a94f996 in /usr/bin/clickhouse 18. /build/src/TableFunctions/TableFunctionRemote.cpp:290: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a94c30e in /usr/bin/clickhouse 19. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 20. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 21. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 2024.09.24 01:28:25.557681 [ 2329 ] {61e78b2f-a550-479a-b9e0-0a06c693fdfb} TCPHandler: Code: 36. DB::Exception: Empty address passed to function parseAddress. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [46]) @ 0x000000000b90e93e in /usr/bin/clickhouse 6. /build/src/Common/parseAddress.cpp:18: DB::parseAddress(String const&, unsigned short) @ 0x000000001a9946b1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Cluster.cpp:141: DB::Cluster::Address::Address(DB::DatabaseReplicaInfo const&, DB::ClusterConnectionParameters const&, unsigned int, unsigned int) @ 0x000000001bda6433 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::Cluster::Address* std::construct_at[abi:v15000](DB::Cluster::Address*, DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001bdb5dc1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::Cluster::Address*, DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001bdb5d39 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/vector:1579: void std::vector>::__emplace_back_slow_path(DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001bdb5c96 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/vector:0: DB::Cluster::Address& std::vector>::emplace_back(DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001bdaeda0 in /usr/bin/clickhouse 12. /build/src/Interpreters/Cluster.cpp:520: DB::Cluster::Cluster(DB::Settings const&, std::vector>, std::allocator>>> const&, DB::ClusterConnectionParameters const&) @ 0x000000001bdaad5d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::Cluster* std::construct_at[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&, DB::Cluster*>(DB::Cluster*, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x000000001a954454 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&, void, void>(std::allocator&, DB::Cluster*, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x000000001a9543d1 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&>(std::allocator, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x000000001a954357 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&, void>(std::allocator const&, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x000000001a95426a in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&, void>(DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x000000001a94f996 in /usr/bin/clickhouse 18. /build/src/TableFunctions/TableFunctionRemote.cpp:290: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a94c30e in /usr/bin/clickhouse 19. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 20. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 21. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 2024.09.24 01:28:25.741859 [ 2329 ] {333b3a7e-b1b4-4f49-a4f8-10f4cb2a6093} executeQuery: Code: 42. DB::Exception: Table function ('dictionary') requires 1 arguments: While processing (SELECT * FROM dictionary(NULL, NULL)) AS btnkqsml: While processing (SELECT (SELECT * FROM dictionary(NULL, NULL)) AS btnkqsml, (SELECT '\0', [CAST('\0', 'String')], '\0', normalizeQuery()), randomString('\0')) AS x: While processing pow(_CAST('', 'Nullable(String)') AS bzebgc, (SELECT (SELECT * FROM dictionary(NULL, NULL)) AS btnkqsml, (SELECT '\0', [CAST('\0', 'String')], '\0', normalizeQuery()), randomString('\0')) AS x, '\0'): While processing (SELECT pow((SELECT '') AS bzebgc, (SELECT (SELECT * FROM dictionary(NULL, NULL)) AS btnkqsml, (SELECT '\0', [CAST('\0', 'String')], '\0', normalizeQuery()), randomString('\0')) AS x, '\0')) AS _subquery840: While processing displayName((SELECT pow((SELECT '') AS bzebgc, (SELECT (SELECT * FROM dictionary(NULL, NULL)) AS btnkqsml, (SELECT '\0', [CAST('\0', 'String')], '\0', normalizeQuery()), randomString('\0')) AS x, '\0')) AS _subquery840, (SELECT []) AS _subquery841). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT displayName(( SELECT power(( SELECT '' ) AS bzebgc, ( SELECT ( SELECT * FROM dictionary(NULL, NULL) ) AS btnkqsml, ( SELECT '\0', [(CAST(('\0') AS String))], '\0', normalizeQuery() ) , randomString('\0') ) AS x, '\0') ) , ( SELECT [] ) );), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionDictionary.cpp:38: DB::TableFunctionDictionary::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9d4c3e in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8dec5 in /usr/bin/clickhouse 29. /build/src/Interpreters/TreeRewriter.cpp:465: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001cfa05e8 in /usr/bin/clickhouse 30. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d542 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 2024.09.24 01:28:25.744929 [ 2329 ] {333b3a7e-b1b4-4f49-a4f8-10f4cb2a6093} TCPHandler: Code: 42. DB::Exception: Table function ('dictionary') requires 1 arguments: While processing (SELECT * FROM dictionary(NULL, NULL)) AS btnkqsml: While processing (SELECT (SELECT * FROM dictionary(NULL, NULL)) AS btnkqsml, (SELECT '\0', [CAST('\0', 'String')], '\0', normalizeQuery()), randomString('\0')) AS x: While processing pow(_CAST('', 'Nullable(String)') AS bzebgc, (SELECT (SELECT * FROM dictionary(NULL, NULL)) AS btnkqsml, (SELECT '\0', [CAST('\0', 'String')], '\0', normalizeQuery()), randomString('\0')) AS x, '\0'): While processing (SELECT pow((SELECT '') AS bzebgc, (SELECT (SELECT * FROM dictionary(NULL, NULL)) AS btnkqsml, (SELECT '\0', [CAST('\0', 'String')], '\0', normalizeQuery()), randomString('\0')) AS x, '\0')) AS _subquery840: While processing displayName((SELECT pow((SELECT '') AS bzebgc, (SELECT (SELECT * FROM dictionary(NULL, NULL)) AS btnkqsml, (SELECT '\0', [CAST('\0', 'String')], '\0', normalizeQuery()), randomString('\0')) AS x, '\0')) AS _subquery840, (SELECT []) AS _subquery841). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionDictionary.cpp:38: DB::TableFunctionDictionary::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9d4c3e in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc92b14 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc91bfc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f8e4 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8dec5 in /usr/bin/clickhouse 29. /build/src/Interpreters/TreeRewriter.cpp:465: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001cfa05e8 in /usr/bin/clickhouse 30. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d542 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 2024.09.24 01:28:25.771424 [ 2329 ] {c92eeb00-4447-4617-adc3-7cf9d5d57710} executeQuery: Code: 42. DB::Exception: The signature of function hive is: - hive_url, hive_database, hive_table, structure, partition_by_keys. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36500) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hive();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/Hive/TableFunctionHive.cpp:36: DB::TableFunctionHive::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9ebf37 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:25.773567 [ 2329 ] {c92eeb00-4447-4617-adc3-7cf9d5d57710} TCPHandler: Code: 42. DB::Exception: The signature of function hive is: - hive_url, hive_database, hive_table, structure, partition_by_keys. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/Hive/TableFunctionHive.cpp:36: DB::TableFunctionHive::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9ebf37 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac15ac3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8b44 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc202d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:36.809040 [ 718 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:28:36.809760 [ 718 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:28:36.884717 [ 718 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:28:39.462879 [ 12007 ] {b7203fcc-f6c0-4d3d-a3c7-cb17d5d8decd} executeQuery: Code: 420. DB::Exception: Cannot UPDATE key column `d`. (CANNOT_UPDATE_COLUMN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:59722) (comment: 00652_mutations_alter_update.sh) (in query: ALTER TABLE alter_update UPDATE d = today() WHERE 1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:431: DB::validateUpdateColumns(DB::MutationsInterpreter::Source const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator> const&, std::unordered_map>, std::hash, std::equal_to, std::allocator>>>> const&) @ 0x000000001cc6caa4 in /usr/bin/clickhouse 7. /build/src/Interpreters/MutationsInterpreter.cpp:539: DB::MutationsInterpreter::prepare(bool) @ 0x000000001cc68266 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:365: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr, DB::MutationCommands, std::vector>, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc67441 in /usr/bin/clickhouse 9. /build/src/Interpreters/MutationsInterpreter.cpp:320: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr, DB::MutationCommands, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc66c40 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d5ef2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 21. ? @ 0x00007f1d281b3ac3 in ? 22. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:39.465017 [ 12007 ] {b7203fcc-f6c0-4d3d-a3c7-cb17d5d8decd} TCPHandler: Code: 420. DB::Exception: Cannot UPDATE key column `d`. (CANNOT_UPDATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:431: DB::validateUpdateColumns(DB::MutationsInterpreter::Source const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator> const&, std::unordered_map>, std::hash, std::equal_to, std::allocator>>>> const&) @ 0x000000001cc6caa4 in /usr/bin/clickhouse 7. /build/src/Interpreters/MutationsInterpreter.cpp:539: DB::MutationsInterpreter::prepare(bool) @ 0x000000001cc68266 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:365: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr, DB::MutationCommands, std::vector>, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc67441 in /usr/bin/clickhouse 9. /build/src/Interpreters/MutationsInterpreter.cpp:320: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr, DB::MutationCommands, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc66c40 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d5ef2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 21. ? @ 0x00007f1d281b3ac3 in ? 22. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:41.556795 [ 2329 ] {7375dac7-01c3-4ff0-afae-b1c678c30cac} executeQuery: Code: 420. DB::Exception: Cannot UPDATE key column `key`. (CANNOT_UPDATE_COLUMN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58200) (comment: 00652_mutations_alter_update.sh) (in query: ALTER TABLE alter_update UPDATE key = 1 WHERE 1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:431: DB::validateUpdateColumns(DB::MutationsInterpreter::Source const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator> const&, std::unordered_map>, std::hash, std::equal_to, std::allocator>>>> const&) @ 0x000000001cc6caa4 in /usr/bin/clickhouse 7. /build/src/Interpreters/MutationsInterpreter.cpp:539: DB::MutationsInterpreter::prepare(bool) @ 0x000000001cc68266 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:365: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr, DB::MutationCommands, std::vector>, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc67441 in /usr/bin/clickhouse 9. /build/src/Interpreters/MutationsInterpreter.cpp:320: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr, DB::MutationCommands, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc66c40 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d5ef2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 21. ? @ 0x00007f1d281b3ac3 in ? 22. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:41.558740 [ 2329 ] {7375dac7-01c3-4ff0-afae-b1c678c30cac} TCPHandler: Code: 420. DB::Exception: Cannot UPDATE key column `key`. (CANNOT_UPDATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:431: DB::validateUpdateColumns(DB::MutationsInterpreter::Source const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator> const&, std::unordered_map>, std::hash, std::equal_to, std::allocator>>>> const&) @ 0x000000001cc6caa4 in /usr/bin/clickhouse 7. /build/src/Interpreters/MutationsInterpreter.cpp:539: DB::MutationsInterpreter::prepare(bool) @ 0x000000001cc68266 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:365: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr, DB::MutationCommands, std::vector>, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc67441 in /usr/bin/clickhouse 9. /build/src/Interpreters/MutationsInterpreter.cpp:320: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr, DB::MutationCommands, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc66c40 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d5ef2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 21. ? @ 0x00007f1d281b3ac3 in ? 22. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:43.869775 [ 12007 ] {70de6300-8540-479b-bdf9-deb8810bd84d} executeQuery: Code: 420. DB::Exception: Cannot UPDATE materialized column `materialized_value`. (CANNOT_UPDATE_COLUMN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58254) (comment: 00652_mutations_alter_update.sh) (in query: ALTER TABLE alter_update UPDATE materialized_value = 'aaa' WHERE 1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:424: DB::validateUpdateColumns(DB::MutationsInterpreter::Source const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator> const&, std::unordered_map>, std::hash, std::equal_to, std::allocator>>>> const&) @ 0x000000001cc6c7d6 in /usr/bin/clickhouse 7. /build/src/Interpreters/MutationsInterpreter.cpp:539: DB::MutationsInterpreter::prepare(bool) @ 0x000000001cc68266 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:365: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr, DB::MutationCommands, std::vector>, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc67441 in /usr/bin/clickhouse 9. /build/src/Interpreters/MutationsInterpreter.cpp:320: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr, DB::MutationCommands, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc66c40 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d5ef2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 21. ? @ 0x00007f1d281b3ac3 in ? 22. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:43.871463 [ 12007 ] {70de6300-8540-479b-bdf9-deb8810bd84d} TCPHandler: Code: 420. DB::Exception: Cannot UPDATE materialized column `materialized_value`. (CANNOT_UPDATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:424: DB::validateUpdateColumns(DB::MutationsInterpreter::Source const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator> const&, std::unordered_map>, std::hash, std::equal_to, std::allocator>>>> const&) @ 0x000000001cc6c7d6 in /usr/bin/clickhouse 7. /build/src/Interpreters/MutationsInterpreter.cpp:539: DB::MutationsInterpreter::prepare(bool) @ 0x000000001cc68266 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:365: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr, DB::MutationCommands, std::vector>, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc67441 in /usr/bin/clickhouse 9. /build/src/Interpreters/MutationsInterpreter.cpp:320: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr, DB::MutationCommands, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc66c40 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d5ef2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 21. ? @ 0x00007f1d281b3ac3 in ? 22. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:46.035218 [ 22252 ] {13568ae7-1cf4-4987-a2f2-bd930184982b} executeQuery: Code: 43. DB::Exception: Illegal type String of first argument (condition) of function if. Must be UInt8.: While processing _CAST(if('string', _CAST('aaa', 'String'), value1), 'String'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58332) (comment: 00652_mutations_alter_update.sh) (in query: ALTER TABLE alter_update UPDATE value1 = 'aaa' WHERE 'string'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:1039: DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000efd5096 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1669: DB::ExpressionAnalyzer::appendExpression(DB::ExpressionActionsChain&, std::shared_ptr const&, bool) @ 0x000000001bfb8bf4 in /usr/bin/clickhouse 25. /build/src/Interpreters/MutationsInterpreter.cpp:1020: DB::MutationsInterpreter::prepareMutationStages(std::vector>&, bool) @ 0x000000001cc6e456 in /usr/bin/clickhouse 26. /build/src/Interpreters/MutationsInterpreter.cpp:934: DB::MutationsInterpreter::prepare(bool) @ 0x000000001cc6c243 in /usr/bin/clickhouse 27. /build/src/Interpreters/MutationsInterpreter.cpp:365: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr, DB::MutationCommands, std::vector>, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc67441 in /usr/bin/clickhouse 28. /build/src/Interpreters/MutationsInterpreter.cpp:320: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr, DB::MutationCommands, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc66c40 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d5ef2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 2024.09.24 01:28:46.037257 [ 22252 ] {13568ae7-1cf4-4987-a2f2-bd930184982b} TCPHandler: Code: 43. DB::Exception: Illegal type String of first argument (condition) of function if. Must be UInt8.: While processing _CAST(if('string', _CAST('aaa', 'String'), value1), 'String'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:1039: DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000efd5096 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b19982c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeaa1f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1669: DB::ExpressionAnalyzer::appendExpression(DB::ExpressionActionsChain&, std::shared_ptr const&, bool) @ 0x000000001bfb8bf4 in /usr/bin/clickhouse 25. /build/src/Interpreters/MutationsInterpreter.cpp:1020: DB::MutationsInterpreter::prepareMutationStages(std::vector>&, bool) @ 0x000000001cc6e456 in /usr/bin/clickhouse 26. /build/src/Interpreters/MutationsInterpreter.cpp:934: DB::MutationsInterpreter::prepare(bool) @ 0x000000001cc6c243 in /usr/bin/clickhouse 27. /build/src/Interpreters/MutationsInterpreter.cpp:365: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr, DB::MutationCommands, std::vector>, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc67441 in /usr/bin/clickhouse 28. /build/src/Interpreters/MutationsInterpreter.cpp:320: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr, DB::MutationCommands, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc66c40 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d5ef2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 2024.09.24 01:28:46.258970 [ 22256 ] {b26d288a-2686-4fe1-b381-50621964c855} executeQuery: Code: 47. DB::Exception: Missing columns: 'nonexistent' while processing query: 'isZeroOrNull(nonexistent = 0), _row_exists, _part_index, s, _partition_id, x, _part, _partition_value, m, _part_offset, _sample_factor, _part_uuid, d', required columns: 'nonexistent' '_partition_id' '_part_index' 's' '_part' 'x' 'm' '_part_offset' '_sample_factor' 'd' '_part_uuid' '_row_exists' '_partition_value', maybe you meant: 's', 'x', 'm' or 'd'. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58364) (comment: 00652_replicated_mutations_zookeeper.sh) (in query: ALTER TABLE mutations_r1 DELETE WHERE nonexistent = 0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1355: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001cfa2798 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:989: DB::MutationsInterpreter::prepareMutationStages(std::vector>&, bool) @ 0x000000001cc6de31 in /usr/bin/clickhouse 9. /build/src/Interpreters/MutationsInterpreter.cpp:934: DB::MutationsInterpreter::prepare(bool) @ 0x000000001cc6c243 in /usr/bin/clickhouse 10. /build/src/Interpreters/MutationsInterpreter.cpp:365: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr, DB::MutationCommands, std::vector>, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc67441 in /usr/bin/clickhouse 11. /build/src/Interpreters/MutationsInterpreter.cpp:320: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr, DB::MutationCommands, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc66c40 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d5ef2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:46.260785 [ 22256 ] {b26d288a-2686-4fe1-b381-50621964c855} TCPHandler: Code: 47. DB::Exception: Missing columns: 'nonexistent' while processing query: 'isZeroOrNull(nonexistent = 0), _row_exists, _part_index, s, _partition_id, x, _part, _partition_value, m, _part_offset, _sample_factor, _part_uuid, d', required columns: 'nonexistent' '_partition_id' '_part_index' 's' '_part' 'x' 'm' '_part_offset' '_sample_factor' 'd' '_part_uuid' '_row_exists' '_partition_value', maybe you meant: 's', 'x', 'm' or 'd'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1355: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001cfa2798 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:989: DB::MutationsInterpreter::prepareMutationStages(std::vector>&, bool) @ 0x000000001cc6de31 in /usr/bin/clickhouse 9. /build/src/Interpreters/MutationsInterpreter.cpp:934: DB::MutationsInterpreter::prepare(bool) @ 0x000000001cc6c243 in /usr/bin/clickhouse 10. /build/src/Interpreters/MutationsInterpreter.cpp:365: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr, DB::MutationCommands, std::vector>, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc67441 in /usr/bin/clickhouse 11. /build/src/Interpreters/MutationsInterpreter.cpp:320: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr, DB::MutationCommands, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc66c40 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d5ef2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:28:48.702697 [ 22253 ] {774199c0-ed2a-469d-a4a1-79dd4ef2f6c9} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: while converting '11' to Date. (CANNOT_PARSE_DATE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58446) (comment: 00652_replicated_mutations_zookeeper.sh) (in query: ALTER TABLE mutations_r1 DELETE WHERE d = '11'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000f82339e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x000000001398bef5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1087: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x000000001398bb71 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:719: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000b54ea97 in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:743: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54e78a in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:774: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54e745 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationDate.cpp:30: DB::SerializationDate::deserializeTextEscaped(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001ba35e5e in /usr/bin/clickhouse 12. /build/src/DataTypes/Serializations/SerializationDate.cpp:22: DB::SerializationDate::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001ba35d34 in /usr/bin/clickhouse 13. /build/src/Interpreters/convertFieldToType.cpp:503: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d06dcbc in /usr/bin/clickhouse 14. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d06a6dd in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsComparison.h:919: DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ddfc60e in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsComparison.h:1313: DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000dde53c4 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 18. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 24. /build/src/Processors/Transforms/FilterTransform.cpp:44: DB::FilterTransform::transformHeader(DB::Block, DB::ActionsDAG const*, String const&, bool) @ 0x000000001ebcc742 in /usr/bin/clickhouse 25. /build/src/Processors/QueryPlan/FilterStep.cpp:43: DB::FilterStep::FilterStep(DB::DataStream const&, std::shared_ptr const&, String, bool) @ 0x000000001ee4e2a5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, String const&, bool>(DB::DataStream const&, std::shared_ptr&, String const&, bool&&) @ 0x000000001cc761cd in /usr/bin/clickhouse 27. /build/src/Interpreters/MutationsInterpreter.cpp:1248: DB::MutationsInterpreter::addStreamsForLaterStages(std::vector> const&, DB::QueryPlan&) const @ 0x000000001cc6edbc in /usr/bin/clickhouse 28. /build/src/Interpreters/MutationsInterpreter.cpp:1298: DB::MutationsInterpreter::validate() @ 0x000000001cc7091a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d5f03 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 2024.09.24 01:28:48.704342 [ 22253 ] {774199c0-ed2a-469d-a4a1-79dd4ef2f6c9} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: while converting '11' to Date. (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000f82339e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x000000001398bef5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1087: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x000000001398bb71 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:719: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000b54ea97 in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:743: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54e78a in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:774: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54e745 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationDate.cpp:30: DB::SerializationDate::deserializeTextEscaped(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001ba35e5e in /usr/bin/clickhouse 12. /build/src/DataTypes/Serializations/SerializationDate.cpp:22: DB::SerializationDate::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001ba35d34 in /usr/bin/clickhouse 13. /build/src/Interpreters/convertFieldToType.cpp:503: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d06dcbc in /usr/bin/clickhouse 14. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d06a6dd in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsComparison.h:919: DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ddfc60e in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsComparison.h:1313: DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000dde53c4 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 18. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc89fa8 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc899a8 in /usr/bin/clickhouse 24. /build/src/Processors/Transforms/FilterTransform.cpp:44: DB::FilterTransform::transformHeader(DB::Block, DB::ActionsDAG const*, String const&, bool) @ 0x000000001ebcc742 in /usr/bin/clickhouse 25. /build/src/Processors/QueryPlan/FilterStep.cpp:43: DB::FilterStep::FilterStep(DB::DataStream const&, std::shared_ptr const&, String, bool) @ 0x000000001ee4e2a5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, String const&, bool>(DB::DataStream const&, std::shared_ptr&, String const&, bool&&) @ 0x000000001cc761cd in /usr/bin/clickhouse 27. /build/src/Interpreters/MutationsInterpreter.cpp:1248: DB::MutationsInterpreter::addStreamsForLaterStages(std::vector> const&, DB::QueryPlan&) const @ 0x000000001cc6edbc in /usr/bin/clickhouse 28. /build/src/Interpreters/MutationsInterpreter.cpp:1298: DB::MutationsInterpreter::validate() @ 0x000000001cc7091a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d5f03 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 2024.09.24 01:28:52.040972 [ 762 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:28:52.041594 [ 762 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:28:52.119762 [ 762 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:28:56.461806 [ 22255 ] {b91774b9-3bd8-499a-a46a-83469bdd1a4a} executeQuery: Code: 252. DB::Exception: Too many parts (1 with average size of 133.00 B) in table 'test_50uy57ke.`.inner_id.388f349e-0203-452a-95bb-fe1753210b8a` (0b4f49c7-1cd0-4631-826c-d9907fb6ddfe)'. Merges are processing significantly slower than inserts: while pushing to view test_50uy57ke.b (388f349e-0203-452a-95bb-fe1753210b8a). (TOO_MANY_PARTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56762) (comment: 00633_materialized_view_and_too_many_parts_zookeeper.sh) (in query: INSERT INTO root VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000001def3d28 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4511: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000001dea61e4 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1081: DB::ReplicatedMergeTreeSinkImpl::onStart() @ 0x000000001e31e7f6 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x000000001ebc9319 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_0&) @ 0x000000001ebc92f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_0&) @ 0x000000001ebc92d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc92b5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc927d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc8695 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x000000001e6fb6f6 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:841: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d22a in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:28:56.466317 [ 22255 ] {b91774b9-3bd8-499a-a46a-83469bdd1a4a} TCPHandler: Code: 252. DB::Exception: Too many parts (1 with average size of 133.00 B) in table 'test_50uy57ke.`.inner_id.388f349e-0203-452a-95bb-fe1753210b8a` (0b4f49c7-1cd0-4631-826c-d9907fb6ddfe)'. Merges are processing significantly slower than inserts: while pushing to view test_50uy57ke.b (388f349e-0203-452a-95bb-fe1753210b8a). (TOO_MANY_PARTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000001def3d28 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4511: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000001dea61e4 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1081: DB::ReplicatedMergeTreeSinkImpl::onStart() @ 0x000000001e31e7f6 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x000000001ebc9319 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_0&) @ 0x000000001ebc92f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_0&) @ 0x000000001ebc92d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc92b5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc927d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc8695 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x000000001e6fb6f6 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:841: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d22a in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:29:07.289768 [ 778 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:29:07.290312 [ 778 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:29:07.352255 [ 778 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:29:22.518680 [ 793 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:29:22.519232 [ 793 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:29:22.579947 [ 793 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:29:22.600716 [ 22253 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:55980). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000013cee00c in /usr/bin/clickhouse 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000013ced280 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2189bc in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:105: DB::TCPHandler::runImpl() @ 0x000000001e6425a1 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:29:22.601372 [ 670 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:43544). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000013cee00c in /usr/bin/clickhouse 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000013ced280 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2189bc in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:105: DB::TCPHandler::runImpl() @ 0x000000001e6425a1 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:29:25.539779 [ 670 ] {test_00601_test_izqjz4e9} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.16.41.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:56742) (comment: 00601_kill_running_query.sh) (in query: SELECT sum(ignore(*)) FROM (SELECT number % 1000 AS k, groupArray(number) FROM numbers(50000000) GROUP BY k)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f983e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x000000001ccaa25b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6d0a80 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6d115c in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d09f6 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ce1c8 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b3ee0 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:29:25.550056 [ 670 ] {test_00601_test_izqjz4e9} DynamicQueryHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f983e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x000000001ccaa25b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6d0a80 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6d115c in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d09f6 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ce1c8 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b3ee0 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:29:31.702667 [ 8835 ] {c8d1ba35-7037-4be1-bd08-fc13f5131d7d} executeQuery: Code: 141. DB::Exception: Illegal SAMPLE: table doesn't support sampling. (SAMPLING_NOT_SUPPORTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:52202) (comment: 00578_merge_table_sampling.sql) (in query: SELECT * FROM merge(currentDatabase(), '^numbers\\d+$') SAMPLE 0.1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [47]) @ 0x000000000b5b6a9e in /usr/bin/clickhouse 6. /build/src/Storages/StorageMerge.cpp:494: DB::ReadFromMerge::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001d75483b in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee51b4c in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee780df in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd8cb in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:29:31.703347 [ 8835 ] {c8d1ba35-7037-4be1-bd08-fc13f5131d7d} TCPHandler: Code: 141. DB::Exception: Illegal SAMPLE: table doesn't support sampling. (SAMPLING_NOT_SUPPORTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [47]) @ 0x000000000b5b6a9e in /usr/bin/clickhouse 6. /build/src/Storages/StorageMerge.cpp:494: DB::ReadFromMerge::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001d75483b in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee51b4c in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee780df in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd8cb in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:29:37.723945 [ 838 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:29:37.724648 [ 838 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:29:37.785728 [ 838 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:29:37.924884 [ 22253 ] {84befe8f-f433-4c46-a2f5-9f5c64daf149} executeQuery: Code: 168. DB::Exception: AST is too big. Maximum: 500000. (TOO_BIG_AST) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:44156) (comment: 00596_limit_on_expanded_ast.sh) (in query: select 1 as a, a+a as b, b+b as c, c+c as d, d+d as e, e+e as f, f+f as g, g+g as h, h+h as i, i+i as j, j+j as k, k+k as l, l+l as m, m+m as n, n+n as o, o+o as p, p+p as q, q+q as r, r+r as s, s+s as t, t+t as u, u+u as v, v+v as w, w+w as x, x+x as y, y+y as z ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000c0bde33 in /usr/bin/clickhouse 6. /build/src/Parsers/IAST.cpp:111: DB::IAST::checkSize(unsigned long) const @ 0x000000001f3fd26a in /usr/bin/clickhouse 7. /build/src/Parsers/IAST.cpp:108: DB::IAST::checkSize(unsigned long) const @ 0x000000001f3fd1ec in /usr/bin/clickhouse 8. /build/src/Interpreters/QueryNormalizer.cpp:139: DB::QueryNormalizer::visit(DB::ASTIdentifier&, std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001d0198f2 in /usr/bin/clickhouse 9. /build/src/Interpreters/QueryNormalizer.cpp:286: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001d019e1e in /usr/bin/clickhouse 10. /build/src/Interpreters/QueryNormalizer.cpp:240: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x000000001d01aa5d in /usr/bin/clickhouse 11. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001d01a167 in /usr/bin/clickhouse 12. /build/src/Interpreters/QueryNormalizer.cpp:256: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x000000001d01ac6a in /usr/bin/clickhouse 13. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001d01a167 in /usr/bin/clickhouse 14. /build/src/Interpreters/QueryNormalizer.cpp:177: DB::QueryNormalizer::visit(DB::ASTSelectQuery&, std::shared_ptr const&, DB::QueryNormalizer::Data&) @ 0x000000001d01a4fa in /usr/bin/clickhouse 15. /build/src/Interpreters/QueryNormalizer.cpp:290: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001d019eda in /usr/bin/clickhouse 16. /build/src/Interpreters/QueryNormalizer.h:77: DB::QueryNormalizer::visit(std::shared_ptr&) @ 0x000000001cfaddc0 in /usr/bin/clickhouse 17. /build/src/Interpreters/TreeRewriter.cpp:1438: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x000000001cf9f7cd in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d467 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 2024.09.24 01:29:37.927070 [ 22253 ] {84befe8f-f433-4c46-a2f5-9f5c64daf149} TCPHandler: Code: 168. DB::Exception: AST is too big. Maximum: 500000. (TOO_BIG_AST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000c0bde33 in /usr/bin/clickhouse 6. /build/src/Parsers/IAST.cpp:111: DB::IAST::checkSize(unsigned long) const @ 0x000000001f3fd26a in /usr/bin/clickhouse 7. /build/src/Parsers/IAST.cpp:108: DB::IAST::checkSize(unsigned long) const @ 0x000000001f3fd1ec in /usr/bin/clickhouse 8. /build/src/Interpreters/QueryNormalizer.cpp:139: DB::QueryNormalizer::visit(DB::ASTIdentifier&, std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001d0198f2 in /usr/bin/clickhouse 9. /build/src/Interpreters/QueryNormalizer.cpp:286: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001d019e1e in /usr/bin/clickhouse 10. /build/src/Interpreters/QueryNormalizer.cpp:240: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x000000001d01aa5d in /usr/bin/clickhouse 11. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001d01a167 in /usr/bin/clickhouse 12. /build/src/Interpreters/QueryNormalizer.cpp:256: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x000000001d01ac6a in /usr/bin/clickhouse 13. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001d01a167 in /usr/bin/clickhouse 14. /build/src/Interpreters/QueryNormalizer.cpp:177: DB::QueryNormalizer::visit(DB::ASTSelectQuery&, std::shared_ptr const&, DB::QueryNormalizer::Data&) @ 0x000000001d01a4fa in /usr/bin/clickhouse 15. /build/src/Interpreters/QueryNormalizer.cpp:290: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001d019eda in /usr/bin/clickhouse 16. /build/src/Interpreters/QueryNormalizer.h:77: DB::QueryNormalizer::visit(std::shared_ptr&) @ 0x000000001cfaddc0 in /usr/bin/clickhouse 17. /build/src/Interpreters/TreeRewriter.cpp:1438: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x000000001cf9f7cd in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d467 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 2024.09.24 01:29:43.780649 [ 22252 ] {53911dc8-4a04-4134-a4fc-6676e7f47f7f} executeQuery: Code: 420. DB::Exception: Updated column `value` affects MATERIALIZED column `key`, which is a key column. Cannot UPDATE it. (CANNOT_UPDATE_COLUMN) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:52516) (comment: 00652_mutations_alter_update.sh) (in query: ALTER TABLE materialized_key UPDATE value = 1 WHERE 1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:439: DB::validateUpdateColumns(DB::MutationsInterpreter::Source const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator> const&, std::unordered_map>, std::hash, std::equal_to, std::allocator>>>> const&) @ 0x000000001cc6cd34 in /usr/bin/clickhouse 7. /build/src/Interpreters/MutationsInterpreter.cpp:539: DB::MutationsInterpreter::prepare(bool) @ 0x000000001cc68266 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:365: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr, DB::MutationCommands, std::vector>, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc67441 in /usr/bin/clickhouse 9. /build/src/Interpreters/MutationsInterpreter.cpp:320: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr, DB::MutationCommands, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc66c40 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d5ef2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 21. ? @ 0x00007f1d281b3ac3 in ? 22. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:29:43.782460 [ 22252 ] {53911dc8-4a04-4134-a4fc-6676e7f47f7f} TCPHandler: Code: 420. DB::Exception: Updated column `value` affects MATERIALIZED column `key`, which is a key column. Cannot UPDATE it. (CANNOT_UPDATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:439: DB::validateUpdateColumns(DB::MutationsInterpreter::Source const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator> const&, std::unordered_map>, std::hash, std::equal_to, std::allocator>>>> const&) @ 0x000000001cc6cd34 in /usr/bin/clickhouse 7. /build/src/Interpreters/MutationsInterpreter.cpp:539: DB::MutationsInterpreter::prepare(bool) @ 0x000000001cc68266 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:365: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr, DB::MutationCommands, std::vector>, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc67441 in /usr/bin/clickhouse 9. /build/src/Interpreters/MutationsInterpreter.cpp:320: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr, DB::MutationCommands, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc66c40 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d5ef2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 21. ? @ 0x00007f1d281b3ac3 in ? 22. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:29:46.397347 [ 22252 ] {0dad122b-9c33-4c41-9f1c-2556d961fa98} executeQuery: Code: 42. DB::Exception: Array data type family must have exactly one argument - type of elements: While processing CAST(0, 'Array'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:52598) (comment: 00540_bad_data_types.sh) (in query: SELECT CAST(0 AS Array)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [73]) @ 0x000000000b65357e in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeArray.cpp:66: DB::create(std::shared_ptr const&) @ 0x000000001b8a8bb3 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a865d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a861d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x000000001b8a85dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x000000001b8a8585 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x000000001b8c183e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x000000001b8c16fd in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x000000001b8c0503 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001b8bfc07 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x000000001b8bf848 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x000000001b8bd51d in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b78e2af in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefe15 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:29:46.399069 [ 22252 ] {0dad122b-9c33-4c41-9f1c-2556d961fa98} TCPHandler: Code: 42. DB::Exception: Array data type family must have exactly one argument - type of elements: While processing CAST(0, 'Array'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [73]) @ 0x000000000b65357e in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeArray.cpp:66: DB::create(std::shared_ptr const&) @ 0x000000001b8a8bb3 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a865d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a861d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x000000001b8a85dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x000000001b8a8585 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x000000001b8c183e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x000000001b8c16fd in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x000000001b8c0503 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001b8bfc07 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x000000001b8bf848 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x000000001b8bd51d in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b78e2af in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefe15 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:29:48.292708 [ 22252 ] {e1529e3f-3250-4a8a-b04c-fa66a7c87c3a} executeQuery: Code: 42. DB::Exception: Data type AggregateFunction requires parameters: version(optionally), name of aggregate function and list of data types for arguments: While processing CAST(0, 'AggregateFunction'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:52646) (comment: 00540_bad_data_types.sh) (in query: SELECT CAST(0 AS AggregateFunction)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [134]) @ 0x000000001b8a70de in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeAggregateFunction.cpp:175: DB::create(std::shared_ptr const&) @ 0x000000001b8a51a0 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a865d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a861d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x000000001b8a85dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x000000001b8a8585 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x000000001b8c183e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x000000001b8c16fd in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x000000001b8c0503 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001b8bfc07 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x000000001b8bf848 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x000000001b8bd51d in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b78e2af in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefe15 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:29:48.294735 [ 22252 ] {e1529e3f-3250-4a8a-b04c-fa66a7c87c3a} TCPHandler: Code: 42. DB::Exception: Data type AggregateFunction requires parameters: version(optionally), name of aggregate function and list of data types for arguments: While processing CAST(0, 'AggregateFunction'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [134]) @ 0x000000001b8a70de in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeAggregateFunction.cpp:175: DB::create(std::shared_ptr const&) @ 0x000000001b8a51a0 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a865d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a861d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x000000001b8a85dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x000000001b8a8585 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x000000001b8c183e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x000000001b8c16fd in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x000000001b8c0503 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001b8bfc07 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x000000001b8bf848 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x000000001b8bd51d in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b78e2af in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefe15 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:29:50.454098 [ 22252 ] {9549c9fc-daa1-4c4d-9f20-6a034b027aae} executeQuery: Code: 42. DB::Exception: Nullable data type family must have exactly one argument - nested type: While processing CAST(0, 'Nullable'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:52704) (comment: 00540_bad_data_types.sh) (in query: SELECT CAST(0 AS Nullable)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [71]) @ 0x000000001855e3de in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeNullable.cpp:68: DB::create(std::shared_ptr const&) @ 0x000000001b996853 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a865d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a861d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x000000001b8a85dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x000000001b8a8585 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x000000001b8c183e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x000000001b8c16fd in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x000000001b8c0503 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001b8bfc07 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x000000001b8bf848 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x000000001b8bd51d in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b78e2af in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefe15 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:29:50.455881 [ 22252 ] {9549c9fc-daa1-4c4d-9f20-6a034b027aae} TCPHandler: Code: 42. DB::Exception: Nullable data type family must have exactly one argument - nested type: While processing CAST(0, 'Nullable'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [71]) @ 0x000000001855e3de in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeNullable.cpp:68: DB::create(std::shared_ptr const&) @ 0x000000001b996853 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a865d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a861d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x000000001b8a85dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x000000001b8a8585 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x000000001b8c183e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x000000001b8c16fd in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x000000001b8c0503 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001b8bfc07 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x000000001b8bf848 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x000000001b8bd51d in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b78e2af in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefe15 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:29:52.378045 [ 8835 ] {ee18a60a-e04e-4d49-879b-e65a4e933bc5} executeQuery: Code: 92. DB::Exception: Tuple cannot be empty: While processing CAST(0, 'Tuple'). (EMPTY_DATA_PASSED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:46048) (comment: 00540_bad_data_types.sh) (in query: SELECT CAST(0 AS Tuple)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [22]) @ 0x000000000b24179e in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeTuple.cpp:339: DB::create(std::shared_ptr const&) @ 0x000000001b9a1a3b in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a865d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a861d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x000000001b8a85dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x000000001b8a8585 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x000000001b8c183e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x000000001b8c16fd in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x000000001b8c0503 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001b8bfc07 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x000000001b8bf848 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x000000001b8bd51d in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b78e2af in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefe15 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:29:52.379614 [ 8835 ] {ee18a60a-e04e-4d49-879b-e65a4e933bc5} TCPHandler: Code: 92. DB::Exception: Tuple cannot be empty: While processing CAST(0, 'Tuple'). (EMPTY_DATA_PASSED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [22]) @ 0x000000000b24179e in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeTuple.cpp:339: DB::create(std::shared_ptr const&) @ 0x000000001b9a1a3b in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a865d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a861d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x000000001b8a85dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x000000001b8a8585 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x000000001b8c183e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x000000001b8c16fd in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x000000001b8c0503 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001b8bfc07 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x000000001b8bf848 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x000000001b8bd51d in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b78e2af in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefe15 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:29:52.947236 [ 816 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:29:52.947845 [ 816 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:29:53.025087 [ 816 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:29:54.630717 [ 8853 ] {9ed31f03-63ec-4336-8c95-2d7655f62b84} executeQuery: Code: 42. DB::Exception: FixedString data type family must have exactly one argument - size in bytes: While processing CAST(0, 'FixedString'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:46102) (comment: 00540_bad_data_types.sh) (in query: SELECT CAST(0 AS FixedString)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [76]) @ 0x000000001395efbe in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeFixedString.cpp:50: DB::create(std::shared_ptr const&) @ 0x000000001b8c8c93 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a865d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a861d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x000000001b8a85dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x000000001b8a8585 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x000000001b8c183e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x000000001b8c16fd in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x000000001b8c0503 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001b8bfc07 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x000000001b8bf848 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x000000001b8bd51d in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b78e2af in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefe15 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:29:54.632535 [ 8853 ] {9ed31f03-63ec-4336-8c95-2d7655f62b84} TCPHandler: Code: 42. DB::Exception: FixedString data type family must have exactly one argument - size in bytes: While processing CAST(0, 'FixedString'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [76]) @ 0x000000001395efbe in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeFixedString.cpp:50: DB::create(std::shared_ptr const&) @ 0x000000001b8c8c93 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a865d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a861d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x000000001b8a85dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x000000001b8a8585 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x000000001b8c183e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x000000001b8c16fd in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x000000001b8c0503 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001b8bfc07 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x000000001b8bf848 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x000000001b8bd51d in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b78e2af in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefe15 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:29:56.752955 [ 8853 ] {fee9b9eb-2449-43ff-8d7f-b1ea93060177} executeQuery: Code: 92. DB::Exception: Enum data type cannot be empty: While processing CAST(0, 'Enum'). (EMPTY_DATA_PASSED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:46138) (comment: 00540_bad_data_types.sh) (in query: SELECT CAST(0 AS Enum)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [31]) @ 0x000000000d57371e in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeEnum.cpp:312: DB::create(std::shared_ptr const&) @ 0x000000001b8b5658 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a865d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a861d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x000000001b8a85dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x000000001b8a8585 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x000000001b8c183e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x000000001b8c16fd in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x000000001b8c0503 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001b8bfc07 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x000000001b8bf848 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x000000001b8bd51d in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b78e2af in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefe15 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:29:56.754937 [ 8853 ] {fee9b9eb-2449-43ff-8d7f-b1ea93060177} TCPHandler: Code: 92. DB::Exception: Enum data type cannot be empty: While processing CAST(0, 'Enum'). (EMPTY_DATA_PASSED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [31]) @ 0x000000000d57371e in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeEnum.cpp:312: DB::create(std::shared_ptr const&) @ 0x000000001b8b5658 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a865d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a861d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x000000001b8a85dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x000000001b8a8585 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x000000001b8c183e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x000000001b8c16fd in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x000000001b8c0503 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001b8bfc07 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x000000001b8bf848 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x000000001b8bd51d in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b78e2af in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefe15 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 2024.09.24 01:30:00.905869 [ 22252 ] {1d8bb7dd-cab6-450f-82b9-dc4d8cb339eb} executeQuery: Code: 59. DB::Exception: Invalid type for filter in WHERE: String. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:46246) (comment: 00540_bad_data_types.sh) (in query: SELECT * FROM system.one WHERE toString(dummy)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1263: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb56a8 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1891: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba8d6 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:30:00.907694 [ 22252 ] {1d8bb7dd-cab6-450f-82b9-dc4d8cb339eb} TCPHandler: Code: 59. DB::Exception: Invalid type for filter in WHERE: String. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1263: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb56a8 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1891: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba8d6 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:30:02.918691 [ 6138 ] {5d0b52c3-1de6-4f89-aafb-c6f4ab2b255d} executeQuery: Code: 59. DB::Exception: Invalid type for filter in WHERE: String. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:60174) (comment: 00540_bad_data_types.sh) (in query: SELECT * FROM system.one WHERE toString(1)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1263: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb56a8 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1891: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba8d6 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:30:02.921143 [ 6138 ] {5d0b52c3-1de6-4f89-aafb-c6f4ab2b255d} TCPHandler: Code: 59. DB::Exception: Invalid type for filter in WHERE: String. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1263: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb56a8 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1891: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba8d6 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:30:04.990201 [ 22251 ] {80b8b734-102e-49eb-ae62-f493d79a2fa1} executeQuery: Code: 59. DB::Exception: Illegal type UInt16 of column for constant filter. Must be UInt8 or Nullable(UInt8). (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:60216) (comment: 00540_bad_data_types.sh) (in query: SELECT * FROM system.one WHERE 256), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:38: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x000000001d577ef3 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1912: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbac48 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:30:04.991874 [ 22251 ] {80b8b734-102e-49eb-ae62-f493d79a2fa1} TCPHandler: Code: 59. DB::Exception: Illegal type UInt16 of column for constant filter. Must be UInt8 or Nullable(UInt8). (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:38: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x000000001d577ef3 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1912: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbac48 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:30:06.916395 [ 1123 ] {6889a75d-abd5-49da-be5d-40b1cc9b450e} executeQuery: Code: 59. DB::Exception: Illegal type Int8 of column for constant filter. Must be UInt8 or Nullable(UInt8). (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:60246) (comment: 00540_bad_data_types.sh) (in query: SELECT * FROM system.one WHERE -1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:38: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x000000001d577ef3 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1912: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbac48 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:30:06.918467 [ 1123 ] {6889a75d-abd5-49da-be5d-40b1cc9b450e} TCPHandler: Code: 59. DB::Exception: Illegal type Int8 of column for constant filter. Must be UInt8 or Nullable(UInt8). (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:38: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x000000001d577ef3 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1912: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbac48 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:30:08.176829 [ 774 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:30:08.177389 [ 774 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:30:08.251334 [ 774 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:30:08.771239 [ 12003 ] {2f37e87f-ab3e-4715-bef9-33b4921948d1} executeQuery: Code: 59. DB::Exception: Illegal type Nullable(UInt16) of column for constant filter. Must be UInt8 or Nullable(UInt8). (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:60304) (comment: 00540_bad_data_types.sh) (in query: SELECT * FROM system.one WHERE CAST(256 AS Nullable(UInt16))), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:38: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x000000001d577ef3 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1912: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbac48 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:30:08.772975 [ 12003 ] {2f37e87f-ab3e-4715-bef9-33b4921948d1} TCPHandler: Code: 59. DB::Exception: Illegal type Nullable(UInt16) of column for constant filter. Must be UInt8 or Nullable(UInt8). (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:38: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x000000001d577ef3 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1912: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbac48 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:30:23.404560 [ 826 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:30:23.405171 [ 826 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:30:23.492251 [ 826 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:30:38.655488 [ 743 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:30:38.656137 [ 743 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:30:38.745234 [ 743 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:30:43.634690 [ 670 ] {51582d05-f325-4b39-a207-a70a1261dc2c} executeQuery: Code: 153. DB::Exception: Division by zero: While processing intDiv(1, 3600 - timeZoneOffset(CAST('2024-05-06 12:00:00', 'DateTime'))). (ILLEGAL_DIVISION) (version 23.8.16.41.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:56750) (comment: 00265_http_content_type_format_timezone.sh) (in query: SELECT intDiv(1, (3600-timeZoneOffset('2024-05-06 12:00:00'::DateTime))) SETTINGS session_timezone = 'Europe/Lisbon' ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25975e in /usr/bin/clickhouse 6. /build/src/Functions/DivisionUtils.h:26: void DB::throwIfDivisionLeadsToFPE(signed char, long) @ 0x000000000e46f916 in /usr/bin/clickhouse 7. /build/src/Functions/DivisionUtils.h:59: auto DB::checkedDivision(signed char, long) @ 0x000000000f1f1201 in /usr/bin/clickhouse 8. /build/src/Functions/DivisionUtils.h:83: signed char DB::DivideIntegralImpl::apply(char8_t, long) @ 0x000000000f1f11c1 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionBinaryArithmetic.h:255: DB::impl_::BinaryOperation, signed char>::process(char8_t, long) @ 0x000000000f1f0f21 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionBinaryArithmetic.h:1961: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000f3c57da in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:2131: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x000000000f3c55bb in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:791: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000f3c1404 in /usr/bin/clickhouse 13. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000f3c0c6d in /usr/bin/clickhouse 14. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000f3c099d in /usr/bin/clickhouse 15. /build/src/Functions/FunctionBinaryArithmetic.h:789: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000f3c03f3 in /usr/bin/clickhouse 16. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000f3bfc27 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000f3bfbbd in /usr/bin/clickhouse 18. /build/src/Functions/FunctionBinaryArithmetic.h:787: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000000f3beff1 in /usr/bin/clickhouse 19. /build/src/Functions/FunctionBinaryArithmetic.h:2098: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000f3becbf in /usr/bin/clickhouse 20. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f3bc856 in /usr/bin/clickhouse 21. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f3bb22c in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 23. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 2024.09.24 01:30:43.636995 [ 670 ] {51582d05-f325-4b39-a207-a70a1261dc2c} DynamicQueryHandler: Code: 153. DB::Exception: Division by zero: While processing intDiv(1, 3600 - timeZoneOffset(CAST('2024-05-06 12:00:00', 'DateTime'))). (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25975e in /usr/bin/clickhouse 6. /build/src/Functions/DivisionUtils.h:26: void DB::throwIfDivisionLeadsToFPE(signed char, long) @ 0x000000000e46f916 in /usr/bin/clickhouse 7. /build/src/Functions/DivisionUtils.h:59: auto DB::checkedDivision(signed char, long) @ 0x000000000f1f1201 in /usr/bin/clickhouse 8. /build/src/Functions/DivisionUtils.h:83: signed char DB::DivideIntegralImpl::apply(char8_t, long) @ 0x000000000f1f11c1 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionBinaryArithmetic.h:255: DB::impl_::BinaryOperation, signed char>::process(char8_t, long) @ 0x000000000f1f0f21 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionBinaryArithmetic.h:1961: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000f3c57da in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:2131: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x000000000f3c55bb in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:791: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000f3c1404 in /usr/bin/clickhouse 13. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000f3c0c6d in /usr/bin/clickhouse 14. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000f3c099d in /usr/bin/clickhouse 15. /build/src/Functions/FunctionBinaryArithmetic.h:789: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000f3c03f3 in /usr/bin/clickhouse 16. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000f3bfc27 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000f3bfbbd in /usr/bin/clickhouse 18. /build/src/Functions/FunctionBinaryArithmetic.h:787: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000000f3beff1 in /usr/bin/clickhouse 19. /build/src/Functions/FunctionBinaryArithmetic.h:2098: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000f3becbf in /usr/bin/clickhouse 20. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f3bc856 in /usr/bin/clickhouse 21. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f3bb22c in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 23. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:30:49.954384 [ 2329 ] {a161108d-a785-4bc8-b7a4-e3643814f3ab} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(plus(1, dummy) :: 2) -> throwIf(plus(1, dummy)) UInt8 : 0': While processing (SELECT throwIf(1 + dummy)) AS _subquery1316. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36470) (comment: 00205_scalar_subqueries.sql) (in query: -- SELECT (SELECT uniqState('')); SELECT ( SELECT throwIf(1 + dummy) );), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000012603763 in /usr/bin/clickhouse 7. /build/src/Functions/throwIf.cpp:105: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012602258 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 2024.09.24 01:30:49.955469 [ 2329 ] {a161108d-a785-4bc8-b7a4-e3643814f3ab} TCPHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(plus(1, dummy) :: 2) -> throwIf(plus(1, dummy)) UInt8 : 0': While processing (SELECT throwIf(1 + dummy)) AS _subquery1316. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000012603763 in /usr/bin/clickhouse 7. /build/src/Functions/throwIf.cpp:105: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012602258 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 2024.09.24 01:30:50.139873 [ 2329 ] {75b11407-90f6-4d28-af8f-e85c0922c85b} executeQuery: Code: 125. DB::Exception: Scalar subquery returned empty result of type Tuple(UInt8, UInt8) which cannot be Nullable: While processing (SELECT 1, 2 WHERE 0) AS _subquery1318. (INCORRECT_RESULT_OF_SCALAR_SUBQUERY) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36470) (comment: 00205_scalar_subqueries.sql) (in query: -- But tuple and array can't be inside nullable SELECT (SELECT 1, 2 WHERE 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:204: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc90121 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8dec5 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:465: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001cfa05e8 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d542 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:30:50.141096 [ 2329 ] {75b11407-90f6-4d28-af8f-e85c0922c85b} TCPHandler: Code: 125. DB::Exception: Scalar subquery returned empty result of type Tuple(UInt8, UInt8) which cannot be Nullable: While processing (SELECT 1, 2 WHERE 0) AS _subquery1318. (INCORRECT_RESULT_OF_SCALAR_SUBQUERY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:204: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc90121 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8dec5 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:465: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001cfa05e8 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d542 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:30:50.157174 [ 2329 ] {49f8e94f-289b-43b2-a616-ddd251ce6074} executeQuery: Code: 125. DB::Exception: Scalar subquery returned empty result of type Array(UInt8) which cannot be Nullable: While processing (SELECT [1] WHERE 0) AS _subquery1319. (INCORRECT_RESULT_OF_SCALAR_SUBQUERY) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36470) (comment: 00205_scalar_subqueries.sql) (in query: SELECT (SELECT [1] WHERE 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:204: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc90121 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8dec5 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:465: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001cfa05e8 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d542 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:30:50.158068 [ 2329 ] {49f8e94f-289b-43b2-a616-ddd251ce6074} TCPHandler: Code: 125. DB::Exception: Scalar subquery returned empty result of type Array(UInt8) which cannot be Nullable: While processing (SELECT [1] WHERE 0) AS _subquery1319. (INCORRECT_RESULT_OF_SCALAR_SUBQUERY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:204: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc90121 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8dec5 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:465: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001cfa05e8 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d542 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:30:50.386740 [ 2329 ] {151bf16c-ce18-4734-982b-2b928fb97c4e} executeQuery: Code: 125. DB::Exception: Scalar subquery returned more than one row: While processing (SELECT number FROM numbers(2)) AS _subquery1322. (INCORRECT_RESULT_OF_SCALAR_SUBQUERY) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36470) (comment: 00205_scalar_subqueries.sql) (in query: -- Several rows SELECT (SELECT number FROM numbers(2));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [43]) @ 0x000000000b1fb6be in /usr/bin/clickhouse 6. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:220: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9049a in /usr/bin/clickhouse 7. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8dec5 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:465: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001cfa05e8 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d542 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:30:50.388017 [ 2329 ] {151bf16c-ce18-4734-982b-2b928fb97c4e} TCPHandler: Code: 125. DB::Exception: Scalar subquery returned more than one row: While processing (SELECT number FROM numbers(2)) AS _subquery1322. (INCORRECT_RESULT_OF_SCALAR_SUBQUERY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [43]) @ 0x000000000b1fb6be in /usr/bin/clickhouse 6. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:220: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9049a in /usr/bin/clickhouse 7. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8f081 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8e1e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3c1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8e466 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8e3ce in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8e16a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8dec5 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:465: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001cfa05e8 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d542 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 01:30:53.898529 [ 801 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:30:53.899164 [ 801 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:30:53.972784 [ 801 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:31:09.139808 [ 815 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:31:09.140407 [ 815 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:31:09.196263 [ 22254 ] {1ab8f94b-55ff-45de-aa37-55c3760d73e8} executeQuery: Code: 186. DB::Exception: Unsupported collation locale: qq. (UNSUPPORTED_COLLATION_LOCALE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:45850) (comment: 00105_shard_collations.sql) (in query: --- Trash locales SELECT '' as x ORDER BY x COLLATE 'qq';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Columns/Collator.cpp:99: Collator::Collator(String const&) @ 0x000000001d1ea527 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: Collator* std::construct_at[abi:v15000](Collator*, String&) @ 0x000000001c8dd626 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, Collator*, String&) @ 0x000000001c8dd3e1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&) @ 0x000000001c8dd0e7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, void>(std::allocator const&, String&) @ 0x000000001c8dcf77 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&) @ 0x000000001c8dcac6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1120: DB::InterpreterSelectQuery::getSortDescription(DB::ASTSelectQuery const&, std::shared_ptr const&) @ 0x000000001cab85ff in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2879: DB::InterpreterSelectQuery::executeOrder(DB::QueryPlan&, std::shared_ptr) @ 0x000000001cabf562 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:1817: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab67c7 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:31:09.197392 [ 22254 ] {1ab8f94b-55ff-45de-aa37-55c3760d73e8} TCPHandler: Code: 186. DB::Exception: Unsupported collation locale: qq. (UNSUPPORTED_COLLATION_LOCALE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Columns/Collator.cpp:99: Collator::Collator(String const&) @ 0x000000001d1ea527 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: Collator* std::construct_at[abi:v15000](Collator*, String&) @ 0x000000001c8dd626 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, Collator*, String&) @ 0x000000001c8dd3e1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&) @ 0x000000001c8dd0e7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, void>(std::allocator const&, String&) @ 0x000000001c8dcf77 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&) @ 0x000000001c8dcac6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1120: DB::InterpreterSelectQuery::getSortDescription(DB::ASTSelectQuery const&, std::shared_ptr const&) @ 0x000000001cab85ff in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2879: DB::InterpreterSelectQuery::executeOrder(DB::QueryPlan&, std::shared_ptr) @ 0x000000001cabf562 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:1817: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab67c7 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:31:09.208376 [ 22254 ] {4aadfc8f-20a4-4d0e-b206-9dbaffd69d0b} executeQuery: Code: 186. DB::Exception: Unsupported collation locale: qwe. (UNSUPPORTED_COLLATION_LOCALE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:45850) (comment: 00105_shard_collations.sql) (in query: SELECT '' as x ORDER BY x COLLATE 'qwe';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Columns/Collator.cpp:99: Collator::Collator(String const&) @ 0x000000001d1ea527 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: Collator* std::construct_at[abi:v15000](Collator*, String&) @ 0x000000001c8dd626 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, Collator*, String&) @ 0x000000001c8dd3e1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&) @ 0x000000001c8dd0e7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, void>(std::allocator const&, String&) @ 0x000000001c8dcf77 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&) @ 0x000000001c8dcac6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1120: DB::InterpreterSelectQuery::getSortDescription(DB::ASTSelectQuery const&, std::shared_ptr const&) @ 0x000000001cab85ff in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2879: DB::InterpreterSelectQuery::executeOrder(DB::QueryPlan&, std::shared_ptr) @ 0x000000001cabf562 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:1817: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab67c7 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:31:09.209278 [ 22254 ] {4aadfc8f-20a4-4d0e-b206-9dbaffd69d0b} TCPHandler: Code: 186. DB::Exception: Unsupported collation locale: qwe. (UNSUPPORTED_COLLATION_LOCALE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Columns/Collator.cpp:99: Collator::Collator(String const&) @ 0x000000001d1ea527 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: Collator* std::construct_at[abi:v15000](Collator*, String&) @ 0x000000001c8dd626 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, Collator*, String&) @ 0x000000001c8dd3e1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&) @ 0x000000001c8dd0e7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, void>(std::allocator const&, String&) @ 0x000000001c8dcf77 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&) @ 0x000000001c8dcac6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1120: DB::InterpreterSelectQuery::getSortDescription(DB::ASTSelectQuery const&, std::shared_ptr const&) @ 0x000000001cab85ff in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2879: DB::InterpreterSelectQuery::executeOrder(DB::QueryPlan&, std::shared_ptr) @ 0x000000001cabf562 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:1817: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab67c7 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:31:09.214537 [ 815 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:31:09.219052 [ 22254 ] {c123f074-777f-4734-a1fb-f65816d00ce6} executeQuery: Code: 186. DB::Exception: Unsupported collation locale: some_non_existing_locale. (UNSUPPORTED_COLLATION_LOCALE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:45850) (comment: 00105_shard_collations.sql) (in query: SELECT '' as x ORDER BY x COLLATE 'some_non_existing_locale';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Columns/Collator.cpp:99: Collator::Collator(String const&) @ 0x000000001d1ea527 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: Collator* std::construct_at[abi:v15000](Collator*, String&) @ 0x000000001c8dd626 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, Collator*, String&) @ 0x000000001c8dd3e1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&) @ 0x000000001c8dd0e7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, void>(std::allocator const&, String&) @ 0x000000001c8dcf77 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&) @ 0x000000001c8dcac6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1120: DB::InterpreterSelectQuery::getSortDescription(DB::ASTSelectQuery const&, std::shared_ptr const&) @ 0x000000001cab85ff in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2879: DB::InterpreterSelectQuery::executeOrder(DB::QueryPlan&, std::shared_ptr) @ 0x000000001cabf562 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:1817: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab67c7 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:31:09.219954 [ 22254 ] {c123f074-777f-4734-a1fb-f65816d00ce6} TCPHandler: Code: 186. DB::Exception: Unsupported collation locale: some_non_existing_locale. (UNSUPPORTED_COLLATION_LOCALE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Columns/Collator.cpp:99: Collator::Collator(String const&) @ 0x000000001d1ea527 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: Collator* std::construct_at[abi:v15000](Collator*, String&) @ 0x000000001c8dd626 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, Collator*, String&) @ 0x000000001c8dd3e1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&) @ 0x000000001c8dd0e7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, void>(std::allocator const&, String&) @ 0x000000001c8dcf77 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&) @ 0x000000001c8dcac6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1120: DB::InterpreterSelectQuery::getSortDescription(DB::ASTSelectQuery const&, std::shared_ptr const&) @ 0x000000001cab85ff in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2879: DB::InterpreterSelectQuery::executeOrder(DB::QueryPlan&, std::shared_ptr) @ 0x000000001cabf562 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:1817: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab67c7 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:31:09.230125 [ 22254 ] {fde131e2-d4bb-4a1a-ba0f-3741d92cac2e} executeQuery: Code: 186. DB::Exception: Unsupported collation locale: ру. (UNSUPPORTED_COLLATION_LOCALE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:45850) (comment: 00105_shard_collations.sql) (in query: SELECT '' as x ORDER BY x COLLATE 'ру';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Columns/Collator.cpp:99: Collator::Collator(String const&) @ 0x000000001d1ea527 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: Collator* std::construct_at[abi:v15000](Collator*, String&) @ 0x000000001c8dd626 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, Collator*, String&) @ 0x000000001c8dd3e1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&) @ 0x000000001c8dd0e7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, void>(std::allocator const&, String&) @ 0x000000001c8dcf77 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&) @ 0x000000001c8dcac6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1120: DB::InterpreterSelectQuery::getSortDescription(DB::ASTSelectQuery const&, std::shared_ptr const&) @ 0x000000001cab85ff in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2879: DB::InterpreterSelectQuery::executeOrder(DB::QueryPlan&, std::shared_ptr) @ 0x000000001cabf562 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:1817: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab67c7 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:31:09.231367 [ 22254 ] {fde131e2-d4bb-4a1a-ba0f-3741d92cac2e} TCPHandler: Code: 186. DB::Exception: Unsupported collation locale: ру. (UNSUPPORTED_COLLATION_LOCALE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Columns/Collator.cpp:99: Collator::Collator(String const&) @ 0x000000001d1ea527 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: Collator* std::construct_at[abi:v15000](Collator*, String&) @ 0x000000001c8dd626 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, Collator*, String&) @ 0x000000001c8dd3e1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&) @ 0x000000001c8dd0e7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, void>(std::allocator const&, String&) @ 0x000000001c8dcf77 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&) @ 0x000000001c8dcac6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1120: DB::InterpreterSelectQuery::getSortDescription(DB::ASTSelectQuery const&, std::shared_ptr const&) @ 0x000000001cab85ff in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2879: DB::InterpreterSelectQuery::executeOrder(DB::QueryPlan&, std::shared_ptr) @ 0x000000001cabf562 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:1817: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab67c7 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:31:24.390404 [ 720 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:31:24.391085 [ 720 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:31:24.452442 [ 720 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:31:39.621357 [ 741 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:31:39.621846 [ 741 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:31:39.694764 [ 741 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:31:53.313458 [ 22256 ] {62d0611d-3055-47ba-b2ab-cec12421702c} executeQuery: Code: 388. DB::Exception: Cannot OPTIMIZE table: There are no parts inside partition. Cannot select parts for optimization. (CANNOT_ASSIGN_OPTIMIZE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:45712) (comment: 00029_test_zookeeper_optimize_exception.sh) (in query: OPTIMIZE TABLE test_optimize_exception PARTITION 201710), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1565: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001e37270a in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x000000001ca94125 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:31:53.315014 [ 22256 ] {62d0611d-3055-47ba-b2ab-cec12421702c} TCPHandler: Code: 388. DB::Exception: Cannot OPTIMIZE table: There are no parts inside partition. Cannot select parts for optimization. (CANNOT_ASSIGN_OPTIMIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1565: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001e37270a in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x000000001ca94125 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:31:54.860966 [ 731 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:31:54.861596 [ 731 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:31:54.933711 [ 731 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:31:55.335231 [ 22256 ] {3f14f10b-84d0-4b32-955a-fc8fd4949ace} executeQuery: Code: 388. DB::Exception: Cannot select parts for optimization: there are no parts in partition 201710. (CANNOT_ASSIGN_OPTIMIZE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:45734) (comment: 00029_test_zookeeper_optimize_exception.sh) (in query: OPTIMIZE TABLE test_optimize_exception_replicated PARTITION 201710), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:5443: auto DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr)::$_0::operator()(FormatStringHelperImpl::type>, String const&) const @ 0x000000001d8d4021 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:5470: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr)::$_1::operator()(String const&) const @ 0x000000001d877b9f in /usr/bin/clickhouse 8. /build/src/Storages/StorageReplicatedMergeTree.cpp:5566: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001d8777bf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x000000001ca94125 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:31:55.337841 [ 22256 ] {3f14f10b-84d0-4b32-955a-fc8fd4949ace} TCPHandler: Code: 388. DB::Exception: Cannot select parts for optimization: there are no parts in partition 201710. (CANNOT_ASSIGN_OPTIMIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:5443: auto DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr)::$_0::operator()(FormatStringHelperImpl::type>, String const&) const @ 0x000000001d8d4021 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:5470: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr)::$_1::operator()(String const&) const @ 0x000000001d877b9f in /usr/bin/clickhouse 8. /build/src/Storages/StorageReplicatedMergeTree.cpp:5566: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001d8777bf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x000000001ca94125 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:32:03.358854 [ 940 ] {} test_5qjz0w68.dst_r2 (9add064d-81dd-44e0-9db4-8336b5938d6c): Part 1_23_23_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2024.09.24 01:32:10.086952 [ 811 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:32:10.087538 [ 811 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:32:10.161935 [ 811 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:32:25.312386 [ 775 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:32:25.313349 [ 775 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:32:25.394818 [ 775 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:32:40.606919 [ 825 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:32:40.607412 [ 825 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:32:40.668446 [ 825 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:32:55.921165 [ 718 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:32:55.921619 [ 718 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:32:56.001145 [ 718 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:33:11.233602 [ 720 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:33:11.234117 [ 720 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:33:11.301998 [ 720 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:33:26.511127 [ 749 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:33:26.511753 [ 749 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:33:26.591324 [ 749 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:33:41.794091 [ 747 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:33:41.794564 [ 747 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:33:41.854293 [ 747 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:33:57.065566 [ 821 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:33:57.066188 [ 821 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:33:57.138201 [ 821 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:34:12.320486 [ 738 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:34:12.321009 [ 738 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:34:12.394338 [ 738 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:34:27.600255 [ 814 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:34:27.600853 [ 814 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:34:27.677542 [ 814 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:34:42.896763 [ 773 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:34:42.897271 [ 773 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:34:42.970037 [ 773 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:34:58.179690 [ 795 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:34:58.180333 [ 795 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:34:58.240962 [ 795 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:35:13.476992 [ 804 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:35:13.477640 [ 804 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:35:13.563261 [ 804 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:35:28.754134 [ 720 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:35:28.754611 [ 720 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:35:28.828704 [ 720 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:35:44.000651 [ 797 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:35:44.001340 [ 797 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:35:44.073013 [ 797 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:35:59.268913 [ 815 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:35:59.269422 [ 815 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:35:59.330902 [ 815 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:36:14.542121 [ 832 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:36:14.542550 [ 832 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:36:14.605438 [ 832 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:36:29.833557 [ 753 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:36:29.834055 [ 753 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:36:29.893504 [ 753 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:36:45.101691 [ 734 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:36:45.102161 [ 734 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:36:45.174239 [ 734 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:37:00.353368 [ 717 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:37:00.354109 [ 717 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:37:00.418661 [ 717 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:37:15.619606 [ 787 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:37:15.620332 [ 787 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:37:15.684039 [ 787 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:37:30.910616 [ 730 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:37:30.911207 [ 730 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:37:30.986683 [ 730 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:37:46.180797 [ 840 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:37:46.181254 [ 840 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:37:46.242868 [ 840 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:38:01.479694 [ 745 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:38:01.480301 [ 745 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:38:01.559019 [ 745 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:38:16.782234 [ 778 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:38:16.782775 [ 778 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:38:16.843089 [ 778 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:38:22.589056 [ 34796 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:22.589795 [ 34341 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:22.590381 [ 34801 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:22.592929 [ 12042 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:22.604542 [ 34827 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:22.718620 [ 34827 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:22.739114 [ 34827 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:22.771059 [ 34827 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:22.805125 [ 34827 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:22.818688 [ 34796 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:22.820916 [ 34341 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:22.843382 [ 34796 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:22.863095 [ 34827 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:22.870890 [ 34796 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:22.874456 [ 34341 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:22.902554 [ 34827 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:22.915208 [ 34849 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:22.937939 [ 34827 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:22.956330 [ 34827 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:22.995572 [ 34827 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:22.999426 [ 6138 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:23.023162 [ 34827 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:23.049698 [ 6138 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:23.052990 [ 34827 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:23.069484 [ 34827 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:23.185987 [ 6138 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:23.199519 [ 34827 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:23.207687 [ 6138 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:23.226555 [ 34827 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:23.251269 [ 34827 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:23.253300 [ 6138 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:23.275193 [ 34827 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:23.291141 [ 34827 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:23.292326 [ 34849 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:23.294253 [ 6138 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:23.324885 [ 34827 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:23.336407 [ 34827 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:23.346720 [ 6138 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:23.347843 [ 34827 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:23.354952 [ 34827 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:23.359844 [ 34827 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:23.370385 [ 34827 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:23.384036 [ 34827 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:23.413049 [ 34827 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:23.434417 [ 34827 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:23.472947 [ 34827 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:23.481971 [ 34827 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:23.505218 [ 34827 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:23.549679 [ 34849 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:23.550984 [ 34827 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:23.567221 [ 6138 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:23.571278 [ 34849 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:23.597205 [ 34849 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:23.640997 [ 34849 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:23.678612 [ 34849 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:23.812886 [ 34849 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:23.819863 [ 34849 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:23.821113 [ 34796 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:23.971398 [ 34849 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:23.995273 [ 34849 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database test_evzzj7ay does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee2081 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc4869 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:265: DB::TCPHandler::runImpl() @ 0x000000001e6410b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:38:32.081871 [ 746 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:38:32.082675 [ 746 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:38:32.154416 [ 746 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:38:47.312753 [ 719 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:38:47.313352 [ 719 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:38:47.375607 [ 719 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:39:01.554796 [ 34849 ] {b44b8a58-5324-465c-9795-8bb255f4f160} executeQuery: Code: 36. DB::Exception: Invalid cache key hex: kek. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:60324) (comment: 02808_filesystem_cache_drop_query.sh) (in query: SYSTEM DROP FILESYSTEM CACHE '02808_filesystem_cache_drop_query_test_yufgts59' KEY kek;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Interpreters/Cache/FileCacheKey.cpp:38: DB::FileCacheKey::fromKeyString(String const&) @ 0x000000001d119b61 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:382: DB::InterpreterSystemQuery::execute() @ 0x000000001cbda44f in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:39:01.556344 [ 34849 ] {b44b8a58-5324-465c-9795-8bb255f4f160} TCPHandler: Code: 36. DB::Exception: Invalid cache key hex: kek. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Interpreters/Cache/FileCacheKey.cpp:38: DB::FileCacheKey::fromKeyString(String const&) @ 0x000000001d119b61 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:382: DB::InterpreterSystemQuery::execute() @ 0x000000001cbda44f in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:39:02.541948 [ 832 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:39:02.542587 [ 832 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:39:02.601648 [ 832 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:39:14.192754 [ 34849 ] {b2ddb37f-1607-4289-b2c7-648c57d52588} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(1 :: 0) -> throwIf(1) UInt8 : 2'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:49626) (comment: 02796_calculate_text_stack_trace.sql) (in query: SELECT 'Hello', throwIf(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000012603446 in /usr/bin/clickhouse 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000126021fd in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 2024.09.24 01:39:14.194012 [ 34849 ] {b2ddb37f-1607-4289-b2c7-648c57d52588} TCPHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(1 :: 0) -> throwIf(1) UInt8 : 2'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000012603446 in /usr/bin/clickhouse 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000126021fd in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 2024.09.24 01:39:16.912785 [ 34849 ] {a7737c9d-148a-4364-9fef-c33f521f3581} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(1 :: 0) -> throwIf(1) UInt8 : 2'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:49626) (comment: 02796_calculate_text_stack_trace.sql) (in query: SELECT 'World', throwIf(1);) 2024.09.24 01:39:16.913836 [ 34849 ] {a7737c9d-148a-4364-9fef-c33f521f3581} TCPHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(1 :: 0) -> throwIf(1) UInt8 : 2'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) 2024.09.24 01:39:17.740554 [ 739 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:39:17.741155 [ 739 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:39:17.822948 [ 739 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:39:32.969745 [ 811 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:39:32.970492 [ 811 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:39:33.033254 [ 811 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:39:47.507886 [ 22250 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f983e in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:751: DB::IAccessStorage::throwInvalidCredentials() @ 0x000000001b0f9671 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:535: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f939d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f91af in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b183f89 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x000000001b0f90fa in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb30cc in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf9049 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bdb5f in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5be87b in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:39:47.509286 [ 22250 ] {} DynamicQueryHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb34a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf9049 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bdb5f in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5be87b in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:39:47.514087 [ 22250 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f983e in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:751: DB::IAccessStorage::throwInvalidCredentials() @ 0x000000001b0f9671 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:535: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f939d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f91af in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b183f89 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x000000001b0f90fa in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb30cc in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf9049 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bdb5f in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5be87b in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:39:47.515292 [ 22250 ] {} DynamicQueryHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb34a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf9049 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bdb5f in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5be87b in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:39:47.659517 [ 34849 ] {0c87627d-1d73-4e15-acc3-0ec26bf99b61} executeQuery: Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=default&password=wrong. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED) (version 23.8.16.41.altinitystable (altinity build)) : While executing LineAsStringRowInputFormat: While executing URL. (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53914) (comment: 02725_url_support_virtual_column.sql) (in query: select _path, _file, s from url('http://127.0.0.1:8123/?query=select+1&user=default&password=wrong', LineAsString, 's String');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x0000000013cae444 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:418: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013ca266b in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:31: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013cae211 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:407: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x0000000013ca250b in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:386: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x0000000013ca2326 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.cpp:162: DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&, bool) @ 0x0000000017c66450 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.cpp:341: DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool, bool) @ 0x0000000017c6a250 in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.cpp:378: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x0000000017c68c20 in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.cpp:504: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x0000000017c6b256 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2189bc in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:105: DB::LineAsStringRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e8cef1b in /usr/bin/clickhouse 16. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f6dbe in /usr/bin/clickhouse 24. /build/src/Storages/StorageURL.cpp:401: DB::StorageURLSource::generate() @ 0x000000001da015fc in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 26. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 2024.09.24 01:39:47.665012 [ 34849 ] {0c87627d-1d73-4e15-acc3-0ec26bf99b61} TCPHandler: Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=default&password=wrong. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED) (version 23.8.16.41.altinitystable (altinity build)) : While executing LineAsStringRowInputFormat: While executing URL. (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x0000000013cae444 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:418: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013ca266b in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:31: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013cae211 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:407: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x0000000013ca250b in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:386: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x0000000013ca2326 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.cpp:162: DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&, bool) @ 0x0000000017c66450 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.cpp:341: DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool, bool) @ 0x0000000017c6a250 in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.cpp:378: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x0000000017c68c20 in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.cpp:504: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x0000000017c6b256 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2189bc in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:105: DB::LineAsStringRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e8cef1b in /usr/bin/clickhouse 16. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f6dbe in /usr/bin/clickhouse 24. /build/src/Storages/StorageURL.cpp:401: DB::StorageURLSource::generate() @ 0x000000001da015fc in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 26. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 2024.09.24 01:39:48.195000 [ 743 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:39:48.195525 [ 743 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:39:48.271098 [ 743 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:40:01.458383 [ 972 ] {} PushingToViews: Cannot push to the storage, ignoring the error: Code: 60. DB::Exception: Table test_w2aexreh.receiver_02572 does not exist: while pushing to view test_w2aexreh.push_to_logs_proxy_mv_02572 (630fd61a-37d6-41e8-93f8-c6f27a263d2c). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53612 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:121: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001ca7f3b2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x000000001ca813a6 in /usr/bin/clickhouse 11. /build/src/Storages/Distributed/DistributedSink.cpp:704: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x000000001dd06886 in /usr/bin/clickhouse 12. /build/src/Storages/Distributed/DistributedSink.cpp:677: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x000000001dd037a7 in /usr/bin/clickhouse 13. /build/src/Storages/Distributed/DistributedSink.cpp:181: DB::DistributedSink::writeAsync(DB::Block const&) @ 0x000000001dd0317a in /usr/bin/clickhouse 14. /build/src/Storages/Distributed/DistributedSink.cpp:153: DB::DistributedSink::consume(DB::Chunk) @ 0x000000001dd0239e in /usr/bin/clickhouse 15. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2ec62 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 24. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 30. /build/src/Interpreters/SystemLog.cpp:508: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000001cecf91d in /usr/bin/clickhouse 31. /build/src/Interpreters/SystemLog.cpp:448: DB::SystemLog::savingThreadFunction() @ 0x000000001cece8ae in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:40:03.246964 [ 972 ] {} PushingToViews: Cannot push to the storage, ignoring the error: Code: 60. DB::Exception: Table test_w2aexreh.receiver_02572 does not exist: while pushing to view test_w2aexreh.push_to_logs_proxy_mv_02572 (630fd61a-37d6-41e8-93f8-c6f27a263d2c). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53612 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:121: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001ca7f3b2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x000000001ca813a6 in /usr/bin/clickhouse 11. /build/src/Storages/Distributed/DistributedSink.cpp:704: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x000000001dd06886 in /usr/bin/clickhouse 12. /build/src/Storages/Distributed/DistributedSink.cpp:677: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x000000001dd037a7 in /usr/bin/clickhouse 13. /build/src/Storages/Distributed/DistributedSink.cpp:181: DB::DistributedSink::writeAsync(DB::Block const&) @ 0x000000001dd0317a in /usr/bin/clickhouse 14. /build/src/Storages/Distributed/DistributedSink.cpp:153: DB::DistributedSink::consume(DB::Chunk) @ 0x000000001dd0239e in /usr/bin/clickhouse 15. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2ec62 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 24. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 30. /build/src/Interpreters/SystemLog.cpp:508: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000001cecf91d in /usr/bin/clickhouse 31. /build/src/Interpreters/SystemLog.cpp:448: DB::SystemLog::savingThreadFunction() @ 0x000000001cece8ae in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:40:03.404119 [ 830 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:40:03.404795 [ 830 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:40:03.464913 [ 830 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:40:18.610613 [ 764 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:40:18.611177 [ 764 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:40:18.672894 [ 764 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:40:30.278357 [ 22250 ] {d4a5c276-a579-4e8a-924b-357ae0b12b8b} executeQuery: Code: 60. DB::Exception: Table test_d8rgc85w.table_merge_tree_02561 does not exist. (UNKNOWN_TABLE) (version 23.8.16.41.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:40204) (comment: 02561_temporary_table_sessions.sh) (in query: SELECT * FROM table_merge_tree_02561), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53612 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc20756 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 20. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 21. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:40:30.279739 [ 22250 ] {d4a5c276-a579-4e8a-924b-357ae0b12b8b} DynamicQueryHandler: Code: 60. DB::Exception: Table test_d8rgc85w.table_merge_tree_02561 does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53612 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc20756 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 20. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 21. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:40:33.821035 [ 738 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:40:33.821585 [ 738 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:40:33.884354 [ 738 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:40:49.029017 [ 791 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:40:49.029532 [ 791 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:40:49.093811 [ 791 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:41:04.263494 [ 804 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:41:04.264106 [ 804 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:41:04.325914 [ 804 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:41:19.484371 [ 735 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:41:19.484871 [ 735 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:41:19.544916 [ 735 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:41:34.703386 [ 729 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:41:34.703931 [ 729 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:41:34.764573 [ 729 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:41:49.937149 [ 746 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:41:49.937640 [ 746 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:41:50.014426 [ 746 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:42:05.168500 [ 805 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:42:05.169093 [ 805 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:42:05.241673 [ 805 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:42:20.385228 [ 730 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:42:20.385761 [ 730 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:42:20.449580 [ 730 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:42:35.612588 [ 735 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:42:35.613100 [ 735 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:42:35.674076 [ 735 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:42:50.840793 [ 732 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:42:50.841516 [ 732 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:42:50.916955 [ 732 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:43:06.058149 [ 776 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:43:06.058759 [ 776 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:43:06.137507 [ 776 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:43:21.296356 [ 717 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:43:21.297014 [ 717 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:43:21.357415 [ 717 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:43:36.529425 [ 814 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:43:36.530001 [ 814 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:43:36.589499 [ 814 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:43:51.740100 [ 794 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:43:51.740702 [ 794 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:43:51.807120 [ 794 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:44:06.975237 [ 725 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:44:06.975905 [ 725 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:44:07.062805 [ 725 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:44:22.229616 [ 774 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:44:22.230199 [ 774 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:44:22.321510 [ 774 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:44:37.486038 [ 737 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:44:37.487036 [ 737 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:44:37.564701 [ 737 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:44:52.724140 [ 728 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:44:52.725087 [ 728 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:44:52.790412 [ 728 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:45:07.954562 [ 806 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:45:07.955031 [ 806 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:45:08.015727 [ 806 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:45:23.178288 [ 767 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:45:23.178840 [ 767 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:45:23.251072 [ 767 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:45:38.419573 [ 780 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:45:38.420516 [ 780 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:45:38.479262 [ 780 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:45:38.851015 [ 42982 ] {test_c3mc8tcq-8585} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:50762) (comment: 02503_insert_storage_snapshot.sh) (in query: INSERT INTO t_insert_storage_snapshot SELECT sleep(1) FROM numbers(1000) SETTINGS max_block_size = 1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f983e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x000000001ccaa25b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6d0a80 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6d115c in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d09f6 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:49: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6cec1d in /usr/bin/clickhouse 11. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:90: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x000000001e6ceaaa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x000000001e6cea55 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6cea39 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x000000001e6ce99d in /usr/bin/clickhouse 15. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x000000001e6ce8a7 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x000000001e6ce815 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&) @ 0x000000001e6ce7f5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6ce7d5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6ce7a0 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a610e2 in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:45:38.853667 [ 42982 ] {test_c3mc8tcq-8585} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f983e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x000000001ccaa25b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6d0a80 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6d115c in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d09f6 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:49: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6cec1d in /usr/bin/clickhouse 11. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:90: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x000000001e6ceaaa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x000000001e6cea55 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6cea39 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x000000001e6ce99d in /usr/bin/clickhouse 15. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x000000001e6ce8a7 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x000000001e6ce815 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&) @ 0x000000001e6ce7f5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6ce7d5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6ce7a0 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a615fd in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a610e2 in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:45:53.654202 [ 795 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:45:53.654916 [ 795 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:45:53.743122 [ 795 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:45:57.616281 [ 34849 ] {f757ef6a-47c9-421c-be0f-d03b1a948981} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(1 :: 0) -> throwIf(1) UInt8 : 2'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:51232) (comment: 02494_query_cache_query_log.sql) (in query: SELECT 124437995, throwIf(1) SETTINGS use_query_cache = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000012603446 in /usr/bin/clickhouse 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000126021fd in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 2024.09.24 01:45:57.617200 [ 34849 ] {f757ef6a-47c9-421c-be0f-d03b1a948981} TCPHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(1 :: 0) -> throwIf(1) UInt8 : 2'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000012603446 in /usr/bin/clickhouse 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000126021fd in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 2024.09.24 01:46:06.811950 [ 34849 ] {4aae2ef2-bd0d-4216-8af8-9883238be5ef} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(1 :: 0) -> throwIf(1) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:60824) (comment: 02494_query_cache_exception_handling.sql) (in query: -- If an exception is thrown during query execution, no entry must be created in the query cache SELECT throwIf(1) SETTINGS use_query_cache = true;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000012603446 in /usr/bin/clickhouse 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000126021fd in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 2024.09.24 01:46:06.814133 [ 34849 ] {4aae2ef2-bd0d-4216-8af8-9883238be5ef} TCPHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(1 :: 0) -> throwIf(1) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000012603446 in /usr/bin/clickhouse 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000126021fd in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed75a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf84631 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf83a4d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc9de4 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 2024.09.24 01:46:08.897835 [ 836 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:46:08.898483 [ 836 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:46:08.960975 [ 836 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:46:20.823703 [ 34849 ] {2be5c8b8-cd5b-4d6f-97cb-d7b3a173abb9} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:57422) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:46:20.824528 [ 34849 ] {2be5c8b8-cd5b-4d6f-97cb-d7b3a173abb9} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:46:21.446674 [ 34849 ] {c96953f4-918f-48b0-9afa-9e5a3faf3d11} executeQuery: Code: 107. DB::Exception: Cannot open CapnProto schema, file /var/lib/clickhouse/format_schemas/nonexist.capnp doesn't exists: While executing File. (FILE_DOESNT_EXIST) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:57434) (in query: select * from file('data.capnp', 'CapnProto', 'val1 char') settings format_schema='nonexist:Message'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Formats/CapnProtoSchema.cpp:47: DB::CapnProtoSchemaParser::getMessageSchema(DB::FormatSchemaInfo const&) @ 0x000000001e82c950 in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp:25: DB::CapnProtoRowInputFormat::CapnProtoRowInputFormat(DB::ReadBuffer&, DB::Block, DB::RowInputFormatParams, DB::MaybeAutogeneratedFormatSchemaInfo const&, DB::FormatSettings const&) @ 0x000000001e8276e8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::CapnProtoRowInputFormat* std::construct_at[abi:v15000], DB::FormatSettings const&, DB::CapnProtoRowInputFormat*>(DB::CapnProtoRowInputFormat*, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::MaybeAutogeneratedFormatSchemaInfo&&, DB::FormatSettings const&) @ 0x000000001e82b8a1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::FormatSettings const&, void, void>(std::allocator&, DB::CapnProtoRowInputFormat*, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::MaybeAutogeneratedFormatSchemaInfo&&, DB::FormatSettings const&) @ 0x000000001e82b601 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::FormatSettings const&>(std::allocator, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::MaybeAutogeneratedFormatSchemaInfo&&, DB::FormatSettings const&) @ 0x000000001e82b2ed in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams, DB::MaybeAutogeneratedFormatSchemaInfo, DB::FormatSettings const&, void>(std::allocator const&, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::MaybeAutogeneratedFormatSchemaInfo&&, DB::FormatSettings const&) @ 0x000000001e82b140 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::FormatSettings const&, void>(DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::MaybeAutogeneratedFormatSchemaInfo&&, DB::FormatSettings const&) @ 0x000000001e82b0c6 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp:141: DB::registerInputFormatCapnProto(DB::FormatFactory&)::$_0::operator()(DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams, DB::FormatSettings const&) const @ 0x000000001e828c67 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](DB::registerInputFormatCapnProto(DB::FormatFactory&)::$_0&, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) @ 0x000000001e828b59 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerInputFormatCapnProto(DB::FormatFactory&)::$_0&, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) @ 0x000000001e828a95 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) @ 0x000000001e828a35 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>::__call_impl (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) @ 0x000000001e8289dd in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) const @ 0x000000001e67c136 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>::operator()(DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) const @ 0x000000001e67a435 in /usr/bin/clickhouse 20. /build/src/Formats/FormatFactory.cpp:330: DB::FormatFactory::getInput(String const&, DB::ReadBuffer&, DB::Block const&, std::shared_ptr, unsigned long, std::optional const&, std::optional, std::optional, bool, DB::CompressionMethod) const @ 0x000000001e66f757 in /usr/bin/clickhouse 21. /build/src/Interpreters/Context.cpp:3778: DB::Context::getInputFormat(String const&, DB::ReadBuffer&, DB::Block const&, unsigned long, std::optional const&, std::optional) const @ 0x000000001bdda863 in /usr/bin/clickhouse 22. /build/src/Storages/StorageFile.cpp:1278: DB::StorageFileSource::generate() @ 0x000000001d6b0f8c in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 2024.09.24 01:46:21.448869 [ 34849 ] {c96953f4-918f-48b0-9afa-9e5a3faf3d11} TCPHandler: Code: 107. DB::Exception: Cannot open CapnProto schema, file /var/lib/clickhouse/format_schemas/nonexist.capnp doesn't exists: While executing File. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Formats/CapnProtoSchema.cpp:47: DB::CapnProtoSchemaParser::getMessageSchema(DB::FormatSchemaInfo const&) @ 0x000000001e82c950 in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp:25: DB::CapnProtoRowInputFormat::CapnProtoRowInputFormat(DB::ReadBuffer&, DB::Block, DB::RowInputFormatParams, DB::MaybeAutogeneratedFormatSchemaInfo const&, DB::FormatSettings const&) @ 0x000000001e8276e8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::CapnProtoRowInputFormat* std::construct_at[abi:v15000], DB::FormatSettings const&, DB::CapnProtoRowInputFormat*>(DB::CapnProtoRowInputFormat*, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::MaybeAutogeneratedFormatSchemaInfo&&, DB::FormatSettings const&) @ 0x000000001e82b8a1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::FormatSettings const&, void, void>(std::allocator&, DB::CapnProtoRowInputFormat*, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::MaybeAutogeneratedFormatSchemaInfo&&, DB::FormatSettings const&) @ 0x000000001e82b601 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::FormatSettings const&>(std::allocator, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::MaybeAutogeneratedFormatSchemaInfo&&, DB::FormatSettings const&) @ 0x000000001e82b2ed in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams, DB::MaybeAutogeneratedFormatSchemaInfo, DB::FormatSettings const&, void>(std::allocator const&, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::MaybeAutogeneratedFormatSchemaInfo&&, DB::FormatSettings const&) @ 0x000000001e82b140 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::FormatSettings const&, void>(DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::MaybeAutogeneratedFormatSchemaInfo&&, DB::FormatSettings const&) @ 0x000000001e82b0c6 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp:141: DB::registerInputFormatCapnProto(DB::FormatFactory&)::$_0::operator()(DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams, DB::FormatSettings const&) const @ 0x000000001e828c67 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](DB::registerInputFormatCapnProto(DB::FormatFactory&)::$_0&, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) @ 0x000000001e828b59 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerInputFormatCapnProto(DB::FormatFactory&)::$_0&, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) @ 0x000000001e828a95 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) @ 0x000000001e828a35 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>::__call_impl (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) @ 0x000000001e8289dd in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) const @ 0x000000001e67c136 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>::operator()(DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) const @ 0x000000001e67a435 in /usr/bin/clickhouse 20. /build/src/Formats/FormatFactory.cpp:330: DB::FormatFactory::getInput(String const&, DB::ReadBuffer&, DB::Block const&, std::shared_ptr, unsigned long, std::optional const&, std::optional, std::optional, bool, DB::CompressionMethod) const @ 0x000000001e66f757 in /usr/bin/clickhouse 21. /build/src/Interpreters/Context.cpp:3778: DB::Context::getInputFormat(String const&, DB::ReadBuffer&, DB::Block const&, unsigned long, std::optional const&, std::optional) const @ 0x000000001bdda863 in /usr/bin/clickhouse 22. /build/src/Storages/StorageFile.cpp:1278: DB::StorageFileSource::generate() @ 0x000000001d6b0f8c in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 2024.09.24 01:46:24.114022 [ 770 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:46:24.114584 [ 770 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:46:24.197429 [ 770 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:46:39.342887 [ 729 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:46:39.343394 [ 729 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:46:39.430947 [ 729 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:46:54.587271 [ 750 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:46:54.587803 [ 750 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:46:54.664818 [ 750 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:47:09.827194 [ 791 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:47:09.827809 [ 791 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:47:09.892761 [ 791 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:47:25.034219 [ 757 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:47:25.034785 [ 757 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:47:25.108492 [ 757 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:47:40.258773 [ 798 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:47:40.259410 [ 798 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:47:40.332719 [ 798 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:47:55.490376 [ 723 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:47:55.490937 [ 723 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:47:55.565485 [ 723 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:48:08.347313 [ 34849 ] {9cc6b66b-699e-4633-8f9e-16c4a72f60c7} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58428) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:48:08.347961 [ 34849 ] {9cc6b66b-699e-4633-8f9e-16c4a72f60c7} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:48:10.728364 [ 737 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:48:10.729459 [ 737 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:48:10.793944 [ 737 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:48:25.961129 [ 805 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:48:25.961659 [ 805 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:48:26.026480 [ 805 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:48:29.795707 [ 34849 ] {699b4303-cd03-4b64-8b87-8d1afbfd4e3a} executeQuery: Code: 269. DB::Exception: Destination table is myself. Will lead to infinite loop. (INFINITE_LOOP) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:59564) (comment: 02391_recursive_buffer.sql) (in query: SELECT * FROM test;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [57]) @ 0x000000000ddb69fe in /usr/bin/clickhouse 6. /build/src/Storages/StorageBuffer.cpp:114: DB::StorageBuffer::getDestinationTable() const @ 0x000000001da82944 in /usr/bin/clickhouse 7. /build/src/Storages/StorageBuffer.cpp:741: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d35 in /usr/bin/clickhouse 8. /build/src/Storages/IStorage.h:143: DB::IStorage::canMoveConditionsToPrewhere() const @ 0x000000001a9b09f6 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:637: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae6aa in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:48:29.796642 [ 34849 ] {699b4303-cd03-4b64-8b87-8d1afbfd4e3a} TCPHandler: Code: 269. DB::Exception: Destination table is myself. Will lead to infinite loop. (INFINITE_LOOP), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [57]) @ 0x000000000ddb69fe in /usr/bin/clickhouse 6. /build/src/Storages/StorageBuffer.cpp:114: DB::StorageBuffer::getDestinationTable() const @ 0x000000001da82944 in /usr/bin/clickhouse 7. /build/src/Storages/StorageBuffer.cpp:741: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d35 in /usr/bin/clickhouse 8. /build/src/Storages/IStorage.h:143: DB::IStorage::canMoveConditionsToPrewhere() const @ 0x000000001a9b09f6 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:637: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae6aa in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:48:30.022465 [ 34849 ] {6a2f7be0-081e-4e9c-be1e-232718e5f848} executeQuery: Code: 269. DB::Exception: Destination table is myself. Will lead to infinite loop.: While executing Tables. (INFINITE_LOOP) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:59564) (comment: 02391_recursive_buffer.sql) (in query: SELECT * FROM system.tables WHERE table = 'test' AND database = currentDatabase() FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [57]) @ 0x000000000ddb69fe in /usr/bin/clickhouse 6. /build/src/Storages/StorageBuffer.cpp:114: DB::StorageBuffer::getDestinationTable() const @ 0x000000001da82944 in /usr/bin/clickhouse 7. /build/src/Storages/StorageBuffer.cpp:1049: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c62d in /usr/bin/clickhouse 8. /build/src/Storages/System/StorageSystemTables.cpp:473: DB::TablesBlockSource::generate() @ 0x000000001aa80e96 in /usr/bin/clickhouse 9. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 2024.09.24 01:48:30.027127 [ 34849 ] {6a2f7be0-081e-4e9c-be1e-232718e5f848} TCPHandler: Code: 269. DB::Exception: Destination table is myself. Will lead to infinite loop.: While executing Tables. (INFINITE_LOOP), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [57]) @ 0x000000000ddb69fe in /usr/bin/clickhouse 6. /build/src/Storages/StorageBuffer.cpp:114: DB::StorageBuffer::getDestinationTable() const @ 0x000000001da82944 in /usr/bin/clickhouse 7. /build/src/Storages/StorageBuffer.cpp:1049: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c62d in /usr/bin/clickhouse 8. /build/src/Storages/System/StorageSystemTables.cpp:473: DB::TablesBlockSource::generate() @ 0x000000001aa80e96 in /usr/bin/clickhouse 9. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f3a46 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f38df in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f3855 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f3839 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f379d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f36a7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f3615 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f35f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f35d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f35a0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a61724 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a616d5 in /usr/bin/clickhouse 2024.09.24 01:48:30.190264 [ 34849 ] {0ff19adb-36af-4640-a2df-2e07f68a16ac} virtual void DB::StorageBuffer::flushAndPrepareForShutdown(): Code: 269. DB::Exception: Destination table is myself. Will lead to infinite loop. (INFINITE_LOOP), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [57]) @ 0x000000000ddb69fe in /usr/bin/clickhouse 6. /build/src/Storages/StorageBuffer.cpp:114: DB::StorageBuffer::getDestinationTable() const @ 0x000000001da82944 in /usr/bin/clickhouse 7. /build/src/Storages/StorageBuffer.cpp:869: DB::StorageBuffer::flushBuffer(DB::StorageBuffer::Buffer&, bool, bool) @ 0x000000001da88ad7 in /usr/bin/clickhouse 8. /build/src/Storages/StorageBuffer.cpp:812: DB::StorageBuffer::flushAllBuffers(bool) @ 0x000000001da87cfe in /usr/bin/clickhouse 9. /build/src/Storages/StorageBuffer.cpp:735: DB::StorageBuffer::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001da87c38 in /usr/bin/clickhouse 10. /build/src/Storages/StorageBuffer.cpp:694: DB::StorageBuffer::flushAndPrepareForShutdown() @ 0x000000001da878b5 in /usr/bin/clickhouse 11. /build/src/Storages/IStorage.h:565: DB::IStorage::flushAndShutdown() @ 0x000000001baba5dd in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterDropQuery.cpp:241: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001c8b6cef in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001c8b4db4 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x000000001c8b462e in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 24. ? @ 0x00007f1d281b3ac3 in ? 25. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:48:30.805606 [ 34849 ] {1d031bbf-79dc-4258-b8a4-e3370dfcffd9} executeQuery: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f180808d000, frame address: 0x7f180848cfc0, stack size: 4194368, maximum stack size: 8388608. (TOO_DEEP_RECURSION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:59564) (comment: 02391_recursive_buffer.sql) (in query: SELECT * FROM test1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x0000000013965e64 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:121: checkStackSize() @ 0x00000000139659dc in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:324: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedfcdd in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:934: DB::DatabaseCatalog::tryGetTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee5f56 in /usr/bin/clickhouse 9. /build/src/Storages/StorageBuffer.cpp:112: DB::StorageBuffer::getDestinationTable() const @ 0x000000001da828fd in /usr/bin/clickhouse 10. /build/src/Storages/StorageBuffer.cpp:741: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d35 in /usr/bin/clickhouse 11. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 12. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 13. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 14. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 15. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 16. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 17. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 18. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 19. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 20. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 21. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 22. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 23. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 24. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 25. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 26. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 27. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 28. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 29. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 30. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 31. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 2024.09.24 01:48:30.806650 [ 34849 ] {1d031bbf-79dc-4258-b8a4-e3370dfcffd9} TCPHandler: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f180808d000, frame address: 0x7f180848cfc0, stack size: 4194368, maximum stack size: 8388608. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x0000000013965e64 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:121: checkStackSize() @ 0x00000000139659dc in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:324: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedfcdd in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:934: DB::DatabaseCatalog::tryGetTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee5f56 in /usr/bin/clickhouse 9. /build/src/Storages/StorageBuffer.cpp:112: DB::StorageBuffer::getDestinationTable() const @ 0x000000001da828fd in /usr/bin/clickhouse 10. /build/src/Storages/StorageBuffer.cpp:741: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d35 in /usr/bin/clickhouse 11. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 12. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 13. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 14. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 15. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 16. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 17. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 18. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 19. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 20. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 21. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 22. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 23. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 24. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 25. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 26. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 27. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 28. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 29. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 30. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 31. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 2024.09.24 01:48:31.205070 [ 34849 ] {b879a610-2d74-4874-bfe3-a4fc61389f26} executeQuery: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f180808d000, frame address: 0x7f180848cfc0, stack size: 4194368, maximum stack size: 8388608. (TOO_DEEP_RECURSION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:59564) (comment: 02391_recursive_buffer.sql) (in query: SELECT * FROM test2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x0000000013965e64 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:121: checkStackSize() @ 0x00000000139659dc in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:324: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedfcdd in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:934: DB::DatabaseCatalog::tryGetTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee5f56 in /usr/bin/clickhouse 9. /build/src/Storages/StorageBuffer.cpp:112: DB::StorageBuffer::getDestinationTable() const @ 0x000000001da828fd in /usr/bin/clickhouse 10. /build/src/Storages/StorageBuffer.cpp:741: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d35 in /usr/bin/clickhouse 11. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 12. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 13. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 14. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 15. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 16. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 17. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 18. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 19. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 20. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 21. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 22. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 23. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 24. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 25. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 26. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 27. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 28. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 29. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 30. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 31. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 2024.09.24 01:48:31.206140 [ 34849 ] {b879a610-2d74-4874-bfe3-a4fc61389f26} TCPHandler: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f180808d000, frame address: 0x7f180848cfc0, stack size: 4194368, maximum stack size: 8388608. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x0000000013965e64 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:121: checkStackSize() @ 0x00000000139659dc in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:324: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedfcdd in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:934: DB::DatabaseCatalog::tryGetTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee5f56 in /usr/bin/clickhouse 9. /build/src/Storages/StorageBuffer.cpp:112: DB::StorageBuffer::getDestinationTable() const @ 0x000000001da828fd in /usr/bin/clickhouse 10. /build/src/Storages/StorageBuffer.cpp:741: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d35 in /usr/bin/clickhouse 11. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 12. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 13. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 14. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 15. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 16. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 17. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 18. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 19. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 20. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 21. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 22. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 23. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 24. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 25. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 26. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 27. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 28. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 29. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 30. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 31. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da87d68 in /usr/bin/clickhouse 2024.09.24 01:48:31.666006 [ 34849 ] {581e4cd1-651c-4036-8d8e-3eae46fe5e7d} executeQuery: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f19b0f54000, frame address: 0x7f19b1353fd0, stack size: 4194352, maximum stack size: 8388608: While executing Tables. (TOO_DEEP_RECURSION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:59564) (comment: 02391_recursive_buffer.sql) (in query: SELECT * FROM system.tables WHERE table IN ('test1', 'test2') AND database = currentDatabase();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x0000000013965e64 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:121: checkStackSize() @ 0x00000000139659dc in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:324: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedfcdd in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:934: DB::DatabaseCatalog::tryGetTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee5f56 in /usr/bin/clickhouse 9. /build/src/Storages/StorageBuffer.cpp:112: DB::StorageBuffer::getDestinationTable() const @ 0x000000001da828fd in /usr/bin/clickhouse 10. /build/src/Storages/StorageBuffer.cpp:1049: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c62d in /usr/bin/clickhouse 11. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c669 in /usr/bin/clickhouse 12. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c669 in /usr/bin/clickhouse 13. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c669 in /usr/bin/clickhouse 14. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c669 in /usr/bin/clickhouse 15. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c669 in /usr/bin/clickhouse 16. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c669 in /usr/bin/clickhouse 17. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c669 in /usr/bin/clickhouse 18. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c669 in /usr/bin/clickhouse 19. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c669 in /usr/bin/clickhouse 20. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c669 in /usr/bin/clickhouse 21. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c669 in /usr/bin/clickhouse 22. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c669 in /usr/bin/clickhouse 23. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c669 in /usr/bin/clickhouse 24. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c669 in /usr/bin/clickhouse 25. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c669 in /usr/bin/clickhouse 26. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c669 in /usr/bin/clickhouse 27. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c669 in /usr/bin/clickhouse 28. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c669 in /usr/bin/clickhouse 29. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c669 in /usr/bin/clickhouse 30. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c669 in /usr/bin/clickhouse 31. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c669 in /usr/bin/clickhouse 2024.09.24 01:48:31.670028 [ 34849 ] {581e4cd1-651c-4036-8d8e-3eae46fe5e7d} TCPHandler: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f19b0f54000, frame address: 0x7f19b1353fd0, stack size: 4194352, maximum stack size: 8388608: While executing Tables. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x0000000013965e64 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:121: checkStackSize() @ 0x00000000139659dc in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:324: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedfcdd in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:934: DB::DatabaseCatalog::tryGetTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee5f56 in /usr/bin/clickhouse 9. /build/src/Storages/StorageBuffer.cpp:112: DB::StorageBuffer::getDestinationTable() const @ 0x000000001da828fd in /usr/bin/clickhouse 10. /build/src/Storages/StorageBuffer.cpp:1049: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c62d in /usr/bin/clickhouse 11. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c669 in /usr/bin/clickhouse 12. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c669 in /usr/bin/clickhouse 13. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c669 in /usr/bin/clickhouse 14. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c669 in /usr/bin/clickhouse 15. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c669 in /usr/bin/clickhouse 16. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c669 in /usr/bin/clickhouse 17. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c669 in /usr/bin/clickhouse 18. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c669 in /usr/bin/clickhouse 19. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c669 in /usr/bin/clickhouse 20. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c669 in /usr/bin/clickhouse 21. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c669 in /usr/bin/clickhouse 22. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c669 in /usr/bin/clickhouse 23. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c669 in /usr/bin/clickhouse 24. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c669 in /usr/bin/clickhouse 25. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c669 in /usr/bin/clickhouse 26. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c669 in /usr/bin/clickhouse 27. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c669 in /usr/bin/clickhouse 28. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c669 in /usr/bin/clickhouse 29. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c669 in /usr/bin/clickhouse 30. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c669 in /usr/bin/clickhouse 31. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8c669 in /usr/bin/clickhouse 2024.09.24 01:48:34.077139 [ 34849 ] {c5855c73-ba45-42a3-9071-cb8f3acaf397} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 1.00, current rows: 85.82 thousand: While executing Numbers. (TOO_MANY_ROWS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:46980) (comment: 02385_profile_events_overflow.sql) (in query: SELECT count() FROM system.numbers SETTINGS max_rows_to_read = 1, read_overflow_mode = 'throw';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x000000001b8a1f28 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x000000001b8a1a4c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x000000001b878204 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eced1 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 2024.09.24 01:48:34.083702 [ 34849 ] {c5855c73-ba45-42a3-9071-cb8f3acaf397} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 1.00, current rows: 85.82 thousand: While executing Numbers. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x000000001b8a1f28 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x000000001b8a1a4c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x000000001b878204 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eced1 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse 2024.09.24 01:48:39.485583 [ 34849 ] {d2623551-d1bb-4c1a-9fae-00e743e0634e} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:46988) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:48:39.486456 [ 34849 ] {d2623551-d1bb-4c1a-9fae-00e743e0634e} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:48:41.171080 [ 729 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:48:41.171632 [ 729 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:48:41.235674 [ 729 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:48:56.378317 [ 745 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:48:56.378914 [ 745 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:48:56.440984 [ 745 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:49:11.604108 [ 769 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:49:11.604634 [ 769 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:49:11.690682 [ 769 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:49:26.855305 [ 823 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:49:26.855847 [ 823 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:49:26.941199 [ 823 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:49:35.677283 [ 34849 ] {e963f697-71fa-4a48-a04d-63e7ebe6e761} executeQuery: Code: 497. DB::Exception: user_test_02337: Not enough privileges. To execute this query, it's necessary to have the grant SYSTEM DROP FILESYSTEM CACHE ON *.*. (ACCESS_DENIED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:34622) (comment: 02337_drop_filesystem_cache_access.sh) (in query: SYSTEM DROP FILESYSTEM CACHE;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Access/ContextAccess.cpp:520: auto bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x000000001b04c8de in /usr/bin/clickhouse 7. /build/src/Access/ContextAccess.cpp:560: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x000000001b04b393 in /usr/bin/clickhouse 8. /build/src/Access/ContextAccess.cpp:625: bool DB::ContextAccess::checkAccessImpl(DB::AccessFlags const&) const @ 0x000000001b01ec22 in /usr/bin/clickhouse 9. /build/src/Access/ContextAccess.cpp:698: DB::ContextAccess::checkAccess(DB::AccessFlags const&) const @ 0x000000001b019f5d in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1200: void DB::Context::checkAccessImpl(DB::AccessFlags const&) const @ 0x000000001bde5116 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1203: DB::Context::checkAccess(DB::AccessFlags const&) const @ 0x000000001bdc553d in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSystemQuery.cpp:365: DB::InterpreterSystemQuery::execute() @ 0x000000001cbda1dd in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:49:35.678022 [ 34849 ] {e963f697-71fa-4a48-a04d-63e7ebe6e761} TCPHandler: Code: 497. DB::Exception: user_test_02337: Not enough privileges. To execute this query, it's necessary to have the grant SYSTEM DROP FILESYSTEM CACHE ON *.*. (ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Access/ContextAccess.cpp:520: auto bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x000000001b04c8de in /usr/bin/clickhouse 7. /build/src/Access/ContextAccess.cpp:560: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x000000001b04b393 in /usr/bin/clickhouse 8. /build/src/Access/ContextAccess.cpp:625: bool DB::ContextAccess::checkAccessImpl(DB::AccessFlags const&) const @ 0x000000001b01ec22 in /usr/bin/clickhouse 9. /build/src/Access/ContextAccess.cpp:698: DB::ContextAccess::checkAccess(DB::AccessFlags const&) const @ 0x000000001b019f5d in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1200: void DB::Context::checkAccessImpl(DB::AccessFlags const&) const @ 0x000000001bde5116 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1203: DB::Context::checkAccess(DB::AccessFlags const&) const @ 0x000000001bdc553d in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSystemQuery.cpp:365: DB::InterpreterSystemQuery::execute() @ 0x000000001cbda1dd in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:49:42.104476 [ 797 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:49:42.105153 [ 797 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:49:42.190423 [ 797 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:49:54.835550 [ 34849 ] {0f8731c7-2870-4ff5-aa7e-f44b9d6e7995} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.42 MiB (attempt to allocate chunk of 0 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56006) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:84: CurrentMemoryTracker::check() @ 0x000000001387ecd9 in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1823: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x000000001c00fc77 in /usr/bin/clickhouse 11. /build/src/Interpreters/Aggregator.cpp:1615: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c021353 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 2024.09.24 01:49:54.986670 [ 44142 ] {f2d397cd-55db-45d5-9df0-c894d97488fa} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.42 MiB (attempt to allocate chunk of 1266264 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56012) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:49:54.986744 [ 44144 ] {f2642cf2-e1a3-48ae-82c9-2d823ab55ac1} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.59 MiB (attempt to allocate chunk of 1260392 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56038) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:49:54.987021 [ 34849 ] {0f8731c7-2870-4ff5-aa7e-f44b9d6e7995} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.42 MiB (attempt to allocate chunk of 0 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:84: CurrentMemoryTracker::check() @ 0x000000001387ecd9 in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1823: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x000000001c00fc77 in /usr/bin/clickhouse 11. /build/src/Interpreters/Aggregator.cpp:1615: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c021353 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 2024.09.24 01:49:54.986809 [ 44146 ] {484ee1c8-ef65-470e-ac71-6d892178702a} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.61 MiB (attempt to allocate chunk of 1264952 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56056) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:49:54.986979 [ 44147 ] {a6a5f6c2-1dfc-443d-bbf8-37f0f59ef5b8} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.88 MiB (attempt to allocate chunk of 1267384 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56068) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:49:54.987014 [ 44149 ] {e38c9d84-f000-4c86-99f2-ef607fd22a47} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.98 MiB (attempt to allocate chunk of 1271432 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56100) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:49:54.987072 [ 44150 ] {60c88687-7859-4a91-88c5-6417e7cb7eb5} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.07 MiB (attempt to allocate chunk of 1263736 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56106) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:49:54.987299 [ 44143 ] {5fa647fc-375e-4ba4-b78d-68fb66f03e6d} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.39 MiB (attempt to allocate chunk of 1260088 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56024) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:49:54.987440 [ 44145 ] {c26bec85-7393-4ded-bd94-9f4877204782} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.50 MiB (attempt to allocate chunk of 1265256 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56040) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:49:54.987630 [ 44148 ] {6fca43ab-c73a-4843-a75e-0cbe0f41e647} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.79 MiB (attempt to allocate chunk of 1269208 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56084) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:49:54.993414 [ 44142 ] {f2d397cd-55db-45d5-9df0-c894d97488fa} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.42 MiB (attempt to allocate chunk of 1266264 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:49:54.994080 [ 44145 ] {c26bec85-7393-4ded-bd94-9f4877204782} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.50 MiB (attempt to allocate chunk of 1265256 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:49:54.994657 [ 44149 ] {e38c9d84-f000-4c86-99f2-ef607fd22a47} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.98 MiB (attempt to allocate chunk of 1271432 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:49:54.994674 [ 44150 ] {60c88687-7859-4a91-88c5-6417e7cb7eb5} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.07 MiB (attempt to allocate chunk of 1263736 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:49:54.994894 [ 44144 ] {f2642cf2-e1a3-48ae-82c9-2d823ab55ac1} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.59 MiB (attempt to allocate chunk of 1260392 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:49:54.995926 [ 44146 ] {484ee1c8-ef65-470e-ac71-6d892178702a} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.61 MiB (attempt to allocate chunk of 1264952 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:49:54.996316 [ 44147 ] {a6a5f6c2-1dfc-443d-bbf8-37f0f59ef5b8} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.88 MiB (attempt to allocate chunk of 1267384 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:49:54.996474 [ 44143 ] {5fa647fc-375e-4ba4-b78d-68fb66f03e6d} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.39 MiB (attempt to allocate chunk of 1260088 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:49:54.996952 [ 44148 ] {6fca43ab-c73a-4843-a75e-0cbe0f41e647} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.79 MiB (attempt to allocate chunk of 1269208 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:49:56.893167 [ 44142 ] {4a418805-1019-4817-8c8b-5cdcbe8c2cd7} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.42 MiB (attempt to allocate chunk of 1271160 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56112) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:49:56.898833 [ 44142 ] {4a418805-1019-4817-8c8b-5cdcbe8c2cd7} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.42 MiB (attempt to allocate chunk of 1271160 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:49:56.907750 [ 44143 ] {cd962e4a-9d95-40db-8f41-ef1b7a682d11} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.27 MiB (attempt to allocate chunk of 1263432 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56120) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:49:56.912952 [ 44143 ] {cd962e4a-9d95-40db-8f41-ef1b7a682d11} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.27 MiB (attempt to allocate chunk of 1263432 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:49:57.114658 [ 34849 ] {951e06b6-2777-4e65-9786-0247d2ce969d} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.23 MiB (attempt to allocate chunk of 1118544 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56108) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a54a5 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a5339 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:256: DB::ColumnVector::reserve(unsigned long) @ 0x000000001d3d0fa6 in /usr/bin/clickhouse 15. /build/src/Interpreters/AggregationUtils.cpp:27: DB::prepareOutputBlockColumns(DB::Aggregator::Params const&, std::vector> const&, DB::Block const&, std::vector, std::allocator>>&, bool, unsigned long) @ 0x000000001c50fd62 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:2036: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ef741 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:0: auto std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)::operator()(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&) const @ 0x000000001c4ef9aa in /usr/bin/clickhouse 18. /build/src/Common/HashTable/HashMap.h:261: void HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::forEachValue>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&&) @ 0x000000001c4ef92f in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:2061: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4eed5e in /usr/bin/clickhouse 20. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c6915 in /usr/bin/clickhouse 21. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0c0f6e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb931f0 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8f36f in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 2024.09.24 01:49:57.114711 [ 44144 ] {75d3ac9e-2571-40c9-aa4b-c41a0fc696f5} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.03 MiB (attempt to allocate chunk of 1264648 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56130) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:49:57.114774 [ 44146 ] {7263d758-ed17-48b7-a203-5195ed2f1598} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.42 MiB (attempt to allocate chunk of 1265992 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56150) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:49:57.114890 [ 44150 ] {6a620d22-51a6-4300-80a2-2309187daa81} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.62 MiB (attempt to allocate chunk of 1268664 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56196) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:49:57.114751 [ 44148 ] {7a65c043-ac69-4ed7-b48d-a51dcd618bff} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.13 MiB (attempt to allocate chunk of 1267384 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56168) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:49:57.114871 [ 44149 ] {bced3ebb-df38-4766-8e06-dd2b9c033f11} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.52 MiB (attempt to allocate chunk of 1267144 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56182) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:49:57.115184 [ 44145 ] {98c1ce62-3e09-40be-8f5d-e6f188830961} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.13 MiB (attempt to allocate chunk of 1269912 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56144) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:49:57.115112 [ 44147 ] {d4b486e0-fb5c-441c-82ff-f0cbeb94e8a7} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.21 MiB (attempt to allocate chunk of 1264984 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56152) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:49:57.120133 [ 44146 ] {7263d758-ed17-48b7-a203-5195ed2f1598} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.42 MiB (attempt to allocate chunk of 1265992 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:49:57.120522 [ 44144 ] {75d3ac9e-2571-40c9-aa4b-c41a0fc696f5} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.03 MiB (attempt to allocate chunk of 1264648 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:49:57.121314 [ 44150 ] {6a620d22-51a6-4300-80a2-2309187daa81} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.62 MiB (attempt to allocate chunk of 1268664 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:49:57.121616 [ 44149 ] {bced3ebb-df38-4766-8e06-dd2b9c033f11} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.52 MiB (attempt to allocate chunk of 1267144 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:49:57.122351 [ 34849 ] {951e06b6-2777-4e65-9786-0247d2ce969d} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.23 MiB (attempt to allocate chunk of 1118544 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a54a5 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a5339 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:256: DB::ColumnVector::reserve(unsigned long) @ 0x000000001d3d0fa6 in /usr/bin/clickhouse 15. /build/src/Interpreters/AggregationUtils.cpp:27: DB::prepareOutputBlockColumns(DB::Aggregator::Params const&, std::vector> const&, DB::Block const&, std::vector, std::allocator>>&, bool, unsigned long) @ 0x000000001c50fd62 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:2036: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ef741 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:0: auto std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)::operator()(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&) const @ 0x000000001c4ef9aa in /usr/bin/clickhouse 18. /build/src/Common/HashTable/HashMap.h:261: void HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::forEachValue>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&&) @ 0x000000001c4ef92f in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:2061: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4eed5e in /usr/bin/clickhouse 20. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c6915 in /usr/bin/clickhouse 21. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0c0f6e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb931f0 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8f36f in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 2024.09.24 01:49:57.122425 [ 44148 ] {7a65c043-ac69-4ed7-b48d-a51dcd618bff} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.13 MiB (attempt to allocate chunk of 1267384 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:49:57.122591 [ 44147 ] {d4b486e0-fb5c-441c-82ff-f0cbeb94e8a7} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.21 MiB (attempt to allocate chunk of 1264984 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:49:57.122613 [ 44145 ] {98c1ce62-3e09-40be-8f5d-e6f188830961} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.13 MiB (attempt to allocate chunk of 1269912 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:49:57.344397 [ 802 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:49:57.344988 [ 802 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:49:57.417081 [ 802 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:49:58.915764 [ 34849 ] {f31b2220-7c7e-4e3c-9963-92b7ff3992ae} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.28 MiB (attempt to allocate chunk of 1118096 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56210) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a54a5 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a5339 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:256: DB::ColumnVector::reserve(unsigned long) @ 0x000000001d3d0fa6 in /usr/bin/clickhouse 15. /build/src/Interpreters/AggregationUtils.cpp:27: DB::prepareOutputBlockColumns(DB::Aggregator::Params const&, std::vector> const&, DB::Block const&, std::vector, std::allocator>>&, bool, unsigned long) @ 0x000000001c50fd62 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:2036: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ef741 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:0: auto std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)::operator()(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&) const @ 0x000000001c4ef9aa in /usr/bin/clickhouse 18. /build/src/Common/HashTable/HashMap.h:261: void HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::forEachValue>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&&) @ 0x000000001c4ef92f in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:2061: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4eed5e in /usr/bin/clickhouse 20. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c6915 in /usr/bin/clickhouse 21. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0c0f6e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb931f0 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8f36f in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 2024.09.24 01:49:58.923525 [ 34849 ] {f31b2220-7c7e-4e3c-9963-92b7ff3992ae} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.28 MiB (attempt to allocate chunk of 1118096 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a54a5 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a5339 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:256: DB::ColumnVector::reserve(unsigned long) @ 0x000000001d3d0fa6 in /usr/bin/clickhouse 15. /build/src/Interpreters/AggregationUtils.cpp:27: DB::prepareOutputBlockColumns(DB::Aggregator::Params const&, std::vector> const&, DB::Block const&, std::vector, std::allocator>>&, bool, unsigned long) @ 0x000000001c50fd62 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:2036: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ef741 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:0: auto std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)::operator()(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&) const @ 0x000000001c4ef9aa in /usr/bin/clickhouse 18. /build/src/Common/HashTable/HashMap.h:261: void HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::forEachValue>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&&) @ 0x000000001c4ef92f in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:2061: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4eed5e in /usr/bin/clickhouse 20. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c6915 in /usr/bin/clickhouse 21. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0c0f6e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb931f0 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8f36f in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 2024.09.24 01:49:58.990981 [ 44142 ] {430eccc0-4034-4c44-b6b8-55973ec57230} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.39 MiB (attempt to allocate chunk of 1118080 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56218) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a54a5 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a5339 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:256: DB::ColumnVector::reserve(unsigned long) @ 0x000000001d3d0fa6 in /usr/bin/clickhouse 15. /build/src/Interpreters/AggregationUtils.cpp:27: DB::prepareOutputBlockColumns(DB::Aggregator::Params const&, std::vector> const&, DB::Block const&, std::vector, std::allocator>>&, bool, unsigned long) @ 0x000000001c50fd62 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:2036: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ef741 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:0: auto std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)::operator()(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&) const @ 0x000000001c4ef9aa in /usr/bin/clickhouse 18. /build/src/Common/HashTable/HashMap.h:261: void HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::forEachValue>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&&) @ 0x000000001c4ef92f in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:2061: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4eed5e in /usr/bin/clickhouse 20. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c6915 in /usr/bin/clickhouse 21. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0c0f6e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb931f0 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8f36f in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 2024.09.24 01:49:58.999069 [ 44142 ] {430eccc0-4034-4c44-b6b8-55973ec57230} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.39 MiB (attempt to allocate chunk of 1118080 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a54a5 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a5339 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:256: DB::ColumnVector::reserve(unsigned long) @ 0x000000001d3d0fa6 in /usr/bin/clickhouse 15. /build/src/Interpreters/AggregationUtils.cpp:27: DB::prepareOutputBlockColumns(DB::Aggregator::Params const&, std::vector> const&, DB::Block const&, std::vector, std::allocator>>&, bool, unsigned long) @ 0x000000001c50fd62 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:2036: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ef741 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:0: auto std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)::operator()(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&) const @ 0x000000001c4ef9aa in /usr/bin/clickhouse 18. /build/src/Common/HashTable/HashMap.h:261: void HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::forEachValue>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&&) @ 0x000000001c4ef92f in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:2061: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4eed5e in /usr/bin/clickhouse 20. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c6915 in /usr/bin/clickhouse 21. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0c0f6e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb931f0 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8f36f in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 2024.09.24 01:49:59.124555 [ 44143 ] {b2639564-dba3-4ce8-a2ee-eb270f0efdf9} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.42 MiB (attempt to allocate chunk of 1262824 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56220) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:49:59.129939 [ 44143 ] {b2639564-dba3-4ce8-a2ee-eb270f0efdf9} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.42 MiB (attempt to allocate chunk of 1262824 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:49:59.131157 [ 44144 ] {d0000fde-5a8b-441c-88d9-610eb87ae3d3} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.38 MiB (attempt to allocate chunk of 1118096 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56228) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a54a5 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a5339 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:256: DB::ColumnVector::reserve(unsigned long) @ 0x000000001d3d0fa6 in /usr/bin/clickhouse 15. /build/src/Interpreters/AggregationUtils.cpp:27: DB::prepareOutputBlockColumns(DB::Aggregator::Params const&, std::vector> const&, DB::Block const&, std::vector, std::allocator>>&, bool, unsigned long) @ 0x000000001c50fd62 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:2036: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ef741 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:0: auto std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)::operator()(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&) const @ 0x000000001c4ef9aa in /usr/bin/clickhouse 18. /build/src/Common/HashTable/HashMap.h:261: void HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::forEachValue>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&&) @ 0x000000001c4ef92f in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:2061: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4eed5e in /usr/bin/clickhouse 20. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c6915 in /usr/bin/clickhouse 21. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0c0f6e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb931f0 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8f36f in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 2024.09.24 01:49:59.137705 [ 44144 ] {d0000fde-5a8b-441c-88d9-610eb87ae3d3} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.38 MiB (attempt to allocate chunk of 1118096 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a54a5 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a5339 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:256: DB::ColumnVector::reserve(unsigned long) @ 0x000000001d3d0fa6 in /usr/bin/clickhouse 15. /build/src/Interpreters/AggregationUtils.cpp:27: DB::prepareOutputBlockColumns(DB::Aggregator::Params const&, std::vector> const&, DB::Block const&, std::vector, std::allocator>>&, bool, unsigned long) @ 0x000000001c50fd62 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:2036: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ef741 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:0: auto std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)::operator()(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&) const @ 0x000000001c4ef9aa in /usr/bin/clickhouse 18. /build/src/Common/HashTable/HashMap.h:261: void HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::forEachValue>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&&) @ 0x000000001c4ef92f in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:2061: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4eed5e in /usr/bin/clickhouse 20. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c6915 in /usr/bin/clickhouse 21. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0c0f6e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb931f0 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8f36f in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 2024.09.24 01:49:59.182645 [ 44145 ] {34e3624e-91a6-4d80-8fb5-73d71e1d825a} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.28 MiB (attempt to allocate chunk of 1118096 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56230) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a54a5 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a5339 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:256: DB::ColumnVector::reserve(unsigned long) @ 0x000000001d3d0fa6 in /usr/bin/clickhouse 15. /build/src/Interpreters/AggregationUtils.cpp:27: DB::prepareOutputBlockColumns(DB::Aggregator::Params const&, std::vector> const&, DB::Block const&, std::vector, std::allocator>>&, bool, unsigned long) @ 0x000000001c50fd62 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:2036: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ef741 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:0: auto std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)::operator()(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&) const @ 0x000000001c4ef9aa in /usr/bin/clickhouse 18. /build/src/Common/HashTable/HashMap.h:261: void HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::forEachValue>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&&) @ 0x000000001c4ef92f in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:2061: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4eed5e in /usr/bin/clickhouse 20. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c6915 in /usr/bin/clickhouse 21. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0c0f6e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb931f0 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8f36f in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 2024.09.24 01:49:59.190114 [ 44145 ] {34e3624e-91a6-4d80-8fb5-73d71e1d825a} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.28 MiB (attempt to allocate chunk of 1118096 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a54a5 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a5339 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:256: DB::ColumnVector::reserve(unsigned long) @ 0x000000001d3d0fa6 in /usr/bin/clickhouse 15. /build/src/Interpreters/AggregationUtils.cpp:27: DB::prepareOutputBlockColumns(DB::Aggregator::Params const&, std::vector> const&, DB::Block const&, std::vector, std::allocator>>&, bool, unsigned long) @ 0x000000001c50fd62 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:2036: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ef741 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:0: auto std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)::operator()(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&) const @ 0x000000001c4ef9aa in /usr/bin/clickhouse 18. /build/src/Common/HashTable/HashMap.h:261: void HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::forEachValue>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&&) @ 0x000000001c4ef92f in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:2061: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4eed5e in /usr/bin/clickhouse 20. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c6915 in /usr/bin/clickhouse 21. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0c0f6e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb931f0 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8f36f in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 2024.09.24 01:49:59.194435 [ 44146 ] {b9325846-5fae-40ea-9019-d70d95f06906} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.32 MiB (attempt to allocate chunk of 1266472 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56244) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:49:59.202238 [ 44146 ] {b9325846-5fae-40ea-9019-d70d95f06906} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.32 MiB (attempt to allocate chunk of 1266472 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:49:59.248106 [ 44147 ] {2754c3b9-e5e2-476d-8212-b114b4482683} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.39 MiB (attempt to allocate chunk of 0 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56250) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:84: CurrentMemoryTracker::check() @ 0x000000001387ecd9 in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1823: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x000000001c00fc77 in /usr/bin/clickhouse 11. /build/src/Interpreters/Aggregator.cpp:1615: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c021353 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 2024.09.24 01:49:59.249326 [ 44148 ] {b12d411b-3dd9-4462-90f6-0f4f62253ab8} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.39 MiB (attempt to allocate chunk of 1267080 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56264) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:49:59.253442 [ 44147 ] {2754c3b9-e5e2-476d-8212-b114b4482683} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.39 MiB (attempt to allocate chunk of 0 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:84: CurrentMemoryTracker::check() @ 0x000000001387ecd9 in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1823: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x000000001c00fc77 in /usr/bin/clickhouse 11. /build/src/Interpreters/Aggregator.cpp:1615: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c021353 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 2024.09.24 01:49:59.256527 [ 44148 ] {b12d411b-3dd9-4462-90f6-0f4f62253ab8} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.39 MiB (attempt to allocate chunk of 1267080 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:49:59.690747 [ 34849 ] {9ee4aff7-7512-4219-82d6-bb8f475dda51} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.27 MiB (attempt to allocate chunk of 1118096 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56270) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a54a5 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a5339 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:256: DB::ColumnVector::reserve(unsigned long) @ 0x000000001d3d0fa6 in /usr/bin/clickhouse 15. /build/src/Interpreters/AggregationUtils.cpp:27: DB::prepareOutputBlockColumns(DB::Aggregator::Params const&, std::vector> const&, DB::Block const&, std::vector, std::allocator>>&, bool, unsigned long) @ 0x000000001c50fd62 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:2036: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ef741 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:0: auto std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)::operator()(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&) const @ 0x000000001c4ef9aa in /usr/bin/clickhouse 18. /build/src/Common/HashTable/HashMap.h:261: void HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::forEachValue>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&&) @ 0x000000001c4ef92f in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:2061: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4eed5e in /usr/bin/clickhouse 20. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c6915 in /usr/bin/clickhouse 21. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0c0f6e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb931f0 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8f36f in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 2024.09.24 01:49:59.698396 [ 34849 ] {9ee4aff7-7512-4219-82d6-bb8f475dda51} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.27 MiB (attempt to allocate chunk of 1118096 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a54a5 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a5339 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:256: DB::ColumnVector::reserve(unsigned long) @ 0x000000001d3d0fa6 in /usr/bin/clickhouse 15. /build/src/Interpreters/AggregationUtils.cpp:27: DB::prepareOutputBlockColumns(DB::Aggregator::Params const&, std::vector> const&, DB::Block const&, std::vector, std::allocator>>&, bool, unsigned long) @ 0x000000001c50fd62 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:2036: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ef741 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:0: auto std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)::operator()(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&) const @ 0x000000001c4ef9aa in /usr/bin/clickhouse 18. /build/src/Common/HashTable/HashMap.h:261: void HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::forEachValue>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&&) @ 0x000000001c4ef92f in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:2061: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4eed5e in /usr/bin/clickhouse 20. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c6915 in /usr/bin/clickhouse 21. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0c0f6e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb931f0 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8f36f in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 2024.09.24 01:49:59.837304 [ 44142 ] {f2a8b699-63ea-45a5-8198-5b902ca28239} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.28 MiB (attempt to allocate chunk of 1118096 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56280) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a54a5 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a5339 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:256: DB::ColumnVector::reserve(unsigned long) @ 0x000000001d3d0fa6 in /usr/bin/clickhouse 15. /build/src/Interpreters/AggregationUtils.cpp:27: DB::prepareOutputBlockColumns(DB::Aggregator::Params const&, std::vector> const&, DB::Block const&, std::vector, std::allocator>>&, bool, unsigned long) @ 0x000000001c50fd62 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:2036: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ef741 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:0: auto std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)::operator()(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&) const @ 0x000000001c4ef9aa in /usr/bin/clickhouse 18. /build/src/Common/HashTable/HashMap.h:261: void HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::forEachValue>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&&) @ 0x000000001c4ef92f in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:2061: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4eed5e in /usr/bin/clickhouse 20. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c6915 in /usr/bin/clickhouse 21. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0c0f6e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb931f0 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8f36f in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 2024.09.24 01:49:59.845806 [ 44142 ] {f2a8b699-63ea-45a5-8198-5b902ca28239} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.28 MiB (attempt to allocate chunk of 1118096 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a54a5 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a5339 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:256: DB::ColumnVector::reserve(unsigned long) @ 0x000000001d3d0fa6 in /usr/bin/clickhouse 15. /build/src/Interpreters/AggregationUtils.cpp:27: DB::prepareOutputBlockColumns(DB::Aggregator::Params const&, std::vector> const&, DB::Block const&, std::vector, std::allocator>>&, bool, unsigned long) @ 0x000000001c50fd62 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:2036: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ef741 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:0: auto std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)::operator()(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&) const @ 0x000000001c4ef9aa in /usr/bin/clickhouse 18. /build/src/Common/HashTable/HashMap.h:261: void HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::forEachValue>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&&) @ 0x000000001c4ef92f in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:2061: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4eed5e in /usr/bin/clickhouse 20. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c6915 in /usr/bin/clickhouse 21. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0c0f6e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb931f0 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8f36f in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 2024.09.24 01:50:01.096779 [ 34849 ] {6458fd03-810c-495e-8f51-dc7ec4dd074a} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.28 MiB (attempt to allocate chunk of 1118080 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:38850) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a54a5 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a5339 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:256: DB::ColumnVector::reserve(unsigned long) @ 0x000000001d3d0fa6 in /usr/bin/clickhouse 15. /build/src/Interpreters/AggregationUtils.cpp:27: DB::prepareOutputBlockColumns(DB::Aggregator::Params const&, std::vector> const&, DB::Block const&, std::vector, std::allocator>>&, bool, unsigned long) @ 0x000000001c50fd62 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:2036: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ef741 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:0: auto std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)::operator()(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&) const @ 0x000000001c4ef9aa in /usr/bin/clickhouse 18. /build/src/Common/HashTable/HashMap.h:261: void HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::forEachValue>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&&) @ 0x000000001c4ef92f in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:2061: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4eed5e in /usr/bin/clickhouse 20. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c6915 in /usr/bin/clickhouse 21. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0c0f6e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb931f0 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8f36f in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 2024.09.24 01:50:01.103520 [ 34849 ] {6458fd03-810c-495e-8f51-dc7ec4dd074a} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.28 MiB (attempt to allocate chunk of 1118080 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a54a5 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a5339 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:256: DB::ColumnVector::reserve(unsigned long) @ 0x000000001d3d0fa6 in /usr/bin/clickhouse 15. /build/src/Interpreters/AggregationUtils.cpp:27: DB::prepareOutputBlockColumns(DB::Aggregator::Params const&, std::vector> const&, DB::Block const&, std::vector, std::allocator>>&, bool, unsigned long) @ 0x000000001c50fd62 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:2036: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ef741 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:0: auto std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)::operator()(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&) const @ 0x000000001c4ef9aa in /usr/bin/clickhouse 18. /build/src/Common/HashTable/HashMap.h:261: void HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::forEachValue>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&&) @ 0x000000001c4ef92f in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:2061: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4eed5e in /usr/bin/clickhouse 20. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c6915 in /usr/bin/clickhouse 21. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0c0f6e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb931f0 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8f36f in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 2024.09.24 01:50:01.154899 [ 44142 ] {22b6c11f-fd24-4bef-aa30-ba00b0ac49e9} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.54 MiB (attempt to allocate chunk of 1267480 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:38862) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:50:01.162614 [ 44142 ] {22b6c11f-fd24-4bef-aa30-ba00b0ac49e9} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.54 MiB (attempt to allocate chunk of 1267480 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:50:01.180133 [ 44145 ] {a663622b-9b90-41f9-b4a0-5fe6574f1d80} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.60 MiB (attempt to allocate chunk of 1268056 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:38890) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:50:01.180789 [ 44144 ] {d5cc601c-671f-4529-abb4-670d9641efa3} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.63 MiB (attempt to allocate chunk of 1262216 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:38874) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:50:01.180805 [ 44143 ] {450a73b3-a872-439a-812a-4ea23775335c} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.33 MiB (attempt to allocate chunk of 1118080 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:38866) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a54a5 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a5339 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:256: DB::ColumnVector::reserve(unsigned long) @ 0x000000001d3d0fa6 in /usr/bin/clickhouse 15. /build/src/Interpreters/AggregationUtils.cpp:27: DB::prepareOutputBlockColumns(DB::Aggregator::Params const&, std::vector> const&, DB::Block const&, std::vector, std::allocator>>&, bool, unsigned long) @ 0x000000001c50fd62 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:2036: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ef741 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:0: auto std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)::operator()(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&) const @ 0x000000001c4ef9aa in /usr/bin/clickhouse 18. /build/src/Common/HashTable/HashMap.h:261: void HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::forEachValue>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&&) @ 0x000000001c4ef92f in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:2061: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4eed5e in /usr/bin/clickhouse 20. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c6915 in /usr/bin/clickhouse 21. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0c0f6e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb931f0 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8f36f in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 2024.09.24 01:50:01.185988 [ 44145 ] {a663622b-9b90-41f9-b4a0-5fe6574f1d80} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.60 MiB (attempt to allocate chunk of 1268056 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:50:01.188675 [ 44143 ] {450a73b3-a872-439a-812a-4ea23775335c} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.33 MiB (attempt to allocate chunk of 1118080 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a54a5 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a5339 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:256: DB::ColumnVector::reserve(unsigned long) @ 0x000000001d3d0fa6 in /usr/bin/clickhouse 15. /build/src/Interpreters/AggregationUtils.cpp:27: DB::prepareOutputBlockColumns(DB::Aggregator::Params const&, std::vector> const&, DB::Block const&, std::vector, std::allocator>>&, bool, unsigned long) @ 0x000000001c50fd62 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:2036: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ef741 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:0: auto std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)::operator()(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&) const @ 0x000000001c4ef9aa in /usr/bin/clickhouse 18. /build/src/Common/HashTable/HashMap.h:261: void HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::forEachValue>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&&) @ 0x000000001c4ef92f in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:2061: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4eed5e in /usr/bin/clickhouse 20. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c6915 in /usr/bin/clickhouse 21. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0c0f6e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb931f0 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8f36f in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 2024.09.24 01:50:01.189370 [ 44144 ] {d5cc601c-671f-4529-abb4-670d9641efa3} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.63 MiB (attempt to allocate chunk of 1262216 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:50:01.273091 [ 44146 ] {b5349cda-70e8-47b6-bd34-c24044d5ef95} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.27 MiB (attempt to allocate chunk of 1118096 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:38904) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a54a5 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a5339 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:256: DB::ColumnVector::reserve(unsigned long) @ 0x000000001d3d0fa6 in /usr/bin/clickhouse 15. /build/src/Interpreters/AggregationUtils.cpp:27: DB::prepareOutputBlockColumns(DB::Aggregator::Params const&, std::vector> const&, DB::Block const&, std::vector, std::allocator>>&, bool, unsigned long) @ 0x000000001c50fd62 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:2036: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ef741 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:0: auto std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)::operator()(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&) const @ 0x000000001c4ef9aa in /usr/bin/clickhouse 18. /build/src/Common/HashTable/HashMap.h:261: void HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::forEachValue>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&&) @ 0x000000001c4ef92f in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:2061: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4eed5e in /usr/bin/clickhouse 20. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c6915 in /usr/bin/clickhouse 21. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0c0f6e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb931f0 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8f36f in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 2024.09.24 01:50:01.280511 [ 44146 ] {b5349cda-70e8-47b6-bd34-c24044d5ef95} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.27 MiB (attempt to allocate chunk of 1118096 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a54a5 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a5339 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:256: DB::ColumnVector::reserve(unsigned long) @ 0x000000001d3d0fa6 in /usr/bin/clickhouse 15. /build/src/Interpreters/AggregationUtils.cpp:27: DB::prepareOutputBlockColumns(DB::Aggregator::Params const&, std::vector> const&, DB::Block const&, std::vector, std::allocator>>&, bool, unsigned long) @ 0x000000001c50fd62 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:2036: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ef741 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:0: auto std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)::operator()(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&) const @ 0x000000001c4ef9aa in /usr/bin/clickhouse 18. /build/src/Common/HashTable/HashMap.h:261: void HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::forEachValue>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&&) @ 0x000000001c4ef92f in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:2061: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4eed5e in /usr/bin/clickhouse 20. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c6915 in /usr/bin/clickhouse 21. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0c0f6e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb931f0 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8f36f in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 2024.09.24 01:50:01.370214 [ 44148 ] {7256ff01-f4b3-4c13-b5cb-a534c948a8b1} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.42 MiB (attempt to allocate chunk of 1269336 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:38928) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:50:01.378208 [ 44147 ] {1827f21d-2aeb-4129-b4fe-0223962989a9} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.37 MiB (attempt to allocate chunk of 1118096 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:38912) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a54a5 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a5339 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:256: DB::ColumnVector::reserve(unsigned long) @ 0x000000001d3d0fa6 in /usr/bin/clickhouse 15. /build/src/Interpreters/AggregationUtils.cpp:27: DB::prepareOutputBlockColumns(DB::Aggregator::Params const&, std::vector> const&, DB::Block const&, std::vector, std::allocator>>&, bool, unsigned long) @ 0x000000001c50fd62 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:2036: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ef741 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:0: auto std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)::operator()(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&) const @ 0x000000001c4ef9aa in /usr/bin/clickhouse 18. /build/src/Common/HashTable/HashMap.h:261: void HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::forEachValue>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&&) @ 0x000000001c4ef92f in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:2061: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4eed5e in /usr/bin/clickhouse 20. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c6915 in /usr/bin/clickhouse 21. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0c0f6e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb931f0 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8f36f in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 2024.09.24 01:50:01.380012 [ 44148 ] {7256ff01-f4b3-4c13-b5cb-a534c948a8b1} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.42 MiB (attempt to allocate chunk of 1269336 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387dc66 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19e60e in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22d3c0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d7287 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01be65 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c02116d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb89f93 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb878b9 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 2024.09.24 01:50:01.383975 [ 44147 ] {1827f21d-2aeb-4129-b4fe-0223962989a9} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.37 MiB (attempt to allocate chunk of 1118096 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a54a5 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a5339 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:256: DB::ColumnVector::reserve(unsigned long) @ 0x000000001d3d0fa6 in /usr/bin/clickhouse 15. /build/src/Interpreters/AggregationUtils.cpp:27: DB::prepareOutputBlockColumns(DB::Aggregator::Params const&, std::vector> const&, DB::Block const&, std::vector, std::allocator>>&, bool, unsigned long) @ 0x000000001c50fd62 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:2036: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ef741 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:0: auto std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)::operator()(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&) const @ 0x000000001c4ef9aa in /usr/bin/clickhouse 18. /build/src/Common/HashTable/HashMap.h:261: void HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::forEachValue>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&&) @ 0x000000001c4ef92f in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:2061: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4eed5e in /usr/bin/clickhouse 20. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c6915 in /usr/bin/clickhouse 21. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0c0f6e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb931f0 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8f36f in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 2024.09.24 01:50:01.989235 [ 44148 ] {f1f530ea-44b6-4a2d-9503-b1e61c8b564b} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.28 MiB (attempt to allocate chunk of 1118096 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:38930) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a54a5 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a5339 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:256: DB::ColumnVector::reserve(unsigned long) @ 0x000000001d3d0fa6 in /usr/bin/clickhouse 15. /build/src/Interpreters/AggregationUtils.cpp:27: DB::prepareOutputBlockColumns(DB::Aggregator::Params const&, std::vector> const&, DB::Block const&, std::vector, std::allocator>>&, bool, unsigned long) @ 0x000000001c50fd62 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:2036: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ef741 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:0: auto std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)::operator()(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&) const @ 0x000000001c4ef9aa in /usr/bin/clickhouse 18. /build/src/Common/HashTable/HashMap.h:261: void HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::forEachValue>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&&) @ 0x000000001c4ef92f in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:2061: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4eed5e in /usr/bin/clickhouse 20. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c6915 in /usr/bin/clickhouse 21. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0c0f6e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb931f0 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8f36f in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 2024.09.24 01:50:01.998381 [ 44148 ] {f1f530ea-44b6-4a2d-9503-b1e61c8b564b} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.28 MiB (attempt to allocate chunk of 1118096 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a54a5 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a5339 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:256: DB::ColumnVector::reserve(unsigned long) @ 0x000000001d3d0fa6 in /usr/bin/clickhouse 15. /build/src/Interpreters/AggregationUtils.cpp:27: DB::prepareOutputBlockColumns(DB::Aggregator::Params const&, std::vector> const&, DB::Block const&, std::vector, std::allocator>>&, bool, unsigned long) @ 0x000000001c50fd62 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:2036: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ef741 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:0: auto std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)::operator()(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&) const @ 0x000000001c4ef9aa in /usr/bin/clickhouse 18. /build/src/Common/HashTable/HashMap.h:261: void HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::forEachValue>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&&) @ 0x000000001c4ef92f in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:2061: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4eed5e in /usr/bin/clickhouse 20. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c6915 in /usr/bin/clickhouse 21. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0c0f6e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb931f0 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8f36f in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 2024.09.24 01:50:02.067419 [ 44149 ] {d6f23e04-ded3-4d32-a49a-4f972ca081b0} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.39 MiB (attempt to allocate chunk of 1118096 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:38932) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a54a5 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a5339 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:256: DB::ColumnVector::reserve(unsigned long) @ 0x000000001d3d0fa6 in /usr/bin/clickhouse 15. /build/src/Interpreters/AggregationUtils.cpp:27: DB::prepareOutputBlockColumns(DB::Aggregator::Params const&, std::vector> const&, DB::Block const&, std::vector, std::allocator>>&, bool, unsigned long) @ 0x000000001c50fd62 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:2036: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ef741 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:0: auto std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)::operator()(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&) const @ 0x000000001c4ef9aa in /usr/bin/clickhouse 18. /build/src/Common/HashTable/HashMap.h:261: void HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::forEachValue>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&&) @ 0x000000001c4ef92f in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:2061: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4eed5e in /usr/bin/clickhouse 20. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c6915 in /usr/bin/clickhouse 21. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0c0f6e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb931f0 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8f36f in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 2024.09.24 01:50:02.074112 [ 44149 ] {d6f23e04-ded3-4d32-a49a-4f972ca081b0} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.39 MiB (attempt to allocate chunk of 1118096 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a54a5 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a5339 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:256: DB::ColumnVector::reserve(unsigned long) @ 0x000000001d3d0fa6 in /usr/bin/clickhouse 15. /build/src/Interpreters/AggregationUtils.cpp:27: DB::prepareOutputBlockColumns(DB::Aggregator::Params const&, std::vector> const&, DB::Block const&, std::vector, std::allocator>>&, bool, unsigned long) @ 0x000000001c50fd62 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:2036: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ef741 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:0: auto std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)::operator()(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&) const @ 0x000000001c4ef9aa in /usr/bin/clickhouse 18. /build/src/Common/HashTable/HashMap.h:261: void HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::forEachValue>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&&) @ 0x000000001c4ef92f in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:2061: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4eed5e in /usr/bin/clickhouse 20. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c6915 in /usr/bin/clickhouse 21. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0c0f6e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb931f0 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8f36f in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 2024.09.24 01:50:03.136818 [ 44148 ] {3d865a0e-ae4e-45ea-a78f-5048e3695d8b} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.27 MiB (attempt to allocate chunk of 1118096 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:38934) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a54a5 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a5339 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:256: DB::ColumnVector::reserve(unsigned long) @ 0x000000001d3d0fa6 in /usr/bin/clickhouse 15. /build/src/Interpreters/AggregationUtils.cpp:27: DB::prepareOutputBlockColumns(DB::Aggregator::Params const&, std::vector> const&, DB::Block const&, std::vector, std::allocator>>&, bool, unsigned long) @ 0x000000001c50fd62 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:2036: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ef741 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:0: auto std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)::operator()(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&) const @ 0x000000001c4ef9aa in /usr/bin/clickhouse 18. /build/src/Common/HashTable/HashMap.h:261: void HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::forEachValue>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&&) @ 0x000000001c4ef92f in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:2061: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4eed5e in /usr/bin/clickhouse 20. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c6915 in /usr/bin/clickhouse 21. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0c0f6e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb931f0 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8f36f in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 2024.09.24 01:50:03.143886 [ 44148 ] {3d865a0e-ae4e-45ea-a78f-5048e3695d8b} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.27 MiB (attempt to allocate chunk of 1118096 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a54a5 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a5339 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:256: DB::ColumnVector::reserve(unsigned long) @ 0x000000001d3d0fa6 in /usr/bin/clickhouse 15. /build/src/Interpreters/AggregationUtils.cpp:27: DB::prepareOutputBlockColumns(DB::Aggregator::Params const&, std::vector> const&, DB::Block const&, std::vector, std::allocator>>&, bool, unsigned long) @ 0x000000001c50fd62 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:2036: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ef741 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:0: auto std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)::operator()(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&) const @ 0x000000001c4ef9aa in /usr/bin/clickhouse 18. /build/src/Common/HashTable/HashMap.h:261: void HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::forEachValue>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&&) @ 0x000000001c4ef92f in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:2061: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4eed5e in /usr/bin/clickhouse 20. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c6915 in /usr/bin/clickhouse 21. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0c0f6e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb931f0 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8f36f in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 2024.09.24 01:50:03.144814 [ 44148 ] {3d865a0e-ae4e-45ea-a78f-5048e3695d8b} TCPHandler: Client has gone away. 2024.09.24 01:50:12.564986 [ 743 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:50:12.565716 [ 743 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:50:12.639720 [ 743 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:50:27.796477 [ 748 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:50:27.797157 [ 748 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:50:27.878458 [ 748 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:50:35.737729 [ 44148 ] {2ef5f3a6-b3b5-4c9b-8158-2a5bac4472e2} executeQuery: Code: 201. DB::Exception: Quota for user `u02247` for 3155695200s has been exceeded: written_bytes = 29/25. Interval will end at 2069-12-31 08:00:00. Name of quota template: `q02247`. (QUOTA_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:35308) (comment: 02247_written_bytes_quota.sh) (in query: INSERT INTO written_bytes_02247 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x000000001a509d36 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x000000001b0a64ed in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x000000001b0a4b35 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x000000001b0a389b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x000000001b0a3808 in /usr/bin/clickhouse 10. /build/src/Interpreters/AsynchronousInsertQueue.cpp:261: DB::AsynchronousInsertQueue::push(std::shared_ptr, std::shared_ptr) @ 0x000000001bd77e92 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:948: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af79f in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:50:35.739289 [ 44148 ] {2ef5f3a6-b3b5-4c9b-8158-2a5bac4472e2} TCPHandler: Code: 201. DB::Exception: Quota for user `u02247` for 3155695200s has been exceeded: written_bytes = 29/25. Interval will end at 2069-12-31 08:00:00. Name of quota template: `q02247`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x000000001a509d36 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x000000001b0a64ed in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x000000001b0a4b35 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x000000001b0a389b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x000000001b0a3808 in /usr/bin/clickhouse 10. /build/src/Interpreters/AsynchronousInsertQueue.cpp:261: DB::AsynchronousInsertQueue::push(std::shared_ptr, std::shared_ptr) @ 0x000000001bd77e92 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:948: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af79f in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:50:37.829752 [ 44148 ] {3942bf01-fe75-4d44-ab1b-6bf91221926b} executeQuery: Code: 201. DB::Exception: Quota for user `u02247` for 3155695200s has been exceeded: written_bytes = 29/25. Interval will end at 2069-12-31 08:00:00. Name of quota template: `q02247`. (QUOTA_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:35310) (comment: 02247_written_bytes_quota.sh) (in query: INSERT INTO written_bytes_02247 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x000000001a509d36 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x000000001b0a64ed in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:88: DB::EnabledQuota::Impl::checkExceeded(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, std::chrono::time_point>>) @ 0x000000001b0a4ebd in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:284: DB::EnabledQuota::checkExceeded(DB::QuotaType) const @ 0x000000001b0a3d66 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:68: DB::InterpreterInsertQuery::InterpreterInsertQuery(std::shared_ptr const&, std::shared_ptr, bool, bool, bool, bool) @ 0x000000001ca7e9ea in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, bool&>(std::shared_ptr&, std::shared_ptr&, bool&) @ 0x000000001ca5aa4f in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterFactory.cpp:172: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5871a in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 21. ? @ 0x00007f1d281b3ac3 in ? 22. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:50:37.831328 [ 44148 ] {3942bf01-fe75-4d44-ab1b-6bf91221926b} TCPHandler: Code: 201. DB::Exception: Quota for user `u02247` for 3155695200s has been exceeded: written_bytes = 29/25. Interval will end at 2069-12-31 08:00:00. Name of quota template: `q02247`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x000000001a509d36 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x000000001b0a64ed in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:88: DB::EnabledQuota::Impl::checkExceeded(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, std::chrono::time_point>>) @ 0x000000001b0a4ebd in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:284: DB::EnabledQuota::checkExceeded(DB::QuotaType) const @ 0x000000001b0a3d66 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:68: DB::InterpreterInsertQuery::InterpreterInsertQuery(std::shared_ptr const&, std::shared_ptr, bool, bool, bool, bool) @ 0x000000001ca7e9ea in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, bool&>(std::shared_ptr&, std::shared_ptr&, bool&) @ 0x000000001ca5aa4f in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterFactory.cpp:172: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca5871a in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 21. ? @ 0x00007f1d281b3ac3 in ? 22. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:50:43.040982 [ 804 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:50:43.041715 [ 804 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:50:43.114561 [ 804 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:50:50.229430 [ 44148 ] {576a0f32-b89b-416a-ba55-adb2ec5c3606} executeQuery: Code: 201. DB::Exception: Quota for user `u02247` for 3155695200s has been exceeded: written_bytes = 1630/1000. Interval will end at 2069-12-31 08:00:00. Name of quota template: `q02247`. (QUOTA_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:41540) (comment: 02247_written_bytes_quota.sh) (in query: INSERT INTO written_bytes_02247 SELECT toString(number) FROM numbers(100)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x000000001a509d36 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x000000001b0a64ed in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x000000001b0a4b35 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x000000001b0a389b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x000000001b0a3808 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/CountingTransform.cpp:0: DB::CountingTransform::onConsume(DB::Chunk) @ 0x000000001eba3eb9 in /usr/bin/clickhouse 11. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:49: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6cec1d in /usr/bin/clickhouse 27. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:90: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x000000001e6ceaaa in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x000000001e6cea55 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6cea39 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x000000001e6ce99d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x000000001e6ce8a7 in /usr/bin/clickhouse 2024.09.24 01:50:50.231423 [ 44148 ] {576a0f32-b89b-416a-ba55-adb2ec5c3606} TCPHandler: Code: 201. DB::Exception: Quota for user `u02247` for 3155695200s has been exceeded: written_bytes = 1630/1000. Interval will end at 2069-12-31 08:00:00. Name of quota template: `q02247`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x000000001a509d36 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x000000001b0a64ed in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x000000001b0a4b35 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x000000001b0a389b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x000000001b0a3808 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/CountingTransform.cpp:0: DB::CountingTransform::onConsume(DB::Chunk) @ 0x000000001eba3eb9 in /usr/bin/clickhouse 11. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6d0b91 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d0196 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:49: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6cec1d in /usr/bin/clickhouse 27. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:90: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x000000001e6ceaaa in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x000000001e6cea55 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6cea39 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x000000001e6ce99d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x000000001e6ce8a7 in /usr/bin/clickhouse 2024.09.24 01:50:58.289661 [ 814 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:50:58.290526 [ 814 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:50:58.353907 [ 814 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:51:13.513579 [ 791 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:51:13.514163 [ 791 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:51:13.579031 [ 791 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:51:28.745835 [ 735 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:51:28.746593 [ 735 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:51:28.807458 [ 735 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:51:43.994904 [ 720 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:51:43.995474 [ 720 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:51:44.060549 [ 720 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:51:59.214563 [ 812 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:51:59.215320 [ 812 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:51:59.277646 [ 812 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:52:14.439961 [ 803 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:52:14.441390 [ 803 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:52:14.505841 [ 803 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:52:29.649343 [ 742 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:52:29.649895 [ 742 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:52:29.723526 [ 742 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:52:44.887430 [ 763 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:52:44.888008 [ 763 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:52:44.971337 [ 763 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:53:00.138157 [ 810 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:53:00.138749 [ 810 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:53:00.200496 [ 810 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:53:15.351373 [ 831 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:53:15.351979 [ 831 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:53:15.423247 [ 831 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:53:30.585733 [ 794 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:53:30.586247 [ 794 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:53:30.650492 [ 794 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:53:45.805523 [ 825 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:53:45.806064 [ 825 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:53:45.894666 [ 825 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:54:01.060420 [ 723 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:54:01.061119 [ 723 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:54:01.132311 [ 723 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:54:16.287138 [ 804 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:54:16.287667 [ 804 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:54:16.352820 [ 804 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:54:31.515052 [ 804 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:54:31.515588 [ 804 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:54:31.578080 [ 804 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:54:46.720026 [ 818 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:54:46.720654 [ 818 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:54:46.783533 [ 818 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:55:01.949332 [ 825 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:55:01.949908 [ 825 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:55:02.024857 [ 825 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:55:17.172281 [ 820 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:55:17.172989 [ 820 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:55:17.249764 [ 820 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:55:32.392102 [ 725 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:55:32.392684 [ 725 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:55:32.490265 [ 725 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:55:47.644165 [ 832 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:55:47.644913 [ 832 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:55:47.732986 [ 832 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:56:02.874802 [ 832 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:56:02.875360 [ 832 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:56:02.947742 [ 832 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:56:18.104279 [ 741 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:56:18.104869 [ 741 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:56:18.167560 [ 741 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:56:33.334125 [ 747 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:56:33.334826 [ 747 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:56:33.395088 [ 747 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:56:45.618914 [ 44845 ] {d477ff47-816f-40b1-920e-f0b91bbe56ff} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.16.41.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:34770) (comment: 02232_dist_insert_send_logs_level_hung.sh) (in query: INSERT INTO test_06hlgr11.in_02232 (key) VALUES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f983e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x000000001ccaa25b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6d0a80 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6d115c in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:160: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d15ca in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:105: DB::PushingPipelineExecutor::push(DB::Chunk) @ 0x000000001e6fb80b in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:112: DB::PushingPipelineExecutor::push(DB::Block) @ 0x000000001e6fb8f9 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:862: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d44c in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 21. ? @ 0x00007f1d281b3ac3 in ? 22. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:56:45.620410 [ 44845 ] {d477ff47-816f-40b1-920e-f0b91bbe56ff} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f983e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x000000001ccaa25b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6d0a80 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6d115c in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:160: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d15ca in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:105: DB::PushingPipelineExecutor::push(DB::Chunk) @ 0x000000001e6fb80b in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:112: DB::PushingPipelineExecutor::push(DB::Block) @ 0x000000001e6fb8f9 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:862: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d44c in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 21. ? @ 0x00007f1d281b3ac3 in ? 22. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:56:45.719528 [ 44845 ] {} TCPHandler: Code: 101. DB::NetException: Unexpected packet Data received from client. (UNEXPECTED_PACKET_FROM_CLIENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:14: DB::NetException::NetException(int, char const (&) [44]) @ 0x000000001e65b17e in /usr/bin/clickhouse 6. /build/src/Server/TCPHandler.cpp:1848: DB::TCPHandler::receiveUnexpectedData(bool) @ 0x000000001e653b22 in /usr/bin/clickhouse 7. /build/src/Server/TCPHandler.cpp:0: DB::TCPHandler::receivePacket() @ 0x000000001e64ac8f in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:348: DB::TCPHandler::runImpl() @ 0x000000001e642e21 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:56:45.886014 [ 44148 ] {1d75cd02-bfd8-4b7d-9816-86f8d5ba4a0b} StorageDistributed (remote): Code: 394. DB::Exception: Received from 127.2:9000. DB::Exception: Query was cancelled. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f983e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x000000001ccaa25b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6d0a80 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6d115c in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:160: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d15ca in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:105: DB::PushingPipelineExecutor::push(DB::Chunk) @ 0x000000001e6fb80b in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:112: DB::PushingPipelineExecutor::push(DB::Block) @ 0x000000001e6fb8f9 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:862: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d44c in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 21. ? @ 0x00007f1d281b3ac3 in ? 22. ? @ 0x00007f1d28244a04 in ? . (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b200fea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b200f95 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1364: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x0000000013983722 in /usr/bin/clickhouse 7. /build/src/Client/Connection.cpp:1150: DB::Connection::receiveException() const @ 0x000000001e4c6199 in /usr/bin/clickhouse 8. /build/src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000001e4cc791 in /usr/bin/clickhouse 9. /build/src/QueryPipeline/RemoteInserter.cpp:103: DB::RemoteInserter::write(DB::Block) @ 0x000000001dcf0623 in /usr/bin/clickhouse 10. /build/src/Processors/Sinks/RemoteSink.h:23: DB::RemoteSink::consume(DB::Chunk) @ 0x000000001dd120f5 in /usr/bin/clickhouse 11. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2ec62 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:105: DB::PushingPipelineExecutor::push(DB::Chunk) @ 0x000000001e6fb80b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:112: DB::PushingPipelineExecutor::push(DB::Block) @ 0x000000001e6fb8f9 in /usr/bin/clickhouse 27. /build/src/Storages/Distributed/DistributedSink.cpp:407: DB::DistributedSink::runWritingJob(DB::DistributedSink::JobReplica&, DB::Block const&, unsigned long)::$_0::operator()() const @ 0x000000001dd0ae66 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::DistributedSink::runWritingJob(DB::DistributedSink::JobReplica&, DB::Block const&, unsigned long)::$_0&) @ 0x000000001dd09c95 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::DistributedSink::runWritingJob(DB::DistributedSink::JobReplica&, DB::Block const&, unsigned long)::$_0&) @ 0x000000001dd09c75 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001dd09c55 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001dd09c20 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:56:45.975331 [ 44148 ] {1d75cd02-bfd8-4b7d-9816-86f8d5ba4a0b} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:47182). (NETWORK_ERROR) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:47182) (comment: 02232_dist_insert_send_logs_level_hung.sh) (in query: insert into function remote('127.2', currentDatabase(), in_02232) select * from numbers(1e6)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000013cefb88 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000013cef1a4 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b204acd in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:1136: DB::TCPHandler::sendProfileEvents() @ 0x000000001e64fbf9 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1146: DB::TCPHandler::sendSelectProfileEvents() @ 0x000000001e64baf4 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:558: DB::TCPHandler::runImpl() @ 0x000000001e643ae2 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:56:45.977323 [ 44148 ] {1d75cd02-bfd8-4b7d-9816-86f8d5ba4a0b} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:47182). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000013cefb88 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000013cef1a4 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b204acd in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:2073: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001e655c35 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2150: DB::TCPHandler::sendLogs() @ 0x000000001e64c2df in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:672: DB::TCPHandler::runImpl() @ 0x000000001e6448d7 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 01:56:45.977689 [ 44148 ] {1d75cd02-bfd8-4b7d-9816-86f8d5ba4a0b} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:47182). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000013cefb88 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000013cef1a4 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b204acd in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:1136: DB::TCPHandler::sendProfileEvents() @ 0x000000001e64fbf9 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1146: DB::TCPHandler::sendSelectProfileEvents() @ 0x000000001e64baf4 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:558: DB::TCPHandler::runImpl() @ 0x000000001e643ae2 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:56:45.978197 [ 44148 ] {1d75cd02-bfd8-4b7d-9816-86f8d5ba4a0b} TCPHandler: Client has gone away. 2024.09.24 01:56:48.545322 [ 815 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:56:48.545867 [ 815 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:56:48.626588 [ 815 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:57:01.882898 [ 44148 ] {5bded0bb-c6bd-4173-80c6-bd6626caf7a0} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 300.05 MiB (attempt to allocate chunk of 1049982 bytes), maximum: 300.00 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:41808) (comment: 02228_merge_tree_insert_memory_usage.sql) (in query: insert into data_02228 select number, 1, number from numbers_mt(100e3) settings max_memory_usage='300Mi', max_partitions_per_insert_block=1024, max_insert_delayed_streams_for_parallel_write=10000000;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/Compression/CompressedWriteBuffer.cpp:66: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x000000001b7d4d74 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:71: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000001df866f4 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000001df9cbe3 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: auto DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001df95b25 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&)::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001df9565d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001df9561d in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001df955dd in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001df955a8 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba22e3e in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba211dd in /usr/bin/clickhouse 24. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1ec56 in /usr/bin/clickhouse 25. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1eddc in /usr/bin/clickhouse 26. /build/src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:132: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000001df900f1 in /usr/bin/clickhouse 27. /build/src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:90: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000001df8ff69 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&>(std::shared_ptr&&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String&&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000001df76830 in /usr/bin/clickhouse 29. /build/src/Storages/MergeTree/MergeTreeDataPartWide.cpp:57: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000001df7220b in /usr/bin/clickhouse 30. /build/src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000001e1f9acb in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000001e1edc69 in /usr/bin/clickhouse 2024.09.24 01:57:01.884611 [ 44148 ] {5bded0bb-c6bd-4173-80c6-bd6626caf7a0} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 300.05 MiB (attempt to allocate chunk of 1049982 bytes), maximum: 300.00 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/Compression/CompressedWriteBuffer.cpp:66: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x000000001b7d4d74 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:71: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000001df866f4 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000001df9cbe3 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: auto DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001df95b25 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&)::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001df9565d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001df9561d in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001df955dd in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001df955a8 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba22e3e in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba211dd in /usr/bin/clickhouse 24. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1ec56 in /usr/bin/clickhouse 25. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1eddc in /usr/bin/clickhouse 26. /build/src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:132: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000001df900f1 in /usr/bin/clickhouse 27. /build/src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:90: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000001df8ff69 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&>(std::shared_ptr&&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String&&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000001df76830 in /usr/bin/clickhouse 29. /build/src/Storages/MergeTree/MergeTreeDataPartWide.cpp:57: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000001df7220b in /usr/bin/clickhouse 30. /build/src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000001e1f9acb in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000001e1edc69 in /usr/bin/clickhouse 2024.09.24 01:57:03.785733 [ 722 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:57:03.786299 [ 722 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:57:03.861618 [ 722 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:57:19.006337 [ 810 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:57:19.006979 [ 810 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:57:19.069351 [ 810 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:57:24.898383 [ 44148 ] {f1a5f2c9-5a92-4ec9-98f1-808fdc5b95ce} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 300.07 MiB (attempt to allocate chunk of 1049982 bytes), maximum: 300.00 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:41808) (comment: 02228_merge_tree_insert_memory_usage.sql) (in query: insert into data_rep_02228 select number, 1, number from numbers_mt(100e3) settings max_memory_usage='300Mi', max_partitions_per_insert_block=1024, max_insert_delayed_streams_for_parallel_write=10000000;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/Compression/CompressedWriteBuffer.cpp:66: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x000000001b7d4d74 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:71: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000001df866f4 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000001df9cbe3 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: auto DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001df95b25 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&)::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001df9565d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001df9561d in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001df955dd in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001df955a8 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba22e3e in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba211dd in /usr/bin/clickhouse 24. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1ec56 in /usr/bin/clickhouse 25. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1eddc in /usr/bin/clickhouse 26. /build/src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:132: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000001df900f1 in /usr/bin/clickhouse 27. /build/src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:90: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000001df8ff69 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&>(std::shared_ptr&&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String&&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000001df76830 in /usr/bin/clickhouse 29. /build/src/Storages/MergeTree/MergeTreeDataPartWide.cpp:57: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000001df7220b in /usr/bin/clickhouse 30. /build/src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000001e1f9acb in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000001e1edc69 in /usr/bin/clickhouse 2024.09.24 01:57:24.900684 [ 44148 ] {f1a5f2c9-5a92-4ec9-98f1-808fdc5b95ce} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 300.07 MiB (attempt to allocate chunk of 1049982 bytes), maximum: 300.00 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fdc7d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc150 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fc4a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387eb1b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387ed21 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000001387808e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013977fcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013977e00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399cdf5 in /usr/bin/clickhouse 14. /build/src/Compression/CompressedWriteBuffer.cpp:66: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x000000001b7d4d74 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:71: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000001df866f4 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000001df9cbe3 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: auto DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001df95b25 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&)::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001df9565d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001df9561d in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001df955dd in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001df955a8 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba22e3e in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba211dd in /usr/bin/clickhouse 24. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1ec56 in /usr/bin/clickhouse 25. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1eddc in /usr/bin/clickhouse 26. /build/src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:132: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000001df900f1 in /usr/bin/clickhouse 27. /build/src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:90: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000001df8ff69 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&>(std::shared_ptr&&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String&&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000001df76830 in /usr/bin/clickhouse 29. /build/src/Storages/MergeTree/MergeTreeDataPartWide.cpp:57: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000001df7220b in /usr/bin/clickhouse 30. /build/src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000001e1f9acb in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000001e1edc69 in /usr/bin/clickhouse 2024.09.24 01:57:34.214661 [ 763 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:57:34.215288 [ 763 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:57:34.301634 [ 763 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:57:34.675628 [ 44148 ] {e15a2a64-0680-4acb-a028-f34ca687822d} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:60246) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:57:34.676415 [ 44148 ] {e15a2a64-0680-4acb-a028-f34ca687822d} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:57:43.471172 [ 44148 ] {c6d36400-80e8-4722-b541-e4c46f465579} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/data.jsonl doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40294) (comment: 02222_create_table_without_columns_metadata.sh) (in query: select * from test), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:57:43.473252 [ 44148 ] {c6d36400-80e8-4722-b541-e4c46f465579} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/data.jsonl doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:57:49.468554 [ 840 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:57:49.469202 [ 840 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:57:49.532176 [ 840 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:57:53.726728 [ 44148 ] {84a7b851-dda1-4bc4-b86d-59c2bf7950d1} executeQuery: Code: 60. DB::Exception: Table test_ztep7wso.test does not exist. (UNKNOWN_TABLE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:38274) (comment: 02222_create_table_without_columns_metadata.sh) (in query: select * from test_dist), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53612 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc20756 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:97: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000001ee2e888 in /usr/bin/clickhouse 13. /build/src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_1::operator()() const @ 0x000000001d680e42 in /usr/bin/clickhouse 14. /build/src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:180: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000001d680196 in /usr/bin/clickhouse 15. /build/src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000001d687ee0 in /usr/bin/clickhouse 16. /build/src/Storages/StorageDistributed.cpp:802: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d659af3 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:57:53.729060 [ 44148 ] {84a7b851-dda1-4bc4-b86d-59c2bf7950d1} TCPHandler: Code: 60. DB::Exception: Table test_ztep7wso.test does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53612 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc20756 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:97: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000001ee2e888 in /usr/bin/clickhouse 13. /build/src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_1::operator()() const @ 0x000000001d680e42 in /usr/bin/clickhouse 14. /build/src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:180: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000001d680196 in /usr/bin/clickhouse 15. /build/src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000001d687ee0 in /usr/bin/clickhouse 16. /build/src/Storages/StorageDistributed.cpp:802: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d659af3 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 01:58:04.682605 [ 770 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:58:04.683192 [ 770 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:58:04.779703 [ 770 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:58:19.929069 [ 728 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:58:19.929908 [ 728 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:58:19.991914 [ 728 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:58:31.409776 [ 44148 ] {bdecb17a-0e7e-49b1-a8c9-3f8b8d2a6855} executeQuery: Code: 641. DB::Exception: Cannot append data in format Parquet to file, because this format doesn't support appends. You can allow to create a new file on each insert by enabling setting engine_file_allow_create_multiple_files. (CANNOT_APPEND_TO_FILE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:44044) (comment: 02168_avro_bug.sql) (in query: insert into table function file('data.avro', 'Parquet', 'x UInt64') select * from numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1804: DB::StorageFile::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001d6a2664 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:58:31.410623 [ 44148 ] {bdecb17a-0e7e-49b1-a8c9-3f8b8d2a6855} TCPHandler: Code: 641. DB::Exception: Cannot append data in format Parquet to file, because this format doesn't support appends. You can allow to create a new file on each insert by enabling setting engine_file_allow_create_multiple_files. (CANNOT_APPEND_TO_FILE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1804: DB::StorageFile::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001d6a2664 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:58:31.422860 [ 44148 ] {f5fa1326-7712-46fc-bb63-0a6e3bdf6e26} executeQuery: Code: 641. DB::Exception: Cannot append data in format Parquet to file, because this format doesn't support appends. You can allow to create a new file on each insert by enabling setting engine_file_allow_create_multiple_files. (CANNOT_APPEND_TO_FILE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:44044) (comment: 02168_avro_bug.sql) (in query: insert into table function file('data.avro', 'Parquet', 'x UInt64') select * from numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1804: DB::StorageFile::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001d6a2664 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:58:31.423517 [ 44148 ] {f5fa1326-7712-46fc-bb63-0a6e3bdf6e26} TCPHandler: Code: 641. DB::Exception: Cannot append data in format Parquet to file, because this format doesn't support appends. You can allow to create a new file on each insert by enabling setting engine_file_allow_create_multiple_files. (CANNOT_APPEND_TO_FILE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1804: DB::StorageFile::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001d6a2664 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece157a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca806c0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca82cdb in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:58:35.150886 [ 720 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:58:35.151392 [ 720 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:58:35.226535 [ 720 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:58:50.393979 [ 769 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:58:50.394593 [ 769 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:58:50.472499 [ 769 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:59:05.622246 [ 808 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:59:05.622853 [ 808 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:59:05.685084 [ 808 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:59:20.838848 [ 721 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:59:20.839414 [ 721 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:59:20.900327 [ 721 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:59:36.062799 [ 772 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:59:36.063595 [ 772 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:59:36.125730 [ 772 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:59:51.264789 [ 771 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 01:59:51.265390 [ 771 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 01:59:51.341334 [ 771 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 01:59:57.507457 [ 44148 ] {2d323053-429f-4532-beb0-06a13f500495} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:42748) (comment: 02167_format_from_file_extension.sh) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 01:59:57.509276 [ 44148 ] {2d323053-429f-4532-beb0-06a13f500495} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:00:06.501738 [ 743 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:00:06.502453 [ 743 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:00:06.576910 [ 743 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:00:21.741360 [ 718 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:00:21.741910 [ 718 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:00:21.821277 [ 718 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:00:36.974822 [ 727 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:00:36.975387 [ 727 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:00:37.050461 [ 727 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:00:52.212597 [ 786 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:00:52.213337 [ 786 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:00:52.302996 [ 786 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:01:07.444739 [ 779 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:01:07.445272 [ 779 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:01:07.508349 [ 779 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:01:17.742034 [ 44148 ] {0154d22f-182e-48e6-b25e-46ceebd5291d} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:45694) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:01:17.743200 [ 44148 ] {0154d22f-182e-48e6-b25e-46ceebd5291d} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:01:22.667598 [ 734 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:01:22.668132 [ 734 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:01:22.755527 [ 734 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:01:37.923068 [ 758 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:01:37.923702 [ 758 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:01:38.001251 [ 758 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:01:43.978367 [ 44148 ] {cb70e8dd-e05d-423b-872c-cf85f10b1fca} executeQuery: Code: 33. DB::ParsingException: Error while parsing Nullable: got an unquoted string n instead of a number: Could not print diagnostic info because two last rows aren't in buffer (rare case) : While executing CustomSeparatedRowInputFormat: While executing File: (in file/uri /var/lib/clickhouse/user_files/test_02130.data): (at row 1) . (CANNOT_READ_ALL_DATA) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:47016) (comment: 02130_parse_quoted_null.sh) (in query: select * from file('test_02130.data', 'CustomSeparated', 'x Nullable(Float64), y Nullable(UInt64)') settings input_format_parallel_parsing=0, format_custom_escaping_rule='Quoted'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000139b50d3 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationNullable.cpp:455: void DB::SerializationNullable::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda1'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba69152 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationNullable.cpp:209: void DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda1'()&, void DB::SerializationNullable::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda1'(DB::IColumn&)&, (void*)0>(DB::IColumn&, DB::ISerialization const&, void DB::SerializationNullable::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda1'()&, void DB::SerializationNullable::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda1'(DB::IColumn&)&) @ 0x000000001ba638e6 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:461: void DB::SerializationNullable::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba65575 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:395: DB::SerializationNullable::deserializeTextQuoted(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001ba629f1 in /usr/bin/clickhouse 10. /build/src/Formats/EscapingRuleUtils.cpp:121: DB::deserializeFieldByEscapingRule(std::shared_ptr const&, std::shared_ptr const&, DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings::EscapingRule, DB::FormatSettings const&) @ 0x000000001e7d9c19 in /usr/bin/clickhouse 11. /build/src/Processors/Formats/Impl/CustomSeparatedRowInputFormat.cpp:292: DB::CustomSeparatedFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e88e009 in /usr/bin/clickhouse 12. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea0d8 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 14. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f6dbe in /usr/bin/clickhouse 21. /build/src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000001d6b141a in /usr/bin/clickhouse 22. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 2024.09.24 02:01:43.981684 [ 44148 ] {cb70e8dd-e05d-423b-872c-cf85f10b1fca} TCPHandler: Code: 33. DB::ParsingException: Error while parsing Nullable: got an unquoted string n instead of a number: Could not print diagnostic info because two last rows aren't in buffer (rare case) : While executing CustomSeparatedRowInputFormat: While executing File: (in file/uri /var/lib/clickhouse/user_files/test_02130.data): (at row 1) . (CANNOT_READ_ALL_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000139b50d3 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationNullable.cpp:455: void DB::SerializationNullable::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda1'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba69152 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationNullable.cpp:209: void DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda1'()&, void DB::SerializationNullable::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda1'(DB::IColumn&)&, (void*)0>(DB::IColumn&, DB::ISerialization const&, void DB::SerializationNullable::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda1'()&, void DB::SerializationNullable::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda1'(DB::IColumn&)&) @ 0x000000001ba638e6 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:461: void DB::SerializationNullable::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba65575 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:395: DB::SerializationNullable::deserializeTextQuoted(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001ba629f1 in /usr/bin/clickhouse 10. /build/src/Formats/EscapingRuleUtils.cpp:121: DB::deserializeFieldByEscapingRule(std::shared_ptr const&, std::shared_ptr const&, DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings::EscapingRule, DB::FormatSettings const&) @ 0x000000001e7d9c19 in /usr/bin/clickhouse 11. /build/src/Processors/Formats/Impl/CustomSeparatedRowInputFormat.cpp:292: DB::CustomSeparatedFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e88e009 in /usr/bin/clickhouse 12. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea0d8 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 14. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f6dbe in /usr/bin/clickhouse 21. /build/src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000001d6b141a in /usr/bin/clickhouse 22. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 2024.09.24 02:01:49.937204 [ 44148 ] {d05610be-4912-4862-a26e-7c663235bfba} executeQuery: Code: 47. DB::Exception: Missing columns: 'x' while processing query: 'SELECT x', required columns: 'x'. (UNKNOWN_IDENTIFIER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:47052) (comment: 02126_identity_user_defined_function.sql) (in query: SELECT 02126_function();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:01:49.938163 [ 44148 ] {d05610be-4912-4862-a26e-7c663235bfba} TCPHandler: Code: 47. DB::Exception: Missing columns: 'x' while processing query: 'SELECT x', required columns: 'x'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9c679 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9db70 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 25. ? @ 0x00007f1d281b3ac3 in ? 26. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:01:52.272188 [ 44148 ] {fc83bed1-7e6d-4624-b1d5-e4b9234f4459} executeQuery: Code: 1. DB::Exception: Recursive function call detected during function call 02125_function. (UNSUPPORTED_METHOD) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:42050) (comment: 02125_recursive_sql_user_defined_functions.sql) (in query: SELECT 02125_function(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:133: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x000000001ef9ce93 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:187: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x000000001ef9d656 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:112: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x000000001ef9ca6e in /usr/bin/clickhouse 9. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:117: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x000000001ef9cb6c in /usr/bin/clickhouse 10. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:117: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x000000001ef9cb6c in /usr/bin/clickhouse 11. /build/src/Interpreters/TreeRewriter.cpp:1363: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x000000001cf9eed6 in /usr/bin/clickhouse 12. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d467 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:01:52.273046 [ 44148 ] {fc83bed1-7e6d-4624-b1d5-e4b9234f4459} TCPHandler: Code: 1. DB::Exception: Recursive function call detected during function call 02125_function. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:133: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x000000001ef9ce93 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:187: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x000000001ef9d656 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:112: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x000000001ef9ca6e in /usr/bin/clickhouse 9. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:117: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x000000001ef9cb6c in /usr/bin/clickhouse 10. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:117: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x000000001ef9cb6c in /usr/bin/clickhouse 11. /build/src/Interpreters/TreeRewriter.cpp:1363: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x000000001cf9eed6 in /usr/bin/clickhouse 12. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d467 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:01:52.474297 [ 44148 ] {8285293c-54ed-4f40-9e1f-b9a1626b6d60} executeQuery: Code: 1. DB::Exception: Recursive function call detected during function call 02125_function_1. (UNSUPPORTED_METHOD) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:42050) (comment: 02125_recursive_sql_user_defined_functions.sql) (in query: SELECT 02125_function_1(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:133: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x000000001ef9ce93 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:187: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x000000001ef9d656 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:187: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x000000001ef9d656 in /usr/bin/clickhouse 9. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:112: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x000000001ef9ca6e in /usr/bin/clickhouse 10. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:117: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x000000001ef9cb6c in /usr/bin/clickhouse 11. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:117: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x000000001ef9cb6c in /usr/bin/clickhouse 12. /build/src/Interpreters/TreeRewriter.cpp:1363: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x000000001cf9eed6 in /usr/bin/clickhouse 13. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d467 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 02:01:52.475350 [ 44148 ] {8285293c-54ed-4f40-9e1f-b9a1626b6d60} TCPHandler: Code: 1. DB::Exception: Recursive function call detected during function call 02125_function_1. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:133: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x000000001ef9ce93 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:187: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x000000001ef9d656 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:187: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x000000001ef9d656 in /usr/bin/clickhouse 9. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:112: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x000000001ef9ca6e in /usr/bin/clickhouse 10. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:117: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x000000001ef9cb6c in /usr/bin/clickhouse 11. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:117: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x000000001ef9cb6c in /usr/bin/clickhouse 12. /build/src/Interpreters/TreeRewriter.cpp:1363: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x000000001cf9eed6 in /usr/bin/clickhouse 13. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d467 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 02:01:52.482451 [ 44148 ] {89585606-ae38-45f9-8822-2f9ffc8da8b7} executeQuery: Code: 1. DB::Exception: Recursive function call detected during function call 02125_function_2. (UNSUPPORTED_METHOD) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:42050) (comment: 02125_recursive_sql_user_defined_functions.sql) (in query: SELECT 02125_function_2(2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:133: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x000000001ef9ce93 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:187: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x000000001ef9d656 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:187: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x000000001ef9d656 in /usr/bin/clickhouse 9. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:112: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x000000001ef9ca6e in /usr/bin/clickhouse 10. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:117: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x000000001ef9cb6c in /usr/bin/clickhouse 11. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:117: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x000000001ef9cb6c in /usr/bin/clickhouse 12. /build/src/Interpreters/TreeRewriter.cpp:1363: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x000000001cf9eed6 in /usr/bin/clickhouse 13. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d467 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 02:01:52.483080 [ 44148 ] {89585606-ae38-45f9-8822-2f9ffc8da8b7} TCPHandler: Code: 1. DB::Exception: Recursive function call detected during function call 02125_function_2. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:133: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x000000001ef9ce93 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:187: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x000000001ef9d656 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:187: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x000000001ef9d656 in /usr/bin/clickhouse 9. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:112: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x000000001ef9ca6e in /usr/bin/clickhouse 10. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:117: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x000000001ef9cb6c in /usr/bin/clickhouse 11. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:117: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x000000001ef9cb6c in /usr/bin/clickhouse 12. /build/src/Interpreters/TreeRewriter.cpp:1363: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x000000001cf9eed6 in /usr/bin/clickhouse 13. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9d467 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae12f in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 31. ? @ 0x00007f1d281b3ac3 in ? 2024.09.24 02:01:53.161431 [ 741 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:01:53.162055 [ 741 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:01:53.224194 [ 741 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:01:56.039993 [ 44148 ] {0bf58467-8d11-44dd-a18c-909906d4e58c} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:42054) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:01:56.040831 [ 44148 ] {0bf58467-8d11-44dd-a18c-909906d4e58c} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:01:57.775559 [ 36359 ] {78e64155-bd1b-4d43-b95f-9a20729457b4} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 632. DB::Exception: Unexpected data 'trash' after parsed Array value '[1,2,3]': (while reading the value of key x). (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba218a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba205fb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationArray.cpp:500: DB::SerializationArray::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x000000001ba2e7f4 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b1a0417 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6a83c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba60c92 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba643d3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89f99e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b2c29 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea0d8 in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 18. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 19. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 20. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:01:57.780199 [ 44148 ] {78e64155-bd1b-4d43-b95f-9a20729457b4} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Array value '[1,2,3]': (while reading the value of key x): While executing ParallelParsingBlockInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:42068) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x Array(UInt32)')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba218a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba205fb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationArray.cpp:500: DB::SerializationArray::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x000000001ba2e7f4 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b1a0417 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6a83c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba60c92 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba643d3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89f99e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b2c29 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea0d8 in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 18. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 19. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 20. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 2024.09.24 02:01:57.784463 [ 44148 ] {78e64155-bd1b-4d43-b95f-9a20729457b4} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Array value '[1,2,3]': (while reading the value of key x): While executing ParallelParsingBlockInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba218a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba205fb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationArray.cpp:500: DB::SerializationArray::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x000000001ba2e7f4 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b1a0417 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6a83c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba60c92 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba643d3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89f99e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b2c29 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea0d8 in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 18. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 19. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 20. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 2024.09.24 02:01:59.813205 [ 16599 ] {e473e4f7-c6b5-45cd-af19-26f30356ad8e} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 632. DB::Exception: Unexpected data 'trash' after parsed Date value '1970-01-02': (while reading the value of key x). (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba218a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba205fb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDate.cpp:23: DB::SerializationDate::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001ba35dd3 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6a83c in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba60c92 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba643d3 in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89f99e in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b2c29 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea0d8 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 17. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 18. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 19. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:01:59.818001 [ 44148 ] {e473e4f7-c6b5-45cd-af19-26f30356ad8e} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Date value '1970-01-02': (while reading the value of key x): While executing ParallelParsingBlockInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:42074) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x Date')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba218a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba205fb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDate.cpp:23: DB::SerializationDate::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001ba35dd3 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6a83c in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba60c92 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba643d3 in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89f99e in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b2c29 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea0d8 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 17. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 18. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 19. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 2024.09.24 02:01:59.822094 [ 44148 ] {e473e4f7-c6b5-45cd-af19-26f30356ad8e} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Date value '1970-01-02': (while reading the value of key x): While executing ParallelParsingBlockInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba218a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba205fb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDate.cpp:23: DB::SerializationDate::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001ba35dd3 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6a83c in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba60c92 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba643d3 in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89f99e in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b2c29 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea0d8 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 17. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 18. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 19. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 2024.09.24 02:02:01.725198 [ 16991 ] {a999cf36-4896-42e8-9f24-41242a6098e7} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 632. DB::Exception: Unexpected data 'trash' after parsed Date32 value '1970-01-02': (while reading the value of key x). (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba218a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba205fb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDate32.cpp:21: DB::SerializationDate32::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001ba365d3 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6a83c in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba60c92 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba643d3 in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89f99e in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b2c29 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea0d8 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 17. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 18. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 19. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:02:01.730097 [ 44148 ] {a999cf36-4896-42e8-9f24-41242a6098e7} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Date32 value '1970-01-02': (while reading the value of key x): While executing ParallelParsingBlockInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:55660) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x Date32')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba218a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba205fb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDate32.cpp:21: DB::SerializationDate32::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001ba365d3 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6a83c in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba60c92 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba643d3 in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89f99e in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b2c29 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea0d8 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 17. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 18. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 19. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 2024.09.24 02:02:01.734115 [ 44148 ] {a999cf36-4896-42e8-9f24-41242a6098e7} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Date32 value '1970-01-02': (while reading the value of key x): While executing ParallelParsingBlockInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba218a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba205fb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDate32.cpp:21: DB::SerializationDate32::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001ba365d3 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6a83c in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba60c92 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba643d3 in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89f99e in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b2c29 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea0d8 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 17. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 18. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 19. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 2024.09.24 02:02:03.580418 [ 17154 ] {5819d6c9-a512-4866-aa3a-51dfafe123f6} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 632. DB::Exception: Unexpected data 'trash' after parsed DateTime value '1970-01-01 03:00:01': (while reading the value of key x). (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba218a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba205fb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDateTime.cpp:70: DB::SerializationDateTime::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001ba371f3 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6a83c in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba60c92 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba643d3 in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89f99e in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b2c29 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea0d8 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 17. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 18. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 19. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:02:03.585193 [ 44148 ] {5819d6c9-a512-4866-aa3a-51dfafe123f6} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash' after parsed DateTime value '1970-01-01 03:00:01': (while reading the value of key x): While executing ParallelParsingBlockInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:55670) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x DateTime')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba218a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba205fb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDateTime.cpp:70: DB::SerializationDateTime::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001ba371f3 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6a83c in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba60c92 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba643d3 in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89f99e in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b2c29 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea0d8 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 17. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 18. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 19. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 2024.09.24 02:02:03.588787 [ 44148 ] {5819d6c9-a512-4866-aa3a-51dfafe123f6} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash' after parsed DateTime value '1970-01-01 03:00:01': (while reading the value of key x): While executing ParallelParsingBlockInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba218a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba205fb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDateTime.cpp:70: DB::SerializationDateTime::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001ba371f3 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6a83c in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba60c92 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba643d3 in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89f99e in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b2c29 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea0d8 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 17. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 18. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 19. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 2024.09.24 02:02:05.567270 [ 17142 ] {5c8461fa-07b3-444c-a2cc-46c78c552d32} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 632. DB::Exception: Unexpected data 'trash' after parsed DateTime64 value '1970-01-01 03:00:01.0000': (while reading the value of key x). (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba218a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba205fb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDateTime64.cpp:55: DB::SerializationDateTime64::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001ba38853 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6a83c in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba60c92 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba643d3 in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89f99e in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b2c29 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea0d8 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 17. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 18. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 19. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:02:05.572183 [ 44148 ] {5c8461fa-07b3-444c-a2cc-46c78c552d32} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash' after parsed DateTime64 value '1970-01-01 03:00:01.0000': (while reading the value of key x): While executing ParallelParsingBlockInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:55684) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x DateTime64(4)')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba218a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba205fb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDateTime64.cpp:55: DB::SerializationDateTime64::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001ba38853 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6a83c in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba60c92 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba643d3 in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89f99e in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b2c29 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea0d8 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 17. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 18. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 19. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 2024.09.24 02:02:05.575835 [ 44148 ] {5c8461fa-07b3-444c-a2cc-46c78c552d32} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash' after parsed DateTime64 value '1970-01-01 03:00:01.0000': (while reading the value of key x): While executing ParallelParsingBlockInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba218a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba205fb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDateTime64.cpp:55: DB::SerializationDateTime64::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001ba38853 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6a83c in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba60c92 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba643d3 in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89f99e in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b2c29 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea0d8 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 17. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 18. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 19. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 2024.09.24 02:02:07.482446 [ 17337 ] {a77c06a8-5c3c-46b4-9588-eed68de7f011} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 632. DB::Exception: Unexpected data 'trash' after parsed Number value '42': (while reading the value of key x). (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba218a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba205fb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationNumber.cpp:37: DB::SerializationNumber::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x000000001ba6fda2 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b1a0417 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6a83c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba60c92 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba643d3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89f99e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b2c29 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea0d8 in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 18. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 19. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 20. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:02:07.487697 [ 44148 ] {a77c06a8-5c3c-46b4-9588-eed68de7f011} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Number value '42': (while reading the value of key x): While executing ParallelParsingBlockInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:55694) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x UInt32')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba218a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba205fb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationNumber.cpp:37: DB::SerializationNumber::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x000000001ba6fda2 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b1a0417 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6a83c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba60c92 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba643d3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89f99e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b2c29 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea0d8 in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 18. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 19. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 20. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 2024.09.24 02:02:07.491431 [ 44148 ] {a77c06a8-5c3c-46b4-9588-eed68de7f011} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Number value '42': (while reading the value of key x): While executing ParallelParsingBlockInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba218a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba205fb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationNumber.cpp:37: DB::SerializationNumber::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x000000001ba6fda2 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b1a0417 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6a83c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba60c92 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba643d3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89f99e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b2c29 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea0d8 in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 18. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 19. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 20. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 2024.09.24 02:02:08.399826 [ 820 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:02:08.400628 [ 820 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:02:08.461036 [ 820 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:02:09.535792 [ 38233 ] {fe327c23-3447-4b94-a5a5-8bb9a085b00e} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 632. DB::Exception: Unexpected data 'trash' after parsed Decimal value '42.4242': (while reading the value of key x). (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba218a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba205fb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDecimal.cpp:61: DB::SerializationDecimal>::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x000000001ba3ac49 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b1a0417 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6a83c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba60c92 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba643d3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89f99e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b2c29 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea0d8 in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 18. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 19. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 20. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:02:09.540864 [ 44148 ] {fe327c23-3447-4b94-a5a5-8bb9a085b00e} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Decimal value '42.4242': (while reading the value of key x): While executing ParallelParsingBlockInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:55696) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x Decimal32(4)')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba218a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba205fb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDecimal.cpp:61: DB::SerializationDecimal>::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x000000001ba3ac49 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b1a0417 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6a83c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba60c92 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba643d3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89f99e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b2c29 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea0d8 in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 18. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 19. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 20. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 2024.09.24 02:02:09.544919 [ 44148 ] {fe327c23-3447-4b94-a5a5-8bb9a085b00e} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Decimal value '42.4242': (while reading the value of key x): While executing ParallelParsingBlockInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba218a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba205fb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDecimal.cpp:61: DB::SerializationDecimal>::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x000000001ba3ac49 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b1a0417 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6a83c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba60c92 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba643d3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89f99e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b2c29 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea0d8 in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 18. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 19. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 20. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 2024.09.24 02:02:11.488823 [ 17061 ] {cf4537a0-39dd-462d-aace-390540a951c8} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 632. DB::Exception: Unexpected data 'trash' after parsed IPv4 value '0.0.0.0': (while reading the value of key x). (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba218a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba205fb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationIPv4andIPv6.h:26: DB::SerializationIP::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x000000000b5e0976 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b1a0417 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6a83c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba60c92 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba643d3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89f99e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b2c29 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea0d8 in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 18. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 19. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 20. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:02:11.494199 [ 44148 ] {cf4537a0-39dd-462d-aace-390540a951c8} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash' after parsed IPv4 value '0.0.0.0': (while reading the value of key x): While executing ParallelParsingBlockInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53258) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x IPv4')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba218a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba205fb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationIPv4andIPv6.h:26: DB::SerializationIP::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x000000000b5e0976 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b1a0417 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6a83c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba60c92 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba643d3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89f99e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b2c29 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea0d8 in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 18. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 19. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 20. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 2024.09.24 02:02:11.498483 [ 44148 ] {cf4537a0-39dd-462d-aace-390540a951c8} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash' after parsed IPv4 value '0.0.0.0': (while reading the value of key x): While executing ParallelParsingBlockInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba218a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba205fb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationIPv4andIPv6.h:26: DB::SerializationIP::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x000000000b5e0976 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b1a0417 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6a83c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba60c92 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba643d3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89f99e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b2c29 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea0d8 in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 18. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 19. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 20. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 2024.09.24 02:02:13.461698 [ 39329 ] {a0d1b541-2ede-4b42-8970-0ca041d506f3} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 27. DB::ParsingException: Cannot parse input: expected '\n' before: 'trash\n': Row 1: Column 0, name: x, type: IPv4, parsed text: "255.255.255.255" ERROR: garbage after IPv4: "trash" : (in file/uri /var/lib/clickhouse/user_files/data_02118): (at row 1) . (CANNOT_PARSE_INPUT_ASSERTION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x000000001398db33 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:92: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x0000000013980faa in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:201: DB::assertChar(char, DB::ReadBuffer&) @ 0x000000000b5e1be0 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/TabSeparatedRowInputFormat.cpp:102: DB::TabSeparatedFormatReader::skipRowEndDelimiter() @ 0x000000001eb3677d in /usr/bin/clickhouse 9. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:256: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea229 in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 14. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 15. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:02:13.474568 [ 44148 ] {a0d1b541-2ede-4b42-8970-0ca041d506f3} executeQuery: Code: 27. DB::ParsingException: Cannot parse input: expected '\n' before: 'trash\n': Row 1: Column 0, name: x, type: IPv4, parsed text: "255.255.255.255" ERROR: garbage after IPv4: "trash" : While executing ParallelParsingBlockInputFormat: While executing File: (in file/uri /var/lib/clickhouse/user_files/data_02118): (at row 1) . (CANNOT_PARSE_INPUT_ASSERTION_FAILED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53266) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'TSV', 'x IPv4')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x000000001398db33 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:92: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x0000000013980faa in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:201: DB::assertChar(char, DB::ReadBuffer&) @ 0x000000000b5e1be0 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/TabSeparatedRowInputFormat.cpp:102: DB::TabSeparatedFormatReader::skipRowEndDelimiter() @ 0x000000001eb3677d in /usr/bin/clickhouse 9. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:256: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea229 in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 14. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 15. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 2024.09.24 02:02:13.478004 [ 44148 ] {a0d1b541-2ede-4b42-8970-0ca041d506f3} TCPHandler: Code: 27. DB::ParsingException: Cannot parse input: expected '\n' before: 'trash\n': Row 1: Column 0, name: x, type: IPv4, parsed text: "255.255.255.255" ERROR: garbage after IPv4: "trash" : While executing ParallelParsingBlockInputFormat: While executing File: (in file/uri /var/lib/clickhouse/user_files/data_02118): (at row 1) . (CANNOT_PARSE_INPUT_ASSERTION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x000000001398db33 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:92: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x0000000013980faa in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:201: DB::assertChar(char, DB::ReadBuffer&) @ 0x000000000b5e1be0 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/TabSeparatedRowInputFormat.cpp:102: DB::TabSeparatedFormatReader::skipRowEndDelimiter() @ 0x000000001eb3677d in /usr/bin/clickhouse 9. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:256: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea229 in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 14. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 15. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 2024.09.24 02:02:15.430581 [ 38794 ] {06a454ac-0556-41aa-bd27-19782ee7e93b} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 117. DB::Exception: Expected end of line: (at row 1) : Could not print diagnostic info because two last rows aren't in buffer (rare case) . (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [21]) @ 0x000000001388b57e in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:202: DB::skipEndOfLine(DB::ReadBuffer&) @ 0x000000001e81ea3f in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:263: DB::CSVFormatReader::skipRowEndDelimiter() @ 0x000000001e81e7c9 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:256: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea229 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 14. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:02:15.435003 [ 44148 ] {06a454ac-0556-41aa-bd27-19782ee7e93b} executeQuery: Code: 117. DB::Exception: Expected end of line: (at row 1) : Could not print diagnostic info because two last rows aren't in buffer (rare case) : While executing ParallelParsingBlockInputFormat: While executing File. (INCORRECT_DATA) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53274) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'CSV', 'x IPv4')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [21]) @ 0x000000001388b57e in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:202: DB::skipEndOfLine(DB::ReadBuffer&) @ 0x000000001e81ea3f in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:263: DB::CSVFormatReader::skipRowEndDelimiter() @ 0x000000001e81e7c9 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:256: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea229 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 14. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 2024.09.24 02:02:15.438506 [ 44148 ] {06a454ac-0556-41aa-bd27-19782ee7e93b} TCPHandler: Code: 117. DB::Exception: Expected end of line: (at row 1) : Could not print diagnostic info because two last rows aren't in buffer (rare case) : While executing ParallelParsingBlockInputFormat: While executing File. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [21]) @ 0x000000001388b57e in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:202: DB::skipEndOfLine(DB::ReadBuffer&) @ 0x000000001e81ea3f in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:263: DB::CSVFormatReader::skipRowEndDelimiter() @ 0x000000001e81e7c9 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:256: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea229 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 14. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 2024.09.24 02:02:17.525696 [ 17020 ] {4b9406b5-d88f-4583-bf18-e44ebfb51ce3} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 632. DB::Exception: Unexpected data 'trash"] ' after parsed IPv4 value '0.0.0.0': (while reading the value of key x). (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba218a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba205fb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationIPv4andIPv6.h:67: DB::SerializationIP::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b5e0822 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:650: bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6c6dc in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(), bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&), (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&&, bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&&) @ 0x000000001ba61012 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:648: bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba64cfd in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:298: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89fafb in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b2c29 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea0d8 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 17. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 18. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 19. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:02:17.530769 [ 44148 ] {4b9406b5-d88f-4583-bf18-e44ebfb51ce3} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash"] ' after parsed IPv4 value '0.0.0.0': (while reading the value of key x): While executing ParallelParsingBlockInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53276) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactEachRow', 'x IPv4')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba218a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba205fb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationIPv4andIPv6.h:67: DB::SerializationIP::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b5e0822 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:650: bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6c6dc in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(), bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&), (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&&, bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&&) @ 0x000000001ba61012 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:648: bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba64cfd in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:298: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89fafb in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b2c29 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea0d8 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 17. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 18. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 19. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 2024.09.24 02:02:17.534227 [ 44148 ] {4b9406b5-d88f-4583-bf18-e44ebfb51ce3} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash"] ' after parsed IPv4 value '0.0.0.0': (while reading the value of key x): While executing ParallelParsingBlockInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba218a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba205fb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationIPv4andIPv6.h:67: DB::SerializationIP::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b5e0822 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:650: bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6c6dc in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(), bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&), (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&&, bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&&) @ 0x000000001ba61012 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:648: bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba64cfd in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:298: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89fafb in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b2c29 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea0d8 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 17. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 18. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 19. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 2024.09.24 02:02:19.476249 [ 16932 ] {b7193533-11d9-4c0e-89f8-aeefd0bbfac4} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 632. DB::Exception: Unexpected data 'b1trash' after parsed IPv6 value '::': (while reading the value of key x). (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba218a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba205fb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationIPv4andIPv6.h:26: DB::SerializationIP::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x000000000b60b64d in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b1a0417 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6a83c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba60c92 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba643d3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89f99e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b2c29 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea0d8 in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 18. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 19. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 20. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:02:19.481653 [ 44148 ] {b7193533-11d9-4c0e-89f8-aeefd0bbfac4} executeQuery: Code: 632. DB::Exception: Unexpected data 'b1trash' after parsed IPv6 value '::': (while reading the value of key x): While executing ParallelParsingBlockInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53288) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x IPv6')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba218a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba205fb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationIPv4andIPv6.h:26: DB::SerializationIP::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x000000000b60b64d in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b1a0417 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6a83c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba60c92 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba643d3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89f99e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b2c29 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea0d8 in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 18. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 19. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 20. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 2024.09.24 02:02:19.487231 [ 44148 ] {b7193533-11d9-4c0e-89f8-aeefd0bbfac4} TCPHandler: Code: 632. DB::Exception: Unexpected data 'b1trash' after parsed IPv6 value '::': (while reading the value of key x): While executing ParallelParsingBlockInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba218a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba205fb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationIPv4andIPv6.h:26: DB::SerializationIP::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x000000000b60b64d in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b1a0417 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6a83c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba60c92 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba643d3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89f99e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b2c29 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea0d8 in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 18. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 19. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 20. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 2024.09.24 02:02:21.553094 [ 17109 ] {6d436c18-7ad6-41b4-96df-5b54c281ae98} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 27. DB::ParsingException: Cannot parse input: expected '\n' before: 'b1trash\n': Row 1: Column 0, name: x, type: IPv6, parsed text: "0000:0000:0000:0000:0000:ffff:192.168.100.228" ERROR: garbage after IPv6: "b1trash" : (in file/uri /var/lib/clickhouse/user_files/data_02118): (at row 1) . (CANNOT_PARSE_INPUT_ASSERTION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x000000001398db33 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:92: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x0000000013980faa in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:201: DB::assertChar(char, DB::ReadBuffer&) @ 0x000000000b5e1be0 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/TabSeparatedRowInputFormat.cpp:102: DB::TabSeparatedFormatReader::skipRowEndDelimiter() @ 0x000000001eb3677d in /usr/bin/clickhouse 9. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:256: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea229 in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 14. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 15. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:02:21.558858 [ 44148 ] {6d436c18-7ad6-41b4-96df-5b54c281ae98} executeQuery: Code: 27. DB::ParsingException: Cannot parse input: expected '\n' before: 'b1trash\n': Row 1: Column 0, name: x, type: IPv6, parsed text: "0000:0000:0000:0000:0000:ffff:192.168.100.228" ERROR: garbage after IPv6: "b1trash" : While executing ParallelParsingBlockInputFormat: While executing File: (in file/uri /var/lib/clickhouse/user_files/data_02118): (at row 1) . (CANNOT_PARSE_INPUT_ASSERTION_FAILED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:59654) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'TSV', 'x IPv6')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x000000001398db33 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:92: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x0000000013980faa in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:201: DB::assertChar(char, DB::ReadBuffer&) @ 0x000000000b5e1be0 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/TabSeparatedRowInputFormat.cpp:102: DB::TabSeparatedFormatReader::skipRowEndDelimiter() @ 0x000000001eb3677d in /usr/bin/clickhouse 9. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:256: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea229 in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 14. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 15. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 2024.09.24 02:02:21.565586 [ 44148 ] {6d436c18-7ad6-41b4-96df-5b54c281ae98} TCPHandler: Code: 27. DB::ParsingException: Cannot parse input: expected '\n' before: 'b1trash\n': Row 1: Column 0, name: x, type: IPv6, parsed text: "0000:0000:0000:0000:0000:ffff:192.168.100.228" ERROR: garbage after IPv6: "b1trash" : While executing ParallelParsingBlockInputFormat: While executing File: (in file/uri /var/lib/clickhouse/user_files/data_02118): (at row 1) . (CANNOT_PARSE_INPUT_ASSERTION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x000000001398db33 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:92: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x0000000013980faa in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:201: DB::assertChar(char, DB::ReadBuffer&) @ 0x000000000b5e1be0 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/TabSeparatedRowInputFormat.cpp:102: DB::TabSeparatedFormatReader::skipRowEndDelimiter() @ 0x000000001eb3677d in /usr/bin/clickhouse 9. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:256: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea229 in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 14. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 15. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 2024.09.24 02:02:23.626692 [ 785 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:02:23.627204 [ 785 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:02:23.701313 [ 785 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:02:23.706439 [ 17440 ] {c0f4276e-5070-4346-93b6-cff813222796} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 117. DB::Exception: Expected end of line: (at row 1) : Could not print diagnostic info because two last rows aren't in buffer (rare case) . (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [21]) @ 0x000000001388b57e in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:202: DB::skipEndOfLine(DB::ReadBuffer&) @ 0x000000001e81ea3f in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:263: DB::CSVFormatReader::skipRowEndDelimiter() @ 0x000000001e81e7c9 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:256: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea229 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 14. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:02:23.711385 [ 44148 ] {c0f4276e-5070-4346-93b6-cff813222796} executeQuery: Code: 117. DB::Exception: Expected end of line: (at row 1) : Could not print diagnostic info because two last rows aren't in buffer (rare case) : While executing ParallelParsingBlockInputFormat: While executing File. (INCORRECT_DATA) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:59664) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'CSV', 'x IPv6')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [21]) @ 0x000000001388b57e in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:202: DB::skipEndOfLine(DB::ReadBuffer&) @ 0x000000001e81ea3f in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:263: DB::CSVFormatReader::skipRowEndDelimiter() @ 0x000000001e81e7c9 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:256: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea229 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 14. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 2024.09.24 02:02:23.714815 [ 44148 ] {c0f4276e-5070-4346-93b6-cff813222796} TCPHandler: Code: 117. DB::Exception: Expected end of line: (at row 1) : Could not print diagnostic info because two last rows aren't in buffer (rare case) : While executing ParallelParsingBlockInputFormat: While executing File. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [21]) @ 0x000000001388b57e in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:202: DB::skipEndOfLine(DB::ReadBuffer&) @ 0x000000001e81ea3f in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:263: DB::CSVFormatReader::skipRowEndDelimiter() @ 0x000000001e81e7c9 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:256: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea229 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 14. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 2024.09.24 02:02:25.745370 [ 2361 ] {61144811-e530-4c6e-b161-908fefd8067b} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 632. DB::Exception: Unexpected data 'b1trash"] ' after parsed IPv6 value '::': (while reading the value of key x). (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba218a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba205fb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationIPv4andIPv6.h:67: DB::SerializationIP::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b60b4e8 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:650: bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6c6dc in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(), bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&), (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&&, bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&&) @ 0x000000001ba61012 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:648: bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba64cfd in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:298: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89fafb in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b2c29 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea0d8 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 17. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 18. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 19. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:02:25.750276 [ 44148 ] {61144811-e530-4c6e-b161-908fefd8067b} executeQuery: Code: 632. DB::Exception: Unexpected data 'b1trash"] ' after parsed IPv6 value '::': (while reading the value of key x): While executing ParallelParsingBlockInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:59676) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactEachRow', 'x IPv6')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba218a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba205fb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationIPv4andIPv6.h:67: DB::SerializationIP::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b60b4e8 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:650: bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6c6dc in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(), bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&), (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&&, bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&&) @ 0x000000001ba61012 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:648: bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba64cfd in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:298: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89fafb in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b2c29 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea0d8 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 17. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 18. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 19. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 2024.09.24 02:02:25.754317 [ 44148 ] {61144811-e530-4c6e-b161-908fefd8067b} TCPHandler: Code: 632. DB::Exception: Unexpected data 'b1trash"] ' after parsed IPv6 value '::': (while reading the value of key x): While executing ParallelParsingBlockInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba218a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba205fb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationIPv4andIPv6.h:67: DB::SerializationIP::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b60b4e8 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:650: bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6c6dc in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(), bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&), (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&&, bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&&) @ 0x000000001ba61012 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:648: bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba64cfd in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:298: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89fafb in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b2c29 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea0d8 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 17. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 18. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 19. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 2024.09.24 02:02:27.713360 [ 17312 ] {49876beb-1fb4-488e-ac96-38f739268df8} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 632. DB::Exception: Unexpected data 'trash' after parsed Map value '{1:2,2:3}': (while reading the value of key x). (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba218a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba205fb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationMap.cpp:199: DB::SerializationMap::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x000000001ba5d25c in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b1a0417 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6a83c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba60c92 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba643d3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89f99e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b2c29 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea0d8 in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 18. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 19. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 20. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:02:27.718044 [ 44148 ] {49876beb-1fb4-488e-ac96-38f739268df8} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Map value '{1:2,2:3}': (while reading the value of key x): While executing ParallelParsingBlockInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:59682) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x Map(UInt32, UInt32)')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba218a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba205fb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationMap.cpp:199: DB::SerializationMap::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x000000001ba5d25c in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b1a0417 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6a83c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba60c92 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba643d3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89f99e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b2c29 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea0d8 in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 18. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 19. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 20. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 2024.09.24 02:02:27.722241 [ 44148 ] {49876beb-1fb4-488e-ac96-38f739268df8} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Map value '{1:2,2:3}': (while reading the value of key x): While executing ParallelParsingBlockInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba218a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba205fb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationMap.cpp:199: DB::SerializationMap::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x000000001ba5d25c in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b1a0417 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6a83c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba60c92 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba643d3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89f99e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b2c29 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea0d8 in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 18. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 19. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 20. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 2024.09.24 02:02:29.627012 [ 17396 ] {63e9a745-0ae7-4368-9332-47671a20e77f} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 632. DB::Exception: Unexpected data 'trash' after parsed Tuple value '(1,2)': (while reading the value of key x). (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba218a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba205fb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationTuple.cpp:153: DB::SerializationTuple::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const::$_0::operator()() const @ 0x000000001ba9f8cb in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationTuple.cpp:73: void DB::addElementSafe(unsigned long, DB::IColumn&, DB::SerializationTuple::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const::$_0&&) @ 0x000000001ba9d8f1 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationTuple.cpp:155: DB::SerializationTuple::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x000000001ba9d8b0 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b1a0417 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6a83c in /usr/bin/clickhouse 12. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba60c92 in /usr/bin/clickhouse 13. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba643d3 in /usr/bin/clickhouse 14. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89f99e in /usr/bin/clickhouse 15. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b2c29 in /usr/bin/clickhouse 16. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea0d8 in /usr/bin/clickhouse 17. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 19. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 20. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 21. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 22. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:02:29.631724 [ 44148 ] {63e9a745-0ae7-4368-9332-47671a20e77f} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Tuple value '(1,2)': (while reading the value of key x): While executing ParallelParsingBlockInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:59686) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x Tuple(UInt32, UInt32)')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba218a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba205fb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationTuple.cpp:153: DB::SerializationTuple::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const::$_0::operator()() const @ 0x000000001ba9f8cb in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationTuple.cpp:73: void DB::addElementSafe(unsigned long, DB::IColumn&, DB::SerializationTuple::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const::$_0&&) @ 0x000000001ba9d8f1 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationTuple.cpp:155: DB::SerializationTuple::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x000000001ba9d8b0 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b1a0417 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6a83c in /usr/bin/clickhouse 12. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba60c92 in /usr/bin/clickhouse 13. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba643d3 in /usr/bin/clickhouse 14. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89f99e in /usr/bin/clickhouse 15. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b2c29 in /usr/bin/clickhouse 16. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea0d8 in /usr/bin/clickhouse 17. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 19. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 20. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 21. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 22. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 2024.09.24 02:02:29.635560 [ 44148 ] {63e9a745-0ae7-4368-9332-47671a20e77f} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Tuple value '(1,2)': (while reading the value of key x): While executing ParallelParsingBlockInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba218a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba205fb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationTuple.cpp:153: DB::SerializationTuple::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const::$_0::operator()() const @ 0x000000001ba9f8cb in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationTuple.cpp:73: void DB::addElementSafe(unsigned long, DB::IColumn&, DB::SerializationTuple::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const::$_0&&) @ 0x000000001ba9d8f1 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationTuple.cpp:155: DB::SerializationTuple::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x000000001ba9d8b0 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b1a0417 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6a83c in /usr/bin/clickhouse 12. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba60c92 in /usr/bin/clickhouse 13. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba643d3 in /usr/bin/clickhouse 14. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89f99e in /usr/bin/clickhouse 15. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b2c29 in /usr/bin/clickhouse 16. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea0d8 in /usr/bin/clickhouse 17. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 19. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 20. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 21. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 22. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 2024.09.24 02:02:31.598713 [ 36397 ] {ebd9b590-da3d-4a82-a27a-174da3c567b6} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 632. DB::Exception: Unexpected data 'trash' after parsed UUID value 'ed9fd45d-6287-47c1-ad9f-d45d628767c1': (while reading the value of key x). (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba218a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba205fb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationUUID.cpp:27: DB::SerializationUUID::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x000000001baa6617 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b1a0417 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6a83c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba60c92 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba643d3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89f99e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b2c29 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea0d8 in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 18. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 19. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 20. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:02:31.603350 [ 44148 ] {ebd9b590-da3d-4a82-a27a-174da3c567b6} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash' after parsed UUID value 'ed9fd45d-6287-47c1-ad9f-d45d628767c1': (while reading the value of key x): While executing ParallelParsingBlockInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58368) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x UUID')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba218a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba205fb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationUUID.cpp:27: DB::SerializationUUID::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x000000001baa6617 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b1a0417 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6a83c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba60c92 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba643d3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89f99e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b2c29 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea0d8 in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 18. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 19. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 20. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 2024.09.24 02:02:31.607387 [ 44148 ] {ebd9b590-da3d-4a82-a27a-174da3c567b6} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash' after parsed UUID value 'ed9fd45d-6287-47c1-ad9f-d45d628767c1': (while reading the value of key x): While executing ParallelParsingBlockInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba218a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba205fb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationUUID.cpp:27: DB::SerializationUUID::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x000000001baa6617 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b1a0417 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6a83c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba60c92 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba643d3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89f99e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b2c29 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7ea0d8 in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a87b9 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b4df0 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b4aeb in /usr/bin/clickhouse 18. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001e927f3f in /usr/bin/clickhouse 19. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001e92659b in /usr/bin/clickhouse 20. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001e9293e1 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929395 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x000000001e929375 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e929355 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e929320 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 2024.09.24 02:02:34.958098 [ 44148 ] {cafbd69e-3a50-4dd2-b383-f45e6b21a33a} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58372) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:02:34.959478 [ 44148 ] {cafbd69e-3a50-4dd2-b383-f45e6b21a33a} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:02:38.854710 [ 759 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:02:38.855288 [ 759 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:02:38.915785 [ 759 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:02:54.081396 [ 791 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:02:54.082131 [ 791 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:02:54.158520 [ 791 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:03:09.309167 [ 757 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:03:09.309754 [ 757 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:03:09.387550 [ 757 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:03:24.543478 [ 742 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:03:24.544019 [ 742 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:03:24.623353 [ 742 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:03:27.700107 [ 44148 ] {73852152-b437-411f-af9a-aa709418407a} executeQuery: Code: 46. DB::Exception: User-defined function '02101_test_function' doesn't exist. (UNKNOWN_FUNCTION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54392) (comment: 02101_sql_user_defined_functions_drop_if_exists.sql) (in query: DROP FUNCTION 02101_test_function;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:167: DB::UserDefinedSQLFunctionFactory::unregisterFunction(std::shared_ptr const&, String const&, bool) @ 0x000000001ef97369 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterDropFunctionQuery.cpp:47: DB::InterpreterDropFunctionQuery::execute() @ 0x000000001ca7b658 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:03:27.700822 [ 44148 ] {73852152-b437-411f-af9a-aa709418407a} TCPHandler: Code: 46. DB::Exception: User-defined function '02101_test_function' doesn't exist. (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:167: DB::UserDefinedSQLFunctionFactory::unregisterFunction(std::shared_ptr const&, String const&, bool) @ 0x000000001ef97369 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterDropFunctionQuery.cpp:47: DB::InterpreterDropFunctionQuery::execute() @ 0x000000001ca7b658 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:03:39.769664 [ 757 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:03:39.770215 [ 757 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:03:39.851593 [ 757 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:03:47.043956 [ 44148 ] {4e38f3e3-b77b-4151-a558-b96d6a8a0e16} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54118) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:03:47.044729 [ 44148 ] {4e38f3e3-b77b-4151-a558-b96d6a8a0e16} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:03:55.016852 [ 793 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:03:55.017456 [ 793 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:03:55.095404 [ 793 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:04:10.258581 [ 778 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:04:10.259438 [ 778 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:04:10.343684 [ 778 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:04:25.512303 [ 830 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:04:25.512817 [ 830 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:04:25.574016 [ 830 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:04:40.716930 [ 808 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:04:40.717649 [ 808 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:04:40.778641 [ 808 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:04:55.943767 [ 722 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:04:55.944356 [ 722 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:04:56.017983 [ 722 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:05:11.174484 [ 809 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:05:11.175079 [ 809 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:05:11.255190 [ 809 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:05:26.412424 [ 799 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:05:26.413013 [ 799 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:05:26.475555 [ 799 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:05:40.711863 [ 44148 ] {29164033-1b01-48e2-9a76-5dba0aead355} executeQuery: Code: 59. DB::Exception: Illegal type Int8 of column n for filter. Must be UInt8 or Nullable(UInt8). (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:40656) (comment: 01902_table_function_merge_db_repr.sql) (in query: SELECT NULL FROM 01902_db.t_merge WHERE n ORDER BY _table DESC;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f7bec in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/FilterTransform.cpp:48: DB::FilterTransform::transformHeader(DB::Block, DB::ActionsDAG const*, String const&, bool) @ 0x000000001ebcc9bb in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/FilterStep.cpp:43: DB::FilterStep::FilterStep(DB::DataStream const&, std::shared_ptr const&, String, bool) @ 0x000000001ee4e2a5 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, String, bool&>(DB::DataStream const&, std::shared_ptr const&, String&&, bool&) @ 0x000000001caca513 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:2532: DB::InterpreterSelectQuery::executeWhere(DB::QueryPlan&, std::shared_ptr const&, bool) @ 0x000000001cabd435 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:1683: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5b2d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:05:40.712779 [ 44148 ] {29164033-1b01-48e2-9a76-5dba0aead355} TCPHandler: Code: 59. DB::Exception: Illegal type Int8 of column n for filter. Must be UInt8 or Nullable(UInt8). (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f7bec in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/FilterTransform.cpp:48: DB::FilterTransform::transformHeader(DB::Block, DB::ActionsDAG const*, String const&, bool) @ 0x000000001ebcc9bb in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/FilterStep.cpp:43: DB::FilterStep::FilterStep(DB::DataStream const&, std::shared_ptr const&, String, bool) @ 0x000000001ee4e2a5 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, String, bool&>(DB::DataStream const&, std::shared_ptr const&, String&&, bool&) @ 0x000000001caca513 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:2532: DB::InterpreterSelectQuery::executeWhere(DB::QueryPlan&, std::shared_ptr const&, bool) @ 0x000000001cabd435 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:1683: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab5b2d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 23. ? @ 0x00007f1d281b3ac3 in ? 24. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:05:41.615689 [ 771 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:05:41.616367 [ 771 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:05:41.701012 [ 771 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:05:50.302573 [ 47285 ] {751c853a-13ac-47df-a5b9-8c191aba26ef} executeQuery: Code: 611. DB::Exception: You cannot create recursive function. (CANNOT_CREATE_RECURSIVE_FUNCTION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54236) (comment: 01856_create_function.sql) (in query: CREATE FUNCTION 01856_test_function_1 AS (a, b) -> 01856_test_function_1(a, b) + 01856_test_function_1(a, b);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [37]) @ 0x000000000c57937e in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:39: DB::(anonymous namespace)::validateFunctionRecursiveness(DB::IAST const&, String const&) @ 0x000000001ef9886e in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:41: DB::(anonymous namespace)::validateFunctionRecursiveness(DB::IAST const&, String const&) @ 0x000000001ef988d4 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:81: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x000000001ef967ae in /usr/bin/clickhouse 9. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:114: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x000000001ef96160 in /usr/bin/clickhouse 10. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000001ef96a82 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:51: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001ca7adca in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 21. ? @ 0x00007f1d281b3ac3 in ? 22. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:05:50.303395 [ 47285 ] {751c853a-13ac-47df-a5b9-8c191aba26ef} TCPHandler: Code: 611. DB::Exception: You cannot create recursive function. (CANNOT_CREATE_RECURSIVE_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [37]) @ 0x000000000c57937e in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:39: DB::(anonymous namespace)::validateFunctionRecursiveness(DB::IAST const&, String const&) @ 0x000000001ef9886e in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:41: DB::(anonymous namespace)::validateFunctionRecursiveness(DB::IAST const&, String const&) @ 0x000000001ef988d4 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:81: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x000000001ef967ae in /usr/bin/clickhouse 9. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:114: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x000000001ef96160 in /usr/bin/clickhouse 10. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000001ef96a82 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:51: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001ca7adca in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 21. ? @ 0x00007f1d281b3ac3 in ? 22. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:05:50.415768 [ 47285 ] {829bf465-e7fd-44f7-8d63-9a1ba0c9857f} executeQuery: Code: 609. DB::Exception: The function 'cast' already exists. (FUNCTION_ALREADY_EXISTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54236) (comment: 01856_create_function.sql) (in query: CREATE FUNCTION cast AS a -> a + 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:105: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x000000001ef95f4f in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000001ef96a82 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:51: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001ca7adca in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:05:50.416652 [ 47285 ] {829bf465-e7fd-44f7-8d63-9a1ba0c9857f} TCPHandler: Code: 609. DB::Exception: The function 'cast' already exists. (FUNCTION_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:105: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x000000001ef95f4f in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000001ef96a82 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:51: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001ca7adca in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:05:50.522666 [ 47285 ] {7bc6e10d-54ce-4001-b051-359d225bc437} executeQuery: Code: 609. DB::Exception: The aggregate function 'sum' already exists. (FUNCTION_ALREADY_EXISTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54236) (comment: 01856_create_function.sql) (in query: CREATE FUNCTION sum AS (a, b) -> a + b;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:108: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x000000001ef96007 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000001ef96a82 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:51: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001ca7adca in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:05:50.523447 [ 47285 ] {7bc6e10d-54ce-4001-b051-359d225bc437} TCPHandler: Code: 609. DB::Exception: The aggregate function 'sum' already exists. (FUNCTION_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:108: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x000000001ef96007 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000001ef96a82 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:51: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001ca7adca in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:05:50.627575 [ 47285 ] {d4d22baf-4cdb-47cb-abd4-fd7c294479b1} executeQuery: Code: 609. DB::Exception: User-defined function '01856_test_function_2' already exists. (FUNCTION_ALREADY_EXISTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54236) (comment: 01856_create_function.sql) (in query: CREATE FUNCTION 01856_test_function_2 AS (a) -> a || '!!!';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:136: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000001ef96c0d in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:51: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001ca7adca in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:05:50.628578 [ 47285 ] {d4d22baf-4cdb-47cb-abd4-fd7c294479b1} TCPHandler: Code: 609. DB::Exception: User-defined function '01856_test_function_2' already exists. (FUNCTION_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:136: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000001ef96c0d in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:51: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001ca7adca in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:05:50.642160 [ 47285 ] {81837677-3e18-4671-86b1-0acd882dfba2} executeQuery: Code: 46. DB::Exception: User-defined function 'unknown_function' doesn't exist. (UNKNOWN_FUNCTION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54236) (comment: 01856_create_function.sql) (in query: DROP FUNCTION unknown_function;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:167: DB::UserDefinedSQLFunctionFactory::unregisterFunction(std::shared_ptr const&, String const&, bool) @ 0x000000001ef97369 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterDropFunctionQuery.cpp:47: DB::InterpreterDropFunctionQuery::execute() @ 0x000000001ca7b658 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:05:50.642692 [ 47285 ] {81837677-3e18-4671-86b1-0acd882dfba2} TCPHandler: Code: 46. DB::Exception: User-defined function 'unknown_function' doesn't exist. (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:167: DB::UserDefinedSQLFunctionFactory::unregisterFunction(std::shared_ptr const&, String const&, bool) @ 0x000000001ef97369 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterDropFunctionQuery.cpp:47: DB::InterpreterDropFunctionQuery::execute() @ 0x000000001ca7b658 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:05:50.744556 [ 47285 ] {9a78e89c-df80-4947-af8c-0f71b25866f8} executeQuery: Code: 610. DB::Exception: Cannot drop system function 'CAST'. (CANNOT_DROP_FUNCTION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54236) (comment: 01856_create_function.sql) (in query: DROP FUNCTION CAST;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:120: DB::UserDefinedSQLFunctionFactory::checkCanBeUnregistered(std::shared_ptr const&, String const&) @ 0x000000001ef968c4 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:160: DB::UserDefinedSQLFunctionFactory::unregisterFunction(std::shared_ptr const&, String const&, bool) @ 0x000000001ef97245 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterDropFunctionQuery.cpp:47: DB::InterpreterDropFunctionQuery::execute() @ 0x000000001ca7b658 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:05:50.745214 [ 47285 ] {9a78e89c-df80-4947-af8c-0f71b25866f8} TCPHandler: Code: 610. DB::Exception: Cannot drop system function 'CAST'. (CANNOT_DROP_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:120: DB::UserDefinedSQLFunctionFactory::checkCanBeUnregistered(std::shared_ptr const&, String const&) @ 0x000000001ef968c4 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:160: DB::UserDefinedSQLFunctionFactory::unregisterFunction(std::shared_ptr const&, String const&, bool) @ 0x000000001ef97245 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterDropFunctionQuery.cpp:47: DB::InterpreterDropFunctionQuery::execute() @ 0x000000001ca7b658 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:05:56.851444 [ 828 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:05:56.852249 [ 828 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:05:56.915530 [ 828 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:06:12.079508 [ 721 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:06:12.079994 [ 721 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:06:12.144800 [ 721 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:06:23.840694 [ 47285 ] {b3a7f35e-4423-4824-9627-6ef2553058c4} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56942) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:06:23.841815 [ 47285 ] {b3a7f35e-4423-4824-9627-6ef2553058c4} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:06:27.287765 [ 738 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:06:27.288380 [ 738 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:06:27.374154 [ 738 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:06:42.528987 [ 799 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:06:42.529503 [ 799 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:06:42.601445 [ 799 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:06:57.767427 [ 837 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:06:57.768061 [ 837 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:06:57.842600 [ 837 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:07:13.007856 [ 722 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:07:13.008473 [ 722 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:07:13.071171 [ 722 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:07:28.233657 [ 826 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:07:28.234217 [ 826 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:07:28.323460 [ 826 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:07:43.473182 [ 780 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:07:43.473711 [ 780 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:07:43.535833 [ 780 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:07:58.691122 [ 802 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:07:58.691794 [ 802 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:07:58.816817 [ 802 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:08:12.874586 [ 47285 ] {d28624d7-90aa-488b-ac8d-915471067567} executeQuery: Code: 253. DB::Exception: Replica /clickhouse/tables/db_01530_atomic/db_01530_atomic/data/replicas/test already exists. (REPLICA_ALREADY_EXISTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58618) (comment: 01530_drop_database_atomic_sync.sql) (in query: CREATE TABLE db_01530_atomic.data (`key` Int) ENGINE = ReplicatedMergeTree('/clickhouse/tables/{database}/db_01530_atomic/data', 'test') ORDER BY key SETTINGS index_granularity = 35619, min_bytes_for_wide_part = 620071589, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 17650, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 7538176, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 18360, primary_key_compress_block_size = 17202), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:933: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x000000001d804cb2 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:529: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool) @ 0x000000001d7fd525 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageReplicatedMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, DB::StorageReplicatedMergeTree*>(DB::StorageReplicatedMergeTree*, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001e35dce0 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void, void>(std::allocator&, DB::StorageReplicatedMergeTree*, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001e35d991 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&>(std::allocator, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001e35d5d2 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001e35d380 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void>(String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001e35c53c in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:692: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35a7b0 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 20. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 2024.09.24 02:08:12.875663 [ 47285 ] {d28624d7-90aa-488b-ac8d-915471067567} TCPHandler: Code: 253. DB::Exception: Replica /clickhouse/tables/db_01530_atomic/db_01530_atomic/data/replicas/test already exists. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:933: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x000000001d804cb2 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:529: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool) @ 0x000000001d7fd525 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageReplicatedMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, DB::StorageReplicatedMergeTree*>(DB::StorageReplicatedMergeTree*, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001e35dce0 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void, void>(std::allocator&, DB::StorageReplicatedMergeTree*, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001e35d991 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&>(std::allocator, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001e35d5d2 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001e35d380 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void>(String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001e35c53c in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:692: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35a7b0 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 20. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 2024.09.24 02:08:13.955420 [ 727 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:08:13.956195 [ 727 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:08:14.017425 [ 727 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:08:29.180488 [ 781 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:08:29.181327 [ 781 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:08:29.258053 [ 781 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:08:37.770887 [ 36909 ] {91c30c05-5d14-41af-9948-297331e58611} DistributedSink: Structure does not match (remote: n Int8 Int8(size = 0), local: n UInt64 UInt64(size = 1)), implicit conversion will be done. 2024.09.24 02:08:44.435164 [ 745 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:08:44.435727 [ 745 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:08:44.498975 [ 745 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:08:59.656634 [ 812 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:08:59.657205 [ 812 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:08:59.717199 [ 812 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:09:14.872957 [ 718 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:09:14.873526 [ 718 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:09:14.937605 [ 718 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:09:30.087014 [ 781 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:09:30.087687 [ 781 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:09:30.174939 [ 781 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:09:45.335131 [ 727 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:09:45.335675 [ 727 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:09:45.411870 [ 727 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:10:00.568277 [ 829 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:10:00.568856 [ 829 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:10:00.632676 [ 829 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:10:15.790715 [ 760 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:10:15.791320 [ 760 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:10:15.864985 [ 760 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:10:21.070757 [ 61210 ] {a58eecfc-114b-41b9-b716-2c14961d93ce} executeQuery: Code: 60. DB::Exception: Could not find table: table_for_freeze. (UNKNOWN_TABLE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:37486) (comment: 01417_freeze_partition_verbose.sh) (in query: ALTER TABLE table_for_freeze UNFREEZE PARTITION '7' WITH NAME 'test_01417_single_part_7_system'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterAlterQuery.cpp:111: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4e39 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:10:21.072328 [ 61210 ] {a58eecfc-114b-41b9-b716-2c14961d93ce} TCPHandler: Code: 60. DB::Exception: Could not find table: table_for_freeze. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterAlterQuery.cpp:111: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4e39 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:10:28.680688 [ 61210 ] {f80c36c9-3339-444c-bb00-a9aecf5139a8} executeQuery: Code: 36. DB::Exception: Cannot DROP or CLEAR all columns. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:37508) (comment: 01388_clear_all_columns.sql) (in query: ALTER TABLE test CLEAR COLUMN x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [33]) @ 0x000000000b21971e in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1387: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d592259 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:10:28.681468 [ 61210 ] {f80c36c9-3339-444c-bb00-a9aecf5139a8} TCPHandler: Code: 36. DB::Exception: Cannot DROP or CLEAR all columns. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [33]) @ 0x000000000b21971e in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1387: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d592259 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:10:28.877228 [ 61210 ] {2c0917df-9c86-4a6b-91be-ad5aefa23689} executeQuery: Code: 248. DB::Exception: Wrong number of fields in the partition expression: 1, must be: 0. (INVALID_PARTITION_VALUE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:37508) (comment: 01388_clear_all_columns.sql) (in query: ALTER TABLE test CLEAR COLUMN x IN PARTITION '';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned long&) @ 0x000000000b8fe62c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:5545: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000001de935c1 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3223: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8ff22 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:10:28.878228 [ 61210 ] {2c0917df-9c86-4a6b-91be-ad5aefa23689} TCPHandler: Code: 248. DB::Exception: Wrong number of fields in the partition expression: 1, must be: 0. (INVALID_PARTITION_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned long&) @ 0x000000000b8fe62c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:5545: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000001de935c1 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3223: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8ff22 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:10:28.888727 [ 61210 ] {a882712f-12ee-4e5b-99c5-9819b50b87e4} executeQuery: Code: 248. DB::Exception: Wrong number of fields in the partition expression: 1, must be: 0. (INVALID_PARTITION_VALUE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:37508) (comment: 01388_clear_all_columns.sql) (in query: ALTER TABLE test CLEAR COLUMN x IN PARTITION 'asdasd';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned long&) @ 0x000000000b8fe62c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:5545: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000001de935c1 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3223: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8ff22 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:10:28.889543 [ 61210 ] {a882712f-12ee-4e5b-99c5-9819b50b87e4} TCPHandler: Code: 248. DB::Exception: Wrong number of fields in the partition expression: 1, must be: 0. (INVALID_PARTITION_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned long&) @ 0x000000000b8fe62c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:5545: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000001de935c1 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3223: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8ff22 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:10:28.897003 [ 61210 ] {004c5b11-daa4-451f-9b69-a72cba12a553} executeQuery: Code: 248. DB::Exception: Wrong number of fields in the partition expression: 1, must be: 0. (INVALID_PARTITION_VALUE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:37508) (comment: 01388_clear_all_columns.sql) (in query: ALTER TABLE test CLEAR COLUMN x IN PARTITION '123';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned long&) @ 0x000000000b8fe62c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:5545: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000001de935c1 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3223: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8ff22 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:10:28.897577 [ 61210 ] {004c5b11-daa4-451f-9b69-a72cba12a553} TCPHandler: Code: 248. DB::Exception: Wrong number of fields in the partition expression: 1, must be: 0. (INVALID_PARTITION_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned long&) @ 0x000000000b8fe62c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:5545: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000001de935c1 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3223: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8ff22 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:10:29.012701 [ 61210 ] {44a9ee8a-2f59-425b-87ad-0e6161f6381e} executeQuery: Code: 36. DB::Exception: Cannot drop or clear column 'y', because all columns in part 'all_1_1_0_2' will be removed from disk. Empty parts are not allowed. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:37508) (comment: 01388_clear_all_columns.sql) (in query: ALTER TABLE test CLEAR COLUMN y;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String const&) @ 0x000000001def2ae8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3489: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de92fcd in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:10:29.013443 [ 61210 ] {44a9ee8a-2f59-425b-87ad-0e6161f6381e} TCPHandler: Code: 36. DB::Exception: Cannot drop or clear column 'y', because all columns in part 'all_1_1_0_2' will be removed from disk. Empty parts are not allowed. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String const&) @ 0x000000001def2ae8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3489: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de92fcd in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:10:29.039898 [ 61210 ] {b8ba0872-543a-44d8-a307-b150d6aae930} executeQuery: Code: 36. DB::Exception: Cannot drop or clear column 'y', because all columns in part 'all_1_1_0_2' will be removed from disk. Empty parts are not allowed. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:37508) (comment: 01388_clear_all_columns.sql) (in query: -- y is only real column in table ALTER TABLE test CLEAR COLUMN y;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String const&) @ 0x000000001def2ae8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3489: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de92fcd in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:10:29.040486 [ 61210 ] {b8ba0872-543a-44d8-a307-b150d6aae930} TCPHandler: Code: 36. DB::Exception: Cannot drop or clear column 'y', because all columns in part 'all_1_1_0_2' will be removed from disk. Empty parts are not allowed. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String const&) @ 0x000000001def2ae8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3489: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de92fcd in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:10:31.027343 [ 825 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:10:31.028057 [ 825 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:10:31.091096 [ 825 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:10:46.231940 [ 724 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:10:46.232656 [ 724 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:10:46.294129 [ 724 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:10:59.910143 [ 61210 ] {06a76b0c-8178-48f6-aca2-b5f0042614ac} executeQuery: Code: 60. DB::Exception: Table test_01320.r does not exist. (UNKNOWN_TABLE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:44442) (comment: 01320_create_sync_race_condition_zookeeper.sh) (in query: SYSTEM SYNC REPLICA test_01320.r), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53612 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSystemQuery.cpp:999: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x000000001cbe53a2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSystemQuery.cpp:583: DB::InterpreterSystemQuery::execute() @ 0x000000001cbdcca5 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:10:59.911750 [ 61210 ] {06a76b0c-8178-48f6-aca2-b5f0042614ac} TCPHandler: Code: 60. DB::Exception: Table test_01320.r does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53612 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSystemQuery.cpp:999: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x000000001cbe53a2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSystemQuery.cpp:583: DB::InterpreterSystemQuery::execute() @ 0x000000001cbdcca5 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:11:01.450260 [ 737 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:11:01.451442 [ 737 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:11:01.517595 [ 737 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:11:16.705995 [ 717 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:11:16.706661 [ 717 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:11:16.766444 [ 717 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:11:31.921064 [ 704 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:11:31.921704 [ 704 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:11:32.001328 [ 704 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:11:40.814993 [ 61210 ] {c55f2b44-c5d7-47f6-a60f-db853cbce2ee} executeQuery: Code: 180. DB::Exception: There is no settings profile `s2_01294` in user directories. (THERE_IS_NO_PROFILE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:39928) (comment: 01294_create_settings_profile.sql) (in query: SHOW CREATE SETTINGS PROFILE s2_01294;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f7bec in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:682: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x000000001b0f62f9 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:76: ? @ 0x000000001b0f6233 in /usr/bin/clickhouse 8. /build/src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:331: DB::InterpreterShowCreateAccessEntityQuery::getEntities() const @ 0x000000001d18c383 in /usr/bin/clickhouse 9. /build/src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:341: DB::InterpreterShowCreateAccessEntityQuery::getCreateQueries() const @ 0x000000001d18b538 in /usr/bin/clickhouse 10. /build/src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:253: DB::InterpreterShowCreateAccessEntityQuery::executeImpl() @ 0x000000001d18ad7b in /usr/bin/clickhouse 11. /build/src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:245: DB::InterpreterShowCreateAccessEntityQuery::execute() @ 0x000000001d18acab in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 21. ? @ 0x00007f1d281b3ac3 in ? 22. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:11:40.815974 [ 61210 ] {c55f2b44-c5d7-47f6-a60f-db853cbce2ee} TCPHandler: Code: 180. DB::Exception: There is no settings profile `s2_01294` in user directories. (THERE_IS_NO_PROFILE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f7bec in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:682: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x000000001b0f62f9 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:76: ? @ 0x000000001b0f6233 in /usr/bin/clickhouse 8. /build/src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:331: DB::InterpreterShowCreateAccessEntityQuery::getEntities() const @ 0x000000001d18c383 in /usr/bin/clickhouse 9. /build/src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:341: DB::InterpreterShowCreateAccessEntityQuery::getCreateQueries() const @ 0x000000001d18b538 in /usr/bin/clickhouse 10. /build/src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:253: DB::InterpreterShowCreateAccessEntityQuery::executeImpl() @ 0x000000001d18ad7b in /usr/bin/clickhouse 11. /build/src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:245: DB::InterpreterShowCreateAccessEntityQuery::execute() @ 0x000000001d18acab in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 21. ? @ 0x00007f1d281b3ac3 in ? 22. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:11:47.145720 [ 775 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:11:47.146281 [ 775 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:11:47.210063 [ 775 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:11:56.089994 [ 61210 ] {d92f018e-8887-46e5-b95e-33ea4615af02} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:48626) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:11:56.091038 [ 61210 ] {d92f018e-8887-46e5-b95e-33ea4615af02} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6a112b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5ec3a1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001cabbbcf in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3b9e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab2cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcccf4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcd840 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:12:00.092506 [ 61210 ] {6164e8ea-7c42-4dbf-bbd4-e687d4e32cd5} executeQuery: Code: 43. DB::Exception: Third argument of function dictHas must be tuple when dictionary is complex and key contains more than 1 attribute.Actual type String.: While processing dictHas('01280_db.ssd_dict', 'a', tuple('1')). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:48656) (comment: 01280_ssd_complex_key_dictionary.sh) (in query: SELECT dictHas('01280_db.ssd_dict', 'a', tuple('1'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsExternalDictionaries.h:266: DB::FunctionDictHas::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc6a728 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 02:12:00.093521 [ 61210 ] {6164e8ea-7c42-4dbf-bbd4-e687d4e32cd5} TCPHandler: Code: 43. DB::Exception: Third argument of function dictHas must be tuple when dictionary is complex and key contains more than 1 attribute.Actual type String.: While processing dictHas('01280_db.ssd_dict', 'a', tuple('1')). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsExternalDictionaries.h:266: DB::FunctionDictHas::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc6a728 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 2024.09.24 02:12:02.375094 [ 767 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:12:02.375607 [ 767 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:12:02.456065 [ 767 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:12:04.110374 [ 61210 ] {f653407d-bc13-4b8e-b020-e7958e2fea40} executeQuery: Code: 53. DB::Exception: Dictionary `01280_db`.ssd_dict key lookup structure does not match, expected (String, Int32): While processing dictGetUInt64('01280_db.ssd_dict', 'a', tuple(toInt32(3))). (TYPE_MISMATCH) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:38744) (comment: 01280_ssd_complex_key_dictionary.sh) (in query: SELECT dictGetUInt64('01280_db.ssd_dict', 'a', tuple(toInt32(3)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Dictionaries/IDictionary.h:146: DB::IDictionary::convertKeyColumns(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&, std::vector, std::allocator>>&) const @ 0x0000000017d05dc9 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsExternalDictionaries.h:564: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc5b385 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:744: DB::FunctionDictGetImpl, DB::NameDictGetUInt64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc7522b in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 02:12:04.111430 [ 61210 ] {f653407d-bc13-4b8e-b020-e7958e2fea40} TCPHandler: Code: 53. DB::Exception: Dictionary `01280_db`.ssd_dict key lookup structure does not match, expected (String, Int32): While processing dictGetUInt64('01280_db.ssd_dict', 'a', tuple(toInt32(3))). (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Dictionaries/IDictionary.h:146: DB::IDictionary::convertKeyColumns(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&, std::vector, std::allocator>>&) const @ 0x0000000017d05dc9 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsExternalDictionaries.h:564: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc5b385 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:744: DB::FunctionDictGetImpl, DB::NameDictGetUInt64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc7522b in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 2024.09.24 02:12:11.024587 [ 38807 ] {30aa6b9c-bafd-41a5-a606-cebecaafca84} ExternalDictionariesLoader: Could not load external dictionary '72fbb1eb-de17-404f-9565-50762c28119b', next update is scheduled at 2024-09-24 02:12:16: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x000000001b8a2148 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x000000001b8a1c27 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001b8a1d99 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/LimitsCheckingTransform.cpp:46: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001ebde95c in /usr/bin/clickhouse 9. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 10. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f6dbe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001e6f6e61 in /usr/bin/clickhouse 17. /build/src/Dictionaries/FlatDictionary.cpp:438: DB::FlatDictionary::loadData() @ 0x0000000017d42f1a in /usr/bin/clickhouse 18. /build/src/Dictionaries/FlatDictionary.cpp:45: DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x0000000017d42c1e in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], DB::FlatDictionary::Configuration&>(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr&&, DB::FlatDictionary::Configuration&) @ 0x0000000017d91c22 in /usr/bin/clickhouse 20. /build/src/Dictionaries/FlatDictionary.cpp:683: DB::registerDictionaryFlat(DB::DictionaryFactory&)::$_0::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x0000000017d69a2a in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval>(), std::declval>(), std::declval())) std::__invoke[abi:v15000], std::shared_ptr, bool>(DB::registerDictionaryFlat(DB::DictionaryFactory&)::$_0&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x0000000017d6961b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::unique_ptr> std::__invoke_void_return_wrapper>, false>::__call, std::shared_ptr, bool>(DB::registerDictionaryFlat(DB::DictionaryFactory&)::$_0&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x0000000017d69536 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x0000000017d694b6 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x0000000017d69442 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) const @ 0x000000001abd67e2 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000001abd3b7b in /usr/bin/clickhouse 27. /build/src/Dictionaries/DictionaryFactory.cpp:58: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000001abd3013 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x000000001c532ca9 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExternalLoader.cpp:1524: DB::ExternalLoader::createObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) const @ 0x000000001c535f07 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExternalLoader.cpp:1288: auto DB::ExternalLoader::ExternalLoader(String const&, Poco::Logger*)::$_0::operator() const&>(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) const @ 0x000000001c538c50 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval const&>())) std::__invoke[abi:v15000] const&>(DB::ExternalLoader::ExternalLoader(String const&, Poco::Logger*)::$_0&, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001c538bed in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:12:11.027270 [ 61210 ] {30aa6b9c-bafd-41a5-a606-cebecaafca84} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: While processing dictGetUInt64('ordinary_db.dict1', 'second_column', toUInt64(100500)). (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:38764) (comment: 01259_dictionary_custom_settings_ddl.sql) (in query: SELECT dictGetUInt64('ordinary_db.dict1', 'second_column', toUInt64(100500));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x000000001b8a2148 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x000000001b8a1c27 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001b8a1d99 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/LimitsCheckingTransform.cpp:46: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001ebde95c in /usr/bin/clickhouse 9. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 10. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f6dbe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001e6f6e61 in /usr/bin/clickhouse 17. /build/src/Dictionaries/FlatDictionary.cpp:438: DB::FlatDictionary::loadData() @ 0x0000000017d42f1a in /usr/bin/clickhouse 18. /build/src/Dictionaries/FlatDictionary.cpp:45: DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x0000000017d42c1e in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], DB::FlatDictionary::Configuration&>(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr&&, DB::FlatDictionary::Configuration&) @ 0x0000000017d91c22 in /usr/bin/clickhouse 20. /build/src/Dictionaries/FlatDictionary.cpp:683: DB::registerDictionaryFlat(DB::DictionaryFactory&)::$_0::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x0000000017d69a2a in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval>(), std::declval>(), std::declval())) std::__invoke[abi:v15000], std::shared_ptr, bool>(DB::registerDictionaryFlat(DB::DictionaryFactory&)::$_0&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x0000000017d6961b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::unique_ptr> std::__invoke_void_return_wrapper>, false>::__call, std::shared_ptr, bool>(DB::registerDictionaryFlat(DB::DictionaryFactory&)::$_0&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x0000000017d69536 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x0000000017d694b6 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x0000000017d69442 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) const @ 0x000000001abd67e2 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000001abd3b7b in /usr/bin/clickhouse 27. /build/src/Dictionaries/DictionaryFactory.cpp:58: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000001abd3013 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x000000001c532ca9 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExternalLoader.cpp:1524: DB::ExternalLoader::createObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) const @ 0x000000001c535f07 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExternalLoader.cpp:1288: auto DB::ExternalLoader::ExternalLoader(String const&, Poco::Logger*)::$_0::operator() const&>(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) const @ 0x000000001c538c50 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval const&>())) std::__invoke[abi:v15000] const&>(DB::ExternalLoader::ExternalLoader(String const&, Poco::Logger*)::$_0&, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001c538bed in /usr/bin/clickhouse 2024.09.24 02:12:11.028387 [ 61210 ] {30aa6b9c-bafd-41a5-a606-cebecaafca84} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: While processing dictGetUInt64('ordinary_db.dict1', 'second_column', toUInt64(100500)). (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x000000001b8a2148 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x000000001b8a1c27 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001b8a1d99 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/LimitsCheckingTransform.cpp:46: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001ebde95c in /usr/bin/clickhouse 9. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bf15c2 in /usr/bin/clickhouse 10. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b1cb2 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f6dbe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001e6f6e61 in /usr/bin/clickhouse 17. /build/src/Dictionaries/FlatDictionary.cpp:438: DB::FlatDictionary::loadData() @ 0x0000000017d42f1a in /usr/bin/clickhouse 18. /build/src/Dictionaries/FlatDictionary.cpp:45: DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x0000000017d42c1e in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], DB::FlatDictionary::Configuration&>(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr&&, DB::FlatDictionary::Configuration&) @ 0x0000000017d91c22 in /usr/bin/clickhouse 20. /build/src/Dictionaries/FlatDictionary.cpp:683: DB::registerDictionaryFlat(DB::DictionaryFactory&)::$_0::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x0000000017d69a2a in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval>(), std::declval>(), std::declval())) std::__invoke[abi:v15000], std::shared_ptr, bool>(DB::registerDictionaryFlat(DB::DictionaryFactory&)::$_0&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x0000000017d6961b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::unique_ptr> std::__invoke_void_return_wrapper>, false>::__call, std::shared_ptr, bool>(DB::registerDictionaryFlat(DB::DictionaryFactory&)::$_0&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x0000000017d69536 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x0000000017d694b6 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x0000000017d69442 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) const @ 0x000000001abd67e2 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000001abd3b7b in /usr/bin/clickhouse 27. /build/src/Dictionaries/DictionaryFactory.cpp:58: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000001abd3013 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x000000001c532ca9 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExternalLoader.cpp:1524: DB::ExternalLoader::createObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) const @ 0x000000001c535f07 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExternalLoader.cpp:1288: auto DB::ExternalLoader::ExternalLoader(String const&, Poco::Logger*)::$_0::operator() const&>(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) const @ 0x000000001c538c50 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval const&>())) std::__invoke[abi:v15000] const&>(DB::ExternalLoader::ExternalLoader(String const&, Poco::Logger*)::$_0&, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001c538bed in /usr/bin/clickhouse 2024.09.24 02:12:15.595608 [ 61210 ] {32a0102f-f906-4d75-92f0-83be61a17b81} executeQuery: Code: 520. DB::Exception: Cannot drop/detach dictionary dict_db_01225.dict as table, use DROP DICTIONARY or DETACH DICTIONARY query instead. (CANNOT_DETACH_DICTIONARY_AS_TABLE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:33856) (comment: 01225_drop_dictionary_as_table.sql) (in query: DROP TABLE dict_db_01225.dict;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDictionary.cpp:151: DB::StorageDictionary::checkTableCanBeDropped(std::shared_ptr) const @ 0x000000001d64bbca in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterDropQuery.cpp:231: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001c8b6ab2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001c8b4db4 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x000000001c8b462e in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:12:15.596433 [ 61210 ] {32a0102f-f906-4d75-92f0-83be61a17b81} TCPHandler: Code: 520. DB::Exception: Cannot drop/detach dictionary dict_db_01225.dict as table, use DROP DICTIONARY or DETACH DICTIONARY query instead. (CANNOT_DETACH_DICTIONARY_AS_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDictionary.cpp:151: DB::StorageDictionary::checkTableCanBeDropped(std::shared_ptr) const @ 0x000000001d64bbca in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterDropQuery.cpp:231: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001c8b6ab2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001c8b4db4 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x000000001c8b462e in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:12:17.619884 [ 836 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:12:17.620440 [ 836 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:12:17.692560 [ 836 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:12:32.871780 [ 828 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:12:32.872389 [ 828 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:12:32.945893 [ 828 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:12:38.729426 [ 61210 ] {b31ec526-5442-453e-9d06-490cb098c849} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 3, m = 2. (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:34582) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (3, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:12:38.732635 [ 61210 ] {b31ec526-5442-453e-9d06-490cb098c849} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 3, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:12:41.472880 [ 61708 ] {65b2ab2b-bb9e-4a74-9074-52f6d766136b} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 4, m = 1. (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:46508) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (4, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:12:41.476925 [ 61708 ] {65b2ab2b-bb9e-4a74-9074-52f6d766136b} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 4, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:12:43.607474 [ 62053 ] {e7104410-60bf-4830-a2a8-448f537ae548} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 5: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:46584) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (5, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:12:43.609961 [ 62053 ] {e7104410-60bf-4830-a2a8-448f537ae548} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 5: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:12:46.782212 [ 62056 ] {292b3f34-6981-44a1-bca0-a195f8453ada} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 7, m = 2. (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:46714) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (7, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:12:46.785877 [ 62056 ] {292b3f34-6981-44a1-bca0-a195f8453ada} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 7, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:12:48.096962 [ 724 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:12:48.097545 [ 724 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:12:48.170911 [ 724 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:12:49.731101 [ 62053 ] {eb5af724-76fb-48e5-89c1-0ea8989b4a73} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 8, m = 1. (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:46828) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (8, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:12:49.734258 [ 62053 ] {eb5af724-76fb-48e5-89c1-0ea8989b4a73} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 8, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:12:51.687967 [ 62054 ] {82029be6-7a53-4b1e-9bc4-73ff5200bbdd} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 9: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:34836) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (9, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:12:51.690341 [ 62054 ] {82029be6-7a53-4b1e-9bc4-73ff5200bbdd} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 9: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:12:53.112451 [ 62056 ] {c49e3c12-ea03-4349-b4ef-5a87fa22cdf8} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 20: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:34864) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (10, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:12:53.116460 [ 62056 ] {c49e3c12-ea03-4349-b4ef-5a87fa22cdf8} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 20: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:12:55.461977 [ 62053 ] {8c068598-35bb-440f-bf48-979a7459eeb2} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -22: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:34910) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-11, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:12:55.464746 [ 62053 ] {8c068598-35bb-440f-bf48-979a7459eeb2} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -22: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:12:59.696334 [ 62057 ] {772634ba-7a27-49df-8b53-eb559350416b} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 26: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:35104) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (13, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:12:59.720610 [ 62057 ] {772634ba-7a27-49df-8b53-eb559350416b} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 26: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:13:03.355969 [ 729 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:13:03.356644 [ 729 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:13:03.417418 [ 729 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:13:08.648187 [ 62056 ] {60307d9d-0528-4919-80b3-9baac1100c9c} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -34: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:41554) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-17, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:13:08.651794 [ 62056 ] {60307d9d-0528-4919-80b3-9baac1100c9c} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -34: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:13:10.244985 [ 62056 ] {5ba4c3b1-0d1b-4b09-b4dd-f059cda71ec5} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 18, m = 2. (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:41602) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (18, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:13:10.248130 [ 62056 ] {5ba4c3b1-0d1b-4b09-b4dd-f059cda71ec5} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 18, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:13:13.584519 [ 61708 ] {3803686e-7bb6-401d-ad6b-9ce7d7658ba4} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 19, m = 1. (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:54984) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (19, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:13:13.587148 [ 61708 ] {3803686e-7bb6-401d-ad6b-9ce7d7658ba4} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 19, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:13:15.565769 [ 62055 ] {01d85f6c-9e0e-4c94-ba08-968ee812272e} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 20: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:55054) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (20, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:13:15.568673 [ 62055 ] {01d85f6c-9e0e-4c94-ba08-968ee812272e} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 20: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:13:16.723901 [ 61210 ] {a51a00fe-0640-4113-b94d-bc56c19ed84a} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 42: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:55082) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (21, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:13:16.727381 [ 61210 ] {a51a00fe-0640-4113-b94d-bc56c19ed84a} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 42: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:13:18.583537 [ 740 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:13:18.584008 [ 740 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:13:18.671834 [ 740 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:13:20.183614 [ 62056 ] {64770c00-c0ec-4afe-b607-a46a68d2df5f} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -22: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:55166) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-22, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:13:20.186861 [ 62056 ] {64770c00-c0ec-4afe-b607-a46a68d2df5f} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -22: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:13:22.137587 [ 62056 ] {bb9eba86-7651-4e8b-be47-65be0f3f8769} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -23, m = 1. (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58294) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-23, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:13:22.140003 [ 62056 ] {bb9eba86-7651-4e8b-be47-65be0f3f8769} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -23, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:13:22.784566 [ 61708 ] {49f7b32c-5cbc-4ddc-b87b-b0b06105190d} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 24, m = 2. (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58318) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (24, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:13:22.787553 [ 61708 ] {49f7b32c-5cbc-4ddc-b87b-b0b06105190d} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 24, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:13:25.794107 [ 61210 ] {f41eaf8b-6738-4d33-ab6e-18dcae3a1b79} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 25, m = 1. (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58440) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (25, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:13:25.796752 [ 61210 ] {f41eaf8b-6738-4d33-ab6e-18dcae3a1b79} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 25, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:13:27.812589 [ 61708 ] {d9910e87-3dc8-4b05-87f5-71348a2afc82} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 26: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58500) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (26, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:13:27.815075 [ 61708 ] {d9910e87-3dc8-4b05-87f5-71348a2afc82} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 26: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:13:33.819742 [ 815 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:13:33.820151 [ 815 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:13:33.881701 [ 815 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:13:45.617711 [ 62056 ] {da6e6b7f-a951-4b37-8e4d-839aea784d4a} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -34: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:45488) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-34, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:13:45.620858 [ 62056 ] {da6e6b7f-a951-4b37-8e4d-839aea784d4a} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -34: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:13:46.505187 [ 61210 ] {b2852274-2ca0-45a4-85b6-9c9eea9f110b} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 70: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:45552) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (35, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:13:46.508107 [ 61210 ] {b2852274-2ca0-45a4-85b6-9c9eea9f110b} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 70: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:13:47.882466 [ 62056 ] {e16bf6fc-c54b-406c-b796-915d7dafeda8} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -35, m = 1. (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:45556) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-35, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:13:47.885137 [ 62056 ] {e16bf6fc-c54b-406c-b796-915d7dafeda8} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -35, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:13:48.960875 [ 61708 ] {e96126cb-7fff-4d85-8d5d-1bac08d4724f} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -36, m = 2. (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:45626) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-36, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:13:48.964529 [ 61708 ] {e96126cb-7fff-4d85-8d5d-1bac08d4724f} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -36, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:13:49.042988 [ 821 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:13:49.043476 [ 821 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:13:49.117909 [ 821 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:13:57.351580 [ 62053 ] {2a356330-4f6d-4138-96cb-3fcaeba6e62c} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 40, m = 2. (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:42650) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (40, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:13:57.355525 [ 62053 ] {2a356330-4f6d-4138-96cb-3fcaeba6e62c} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 40, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:14:00.285454 [ 61708 ] {dd1231bc-e1d7-4692-a654-6af0e7315d7c} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 41, m = 1. (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:42784) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (41, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:14:00.288985 [ 61708 ] {dd1231bc-e1d7-4692-a654-6af0e7315d7c} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 41, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:14:02.266040 [ 62057 ] {27633fbb-c784-46d3-b7a9-01630423d2b3} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 42: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58690) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (42, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:14:02.268870 [ 62057 ] {27633fbb-c784-46d3-b7a9-01630423d2b3} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 42: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:14:04.283813 [ 752 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:14:04.284439 [ 752 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:14:04.346737 [ 752 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:14:10.022956 [ 62053 ] {932140af-a76b-478e-9dc2-85480f1a1871} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 92: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58904) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (46, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:14:10.026829 [ 62053 ] {932140af-a76b-478e-9dc2-85480f1a1871} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 92: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:14:19.486320 [ 722 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:14:19.486949 [ 722 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:14:19.550287 [ 722 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:14:22.057906 [ 61210 ] {3ac38b1c-d6dc-448a-9b6e-7548a1169801} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -51: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:32912) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-51, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:14:22.061703 [ 61210 ] {3ac38b1c-d6dc-448a-9b6e-7548a1169801} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -51: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:14:24.051235 [ 62057 ] {5638b47d-77cd-4582-8aa1-0831d521702c} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -52, m = 1. (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:32976) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-52, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:14:24.054964 [ 62057 ] {5638b47d-77cd-4582-8aa1-0831d521702c} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -52, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:14:25.484777 [ 62057 ] {08346332-f278-4e5f-adad-ea7b292bb738} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -53, m = 2. (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:33004) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-53, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:14:25.487119 [ 62057 ] {08346332-f278-4e5f-adad-ea7b292bb738} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -53, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:14:34.706910 [ 755 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:14:34.707491 [ 755 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:14:34.768788 [ 755 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:14:37.995330 [ 62060 ] {2d691340-49e1-46b2-b4dd-31350fd2fff9} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -118: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:47156) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-59, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:14:37.998565 [ 62060 ] {2d691340-49e1-46b2-b4dd-31350fd2fff9} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -118: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:14:39.933021 [ 62056 ] {eb55166c-cabb-44e0-b8bf-d3ae9b83a618} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 120: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:47202) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (60, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:14:39.937014 [ 62056 ] {eb55166c-cabb-44e0-b8bf-d3ae9b83a618} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 120: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:14:42.273501 [ 62055 ] {21438113-597a-49e0-86f7-3a71f4dd41f7} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -122: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:45136) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-61, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:14:42.276188 [ 62055 ] {21438113-597a-49e0-86f7-3a71f4dd41f7} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -122: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:14:49.946076 [ 738 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:14:49.946684 [ 738 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:14:50.011002 [ 738 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:14:51.793542 [ 61708 ] {3cf15e30-b256-4e30-bbc2-00e3ed037923} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -65: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:49824) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-65, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:14:51.796007 [ 61708 ] {3cf15e30-b256-4e30-bbc2-00e3ed037923} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -65: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:14:52.213389 [ 62055 ] {30748ba8-d6b6-4cc6-8508-ded44ff2d60f} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 132: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:49860) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (66, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:14:52.217522 [ 62055 ] {30748ba8-d6b6-4cc6-8508-ded44ff2d60f} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 132: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:14:53.865573 [ 61708 ] {eb28db3b-6f85-411c-8daf-01993974e183} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -66, m = 1. (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:49898) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-66, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:14:53.868078 [ 61708 ] {eb28db3b-6f85-411c-8daf-01993974e183} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -66, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:14:54.177343 [ 61708 ] {8b043abb-5f8e-4a9a-bcc1-ee02b1f9c287} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 67, m = 2. (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:49922) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (67, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:14:54.181015 [ 61708 ] {8b043abb-5f8e-4a9a-bcc1-ee02b1f9c287} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 67, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:14:56.214643 [ 62057 ] {f5fe1b74-05cd-4dd1-b0d6-24032b4d25aa} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 68, m = 2. (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:50004) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (68, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:14:56.218130 [ 62057 ] {f5fe1b74-05cd-4dd1-b0d6-24032b4d25aa} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 68, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:14:57.843214 [ 61708 ] {e7b44325-b109-49c7-a553-578fc32c6de7} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 68, m = 1. (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:50040) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (68, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:14:57.846684 [ 61708 ] {e7b44325-b109-49c7-a553-578fc32c6de7} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 68, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:14:59.759661 [ 62055 ] {30293c77-2c43-4a8d-a58a-b5709ada4344} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 69, m = 1. (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:50070) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (69, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:14:59.762704 [ 62055 ] {30293c77-2c43-4a8d-a58a-b5709ada4344} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 69, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:15:01.764873 [ 61708 ] {8da71f10-b6fb-4e3c-b702-9935e1bbaa16} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 70: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56000) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (70, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:15:01.768145 [ 61708 ] {8da71f10-b6fb-4e3c-b702-9935e1bbaa16} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 70: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:15:05.176023 [ 710 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:15:05.176686 [ 710 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:15:05.264621 [ 710 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:15:06.913252 [ 61708 ] {233aafad-cea6-44fb-858f-f3b175c54496} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 146: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56146) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (73, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:15:06.915936 [ 61708 ] {233aafad-cea6-44fb-858f-f3b175c54496} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 146: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:15:09.453935 [ 61708 ] {0f5d02de-4d0b-4b05-a982-16c6308edccd} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -148: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56210) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-74, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:15:09.457859 [ 61708 ] {0f5d02de-4d0b-4b05-a982-16c6308edccd} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -148: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:15:11.201180 [ 62054 ] {f9a19f10-6acd-436c-9648-03a9cc152634} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 150: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:55284) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (75, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:15:11.204540 [ 62054 ] {f9a19f10-6acd-436c-9648-03a9cc152634} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 150: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:15:17.676423 [ 62057 ] {cd1ce9c3-2ca1-41ce-b942-742791fafbbd} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 156: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:55464) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (78, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:15:17.680407 [ 62057 ] {cd1ce9c3-2ca1-41ce-b942-742791fafbbd} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 156: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:15:20.422298 [ 791 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:15:20.422956 [ 791 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:15:20.485872 [ 791 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:15:35.628389 [ 731 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:15:35.628909 [ 731 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:15:35.692395 [ 731 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:15:36.344842 [ 62054 ] {c1ac97a8-96a2-4fd8-ba37-c3e3870b03e8} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 87, m = 2. (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:44928) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (87, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:15:36.348374 [ 62054 ] {c1ac97a8-96a2-4fd8-ba37-c3e3870b03e8} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 87, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:15:37.167968 [ 61210 ] {39984490-324a-4c66-b70b-100e6a61a0a7} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -87: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:44960) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-87, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:15:37.171147 [ 61210 ] {39984490-324a-4c66-b70b-100e6a61a0a7} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -87: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:15:38.751869 [ 62060 ] {ea456bc3-1757-4d11-b0d6-9eb74f30df57} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 88, m = 1. (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:45018) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (88, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:15:38.754829 [ 62060 ] {ea456bc3-1757-4d11-b0d6-9eb74f30df57} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 88, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:15:40.778813 [ 62056 ] {fa3b2a54-6b21-49b3-b247-936c11e8e6e2} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 89: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:45096) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (89, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:15:40.782628 [ 62056 ] {fa3b2a54-6b21-49b3-b247-936c11e8e6e2} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 89: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:15:40.866801 [ 62060 ] {d93f2279-72b4-43fc-a031-2711557ed0d5} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -89, m = 2. (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:45076) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-89, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:15:40.869609 [ 62060 ] {d93f2279-72b4-43fc-a031-2711557ed0d5} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -89, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:15:42.490673 [ 62054 ] {81790bf3-2201-4776-88e5-2246749e56ea} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 90, m = 2. (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56506) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (90, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:15:42.493967 [ 62054 ] {81790bf3-2201-4776-88e5-2246749e56ea} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 90, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:15:44.852943 [ 62057 ] {5650efd8-2050-4177-a22c-c1e4f0ee9678} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 91, m = 1. (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56582) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (91, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:15:44.856280 [ 62057 ] {5650efd8-2050-4177-a22c-c1e4f0ee9678} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 91, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:15:46.887524 [ 62060 ] {8dd37603-d0b0-4863-8ef3-66095b2f1531} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 92: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56662) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (92, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:15:46.890407 [ 62060 ] {8dd37603-d0b0-4863-8ef3-66095b2f1531} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 92: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:15:49.295864 [ 62057 ] {5fd3d6a5-de1d-4538-ae7d-d1fe614360a3} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -93: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56716) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-93, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:15:49.298606 [ 62057 ] {5fd3d6a5-de1d-4538-ae7d-d1fe614360a3} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -93: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:15:50.856557 [ 758 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:15:50.857243 [ 758 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:15:50.930001 [ 758 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:15:51.358213 [ 62057 ] {cd21b67a-94dd-40fc-bc60-8e829369cb00} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -94, m = 1. (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:57482) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-94, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:15:51.360683 [ 62057 ] {cd21b67a-94dd-40fc-bc60-8e829369cb00} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -94, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:15:53.506520 [ 62057 ] {0d7ffb82-0b5d-4a7d-8ba6-1f264294a146} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 190: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:57558) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (95, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:15:53.509474 [ 62057 ] {0d7ffb82-0b5d-4a7d-8ba6-1f264294a146} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 190: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:15:57.503746 [ 62060 ] {19f95e0e-9067-4964-9279-8d3ef98018e9} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -97: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:57662) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-97, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:15:57.506910 [ 62060 ] {19f95e0e-9067-4964-9279-8d3ef98018e9} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -97: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:15:57.583296 [ 62055 ] {ea0cd1c2-c69d-47a2-a927-c390086e96e9} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 194: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:57694) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (97, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:15:57.587240 [ 62055 ] {ea0cd1c2-c69d-47a2-a927-c390086e96e9} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 194: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:15:59.522552 [ 62053 ] {1471fd92-4654-45f7-96d9-018cbc3b7750} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -98, m = 1. (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:57706) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-98, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:15:59.524981 [ 62053 ] {1471fd92-4654-45f7-96d9-018cbc3b7750} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -98, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:15:59.651757 [ 62054 ] {a54bf7d2-4111-49e8-ad63-a773210a0393} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 196: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:57736) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (98, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:15:59.654382 [ 62054 ] {a54bf7d2-4111-49e8-ad63-a773210a0393} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 196: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:16:01.598521 [ 61708 ] {34a3fcf7-4a05-4458-93d4-170c9c1dcc22} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 99, m = 2. (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:57982) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (99, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:16:01.601327 [ 61708 ] {34a3fcf7-4a05-4458-93d4-170c9c1dcc22} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 99, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:16:03.386899 [ 62055 ] {e79c819e-9423-4cef-864b-932fda1e701a} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 100, m = 1. (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58032) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (100, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:16:03.389938 [ 62055 ] {e79c819e-9423-4cef-864b-932fda1e701a} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.src (0d9a03b1-0ebd-4540-9bf0-5a8be7d5123b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 100, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:16:03.623036 [ 61708 ] {291eb293-bd15-4f67-958f-f8b64aea78c6} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 200: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58048) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (100, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:16:03.625700 [ 61708 ] {291eb293-bd15-4f67-958f-f8b64aea78c6} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_b3g8tgwh.dst (0f1c4d90-c917-4974-8e3b-119f67cf5272) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 200: while pushing to view test_b3g8tgwh.mv (89ba8222-757b-4c84-babb-cda6e26903b3). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9d13a in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9cd80 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc955c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc9515 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc94f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc94d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc949d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc8db6 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc87fe in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d14b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fb9be in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64d4b0 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e64b17e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e643800 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 30. ? @ 0x00007f1d281b3ac3 in ? 31. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:16:06.081369 [ 815 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:16:06.081953 [ 815 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:16:06.171595 [ 815 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:16:21.274271 [ 62053 ] {edc398ee-517b-4729-93a2-c65e28fe9574} executeQuery: Code: 81. DB::Exception: Database test_01155_ordinary does not exist. (UNKNOWN_DATABASE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:33122) (comment: 01155_rename_move_materialized_view.sql) (in query: SELECT materialize(2), substr(_table, 1, 10), s FROM merge('test_01155_atomic', '') ORDER BY _table, s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:406: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0bd6 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 8. /build/src/Storages/StorageMaterializedView.cpp:409: DB::StorageMaterializedView::getTargetTable() const @ 0x000000001d72a8e9 in /usr/bin/clickhouse 9. /build/src/Storages/StorageMaterializedView.cpp:420: DB::StorageMaterializedView::getVirtuals() const @ 0x000000001d72d6e4 in /usr/bin/clickhouse 10. /build/src/Storages/StorageSnapshot.cpp:22: DB::StorageSnapshot::init() @ 0x000000001d9fa0e7 in /usr/bin/clickhouse 11. /build/src/Storages/StorageSnapshot.h:36: DB::StorageSnapshot::StorageSnapshot(DB::IStorage const&, std::shared_ptr) @ 0x000000001a9b2a9e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageSnapshot* std::construct_at[abi:v15000] const&, DB::StorageSnapshot*>(DB::StorageSnapshot*, DB::IStorage const&, std::shared_ptr const&) @ 0x000000001a9b29e7 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, void, void>(std::allocator&, DB::StorageSnapshot*, DB::IStorage const&, std::shared_ptr const&) @ 0x000000001a9b2789 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&>(std::allocator, DB::IStorage const&, std::shared_ptr const&) @ 0x000000001a9b248f in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::IStorage const&, std::shared_ptr const&, void>(std::allocator const&, DB::IStorage const&, std::shared_ptr const&) @ 0x000000001a9b2302 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, void>(DB::IStorage const&, std::shared_ptr const&) @ 0x000000001a9b228e in /usr/bin/clickhouse 17. /build/src/Storages/IStorage.h:662: DB::IStorage::getStorageSnapshot(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a9b1945 in /usr/bin/clickhouse 18. /build/src/Storages/StorageMerge.cpp:291: DB::StorageMerge::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001d752b5b in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab743b in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 02:16:21.275290 [ 62053 ] {edc398ee-517b-4729-93a2-c65e28fe9574} TCPHandler: Code: 81. DB::Exception: Database test_01155_ordinary does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:406: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0bd6 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 8. /build/src/Storages/StorageMaterializedView.cpp:409: DB::StorageMaterializedView::getTargetTable() const @ 0x000000001d72a8e9 in /usr/bin/clickhouse 9. /build/src/Storages/StorageMaterializedView.cpp:420: DB::StorageMaterializedView::getVirtuals() const @ 0x000000001d72d6e4 in /usr/bin/clickhouse 10. /build/src/Storages/StorageSnapshot.cpp:22: DB::StorageSnapshot::init() @ 0x000000001d9fa0e7 in /usr/bin/clickhouse 11. /build/src/Storages/StorageSnapshot.h:36: DB::StorageSnapshot::StorageSnapshot(DB::IStorage const&, std::shared_ptr) @ 0x000000001a9b2a9e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageSnapshot* std::construct_at[abi:v15000] const&, DB::StorageSnapshot*>(DB::StorageSnapshot*, DB::IStorage const&, std::shared_ptr const&) @ 0x000000001a9b29e7 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, void, void>(std::allocator&, DB::StorageSnapshot*, DB::IStorage const&, std::shared_ptr const&) @ 0x000000001a9b2789 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&>(std::allocator, DB::IStorage const&, std::shared_ptr const&) @ 0x000000001a9b248f in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::IStorage const&, std::shared_ptr const&, void>(std::allocator const&, DB::IStorage const&, std::shared_ptr const&) @ 0x000000001a9b2302 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, void>(DB::IStorage const&, std::shared_ptr const&) @ 0x000000001a9b228e in /usr/bin/clickhouse 17. /build/src/Storages/IStorage.h:662: DB::IStorage::getStorageSnapshot(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a9b1945 in /usr/bin/clickhouse 18. /build/src/Storages/StorageMerge.cpp:291: DB::StorageMerge::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001d752b5b in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab743b in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 2024.09.24 02:16:21.283554 [ 62053 ] {b6d919cf-c1cc-445d-91e5-060d87562635} executeQuery: Code: 36. DB::Exception: Dictionary (`test_01155_ordinary.dict`) not found: While processing dictGet('test_01155_ordinary.dict', 'x', 'after moving tables'). (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:33122) (comment: 01155_rename_move_materialized_view.sql) (in query: SELECT dictGet('test_01155_ordinary.dict', 'x', 'after moving tables');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x000000001c533072 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x000000001c533500 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x000000000bc63498 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:361: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc5be4a in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 2024.09.24 02:16:21.284233 [ 62053 ] {b6d919cf-c1cc-445d-91e5-060d87562635} TCPHandler: Code: 36. DB::Exception: Dictionary (`test_01155_ordinary.dict`) not found: While processing dictGet('test_01155_ordinary.dict', 'x', 'after moving tables'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x000000001c533072 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x000000001c533500 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x000000000bc63498 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:361: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc5be4a in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b192910 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abf0227 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abefc76 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abf0281 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc85626 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb7155 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbbb0a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 2024.09.24 02:16:21.325892 [ 727 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:16:21.326401 [ 727 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:16:21.387147 [ 727 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:16:32.286512 [ 62053 ] {b0fbeb40-2ed6-4ba2-9a36-b8076e8ef701} executeQuery: Code: 48. DB::Exception: Table test_dzz9wua9.src_0 (764aa884-af24-4ec2-bd18-4431223aa7fe) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:59324) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_0 MOVE PARTITION 2 TO TABLE dst_1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2100: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001e37efa5 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deadd35 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:16:32.288313 [ 62053 ] {b0fbeb40-2ed6-4ba2-9a36-b8076e8ef701} TCPHandler: Code: 48. DB::Exception: Table test_dzz9wua9.src_0 (764aa884-af24-4ec2-bd18-4431223aa7fe) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2100: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001e37efa5 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deadd35 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:16:32.631883 [ 937 ] {} test_dzz9wua9.dst_8 (dfab7d50-0a29-416c-939d-eed4ce800657): Do not enqueue part 4_0_0_0 for check because it's covered by drop range 4_0_0_999999999_999999999 and going to be removed 2024.09.24 02:16:34.498004 [ 64149 ] {f04f55a1-1f29-4a83-8736-c314db5d4cf0} executeQuery: Code: 233. DB::Exception: Unexpected part name: for format version: 1. (BAD_DATA_PART_NAME) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:59380) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE dst_3 DROP PART ''), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception&>(int, FormatStringHelperImpl::type, std::type_identity&>::type>, String const&, StrongTypedef&) @ 0x000000001e0d45ec in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreePartInfo.cpp:23: DB::MergeTreePartInfo::fromPartName(String const&, StrongTypedef) @ 0x000000001e0d1cc7 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4936: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&) const @ 0x000000001deab01d in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:184: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6113 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:16:34.500149 [ 64149 ] {f04f55a1-1f29-4a83-8736-c314db5d4cf0} TCPHandler: Code: 233. DB::Exception: Unexpected part name: for format version: 1. (BAD_DATA_PART_NAME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception&>(int, FormatStringHelperImpl::type, std::type_identity&>::type>, String const&, StrongTypedef&) @ 0x000000001e0d45ec in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreePartInfo.cpp:23: DB::MergeTreePartInfo::fromPartName(String const&, StrongTypedef) @ 0x000000001e0d1cc7 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4936: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&) const @ 0x000000001deab01d in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:184: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6113 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:16:34.731654 [ 62055 ] {5c01d5ab-86ed-4a05-9ded-d56f8e53ec12} executeQuery: Code: 48. DB::Exception: Table test_dzz9wua9.src_0 (764aa884-af24-4ec2-bd18-4431223aa7fe) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:59392) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_0 MOVE PARTITION 8 TO TABLE dst_2), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2100: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001e37efa5 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deadd35 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:16:34.733780 [ 62055 ] {5c01d5ab-86ed-4a05-9ded-d56f8e53ec12} TCPHandler: Code: 48. DB::Exception: Table test_dzz9wua9.src_0 (764aa884-af24-4ec2-bd18-4431223aa7fe) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2100: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001e37efa5 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deadd35 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:16:36.534189 [ 789 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:16:36.534731 [ 789 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:16:36.627654 [ 789 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:16:36.947531 [ 64151 ] {845e5c62-6a00-4057-a2ed-e8cc46006104} executeQuery: Code: 48. DB::Exception: Table test_dzz9wua9.src_0 (764aa884-af24-4ec2-bd18-4431223aa7fe) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:59494) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_0 MOVE PARTITION 7 TO TABLE dst_0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2100: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001e37efa5 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deadd35 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:16:36.949807 [ 64151 ] {845e5c62-6a00-4057-a2ed-e8cc46006104} TCPHandler: Code: 48. DB::Exception: Table test_dzz9wua9.src_0 (764aa884-af24-4ec2-bd18-4431223aa7fe) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2100: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001e37efa5 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deadd35 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:16:39.394538 [ 64156 ] {4baf2c12-2b7c-4ad5-ace3-b6f5c85e41eb} executeQuery: Code: 48. DB::Exception: Table test_dzz9wua9.src_12 (54c08fa6-18c2-46a7-8a35-b46bd6999b71) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:59588) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_12 MOVE PARTITION 0 TO TABLE dst_11), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2100: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001e37efa5 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deadd35 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:16:39.396165 [ 64156 ] {4baf2c12-2b7c-4ad5-ace3-b6f5c85e41eb} TCPHandler: Code: 48. DB::Exception: Table test_dzz9wua9.src_12 (54c08fa6-18c2-46a7-8a35-b46bd6999b71) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2100: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001e37efa5 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deadd35 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:16:41.971839 [ 64154 ] {c0401bc0-9141-4aad-8a42-95573423bd27} executeQuery: Code: 48. DB::Exception: Table test_dzz9wua9.src_9 (be60b9fe-ba52-42c7-b5fb-e3de6cdb4a02) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:44882) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_9 MOVE PARTITION 8 TO TABLE dst_8), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2100: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001e37efa5 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deadd35 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:16:41.973863 [ 64154 ] {c0401bc0-9141-4aad-8a42-95573423bd27} TCPHandler: Code: 48. DB::Exception: Table test_dzz9wua9.src_9 (be60b9fe-ba52-42c7-b5fb-e3de6cdb4a02) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2100: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001e37efa5 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deadd35 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:16:45.112943 [ 64151 ] {38c2ab28-d6f5-47ed-920d-6a4b344c71d8} executeQuery: Code: 384. DB::Exception: Part 0_3_3_0 has already been assigned a merge into 0_0_5_1. (PART_IS_TEMPORARILY_LOCKED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:44962) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE dst_11 DROP PART '0_3_3_0'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b200fea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b200f95 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:8317: DB::StorageReplicatedMergeTree::dropPartImpl(std::shared_ptr&, String, DB::ReplicatedMergeTreeLogEntry&, bool, bool) @ 0x000000001d88284c in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:6067: DB::StorageReplicatedMergeTree::dropPart(String const&, bool, std::shared_ptr) @ 0x000000001d8847db in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5139: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001dead624 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:16:45.128525 [ 64151 ] {38c2ab28-d6f5-47ed-920d-6a4b344c71d8} TCPHandler: Code: 384. DB::Exception: Part 0_3_3_0 has already been assigned a merge into 0_0_5_1. (PART_IS_TEMPORARILY_LOCKED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b200fea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b200f95 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:8317: DB::StorageReplicatedMergeTree::dropPartImpl(std::shared_ptr&, String, DB::ReplicatedMergeTreeLogEntry&, bool, bool) @ 0x000000001d88284c in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:6067: DB::StorageReplicatedMergeTree::dropPart(String const&, bool, std::shared_ptr) @ 0x000000001d8847db in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5139: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001dead624 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:16:45.229032 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {89f925f9-9cef-4d5f-b94f-602b7c3e32fa::0_0_5_1}: Code: 234. DB::Exception: No active replica has part 0_0_5_1 or covering part (cannot execute queue-0000000070: MERGE_PARTS with virtual parts [0_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:45.228964 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {9fa7090e-c64c-40a3-b394-290f8d37afb0::0_0_5_1}: Code: 234. DB::Exception: No active replica has part 0_0_5_1 or covering part (cannot execute queue-0000000070: MERGE_PARTS with virtual parts [0_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:45.239236 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {658183cd-6a60-4588-bd1b-9f9a0bb3d204::0_0_5_1}: Code: 234. DB::Exception: No active replica has part 0_0_5_1 or covering part (cannot execute queue-0000000070: MERGE_PARTS with virtual parts [0_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:45.249793 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {844ef734-969a-42e2-ac3e-605ffd584f90::0_0_5_1}: Code: 234. DB::Exception: No active replica has part 0_0_5_1 or covering part (cannot execute queue-0000000070: MERGE_PARTS with virtual parts [0_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:45.250676 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {df1ffc69-9e18-47e9-a85a-8ad4911eb9d3::0_0_5_1}: Code: 234. DB::Exception: No active replica has part 0_0_5_1 or covering part (cannot execute queue-0000000070: MERGE_PARTS with virtual parts [0_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:45.256263 [ 923 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {34726978-b03b-4d38-a706-f6d66fc24471::0_0_5_1}: Code: 234. DB::Exception: No active replica has part 0_0_5_1 or covering part (cannot execute queue-0000000070: MERGE_PARTS with virtual parts [0_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:45.289687 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {aaf0a1e4-3e25-410a-a168-576479721c3d::0_0_5_1}: Code: 234. DB::Exception: No active replica has part 0_0_5_1 or covering part (cannot execute queue-0000000070: MERGE_PARTS with virtual parts [0_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:45.658150 [ 922 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {e153af44-8c01-41e1-84d1-d9e23b89b9f8::2_0_5_1}: Code: 234. DB::Exception: No active replica has part 2_0_5_1 or covering part (cannot execute queue-0000000072: MERGE_PARTS with virtual parts [2_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:45.660707 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {dbe69e14-46e9-440a-9ced-adedbd3d61d7::2_0_5_1}: Code: 234. DB::Exception: No active replica has part 2_0_5_1 or covering part (cannot execute queue-0000000072: MERGE_PARTS with virtual parts [2_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:45.666887 [ 925 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8374e527-dc13-4ef1-b847-5ef5ee3b804c::2_0_5_1}: Code: 234. DB::Exception: No active replica has part 2_0_5_1 or covering part (cannot execute queue-0000000072: MERGE_PARTS with virtual parts [2_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:45.669956 [ 909 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {844ef734-969a-42e2-ac3e-605ffd584f90::2_0_5_1}: Code: 234. DB::Exception: No active replica has part 2_0_5_1 or covering part (cannot execute queue-0000000072: MERGE_PARTS with virtual parts [2_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:45.672861 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {9fa7090e-c64c-40a3-b394-290f8d37afb0::2_0_5_1}: Code: 234. DB::Exception: No active replica has part 2_0_5_1 or covering part (cannot execute queue-0000000072: MERGE_PARTS with virtual parts [2_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:45.678484 [ 924 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {89f925f9-9cef-4d5f-b94f-602b7c3e32fa::2_0_5_1}: Code: 234. DB::Exception: No active replica has part 2_0_5_1 or covering part (cannot execute queue-0000000072: MERGE_PARTS with virtual parts [2_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:45.748818 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5b938607-64db-4429-939b-82f4ad4827ab::2_0_5_1}: Code: 234. DB::Exception: No active replica has part 2_0_5_1 or covering part (cannot execute queue-0000000072: MERGE_PARTS with virtual parts [2_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:45.756697 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {dbe69e14-46e9-440a-9ced-adedbd3d61d7::6_0_5_1}: Code: 234. DB::Exception: No active replica has part 6_0_5_1 or covering part (cannot execute queue-0000000073: MERGE_PARTS with virtual parts [6_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:45.757268 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {844ef734-969a-42e2-ac3e-605ffd584f90::6_0_5_1}: Code: 234. DB::Exception: No active replica has part 6_0_5_1 or covering part (cannot execute queue-0000000073: MERGE_PARTS with virtual parts [6_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:45.758833 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {df1ffc69-9e18-47e9-a85a-8ad4911eb9d3::2_0_5_1}: Code: 234. DB::Exception: No active replica has part 2_0_5_1 or covering part (cannot execute queue-0000000072: MERGE_PARTS with virtual parts [2_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:45.759534 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {df1ffc69-9e18-47e9-a85a-8ad4911eb9d3::6_0_5_1}: Code: 234. DB::Exception: No active replica has part 6_0_5_1 or covering part (cannot execute queue-0000000073: MERGE_PARTS with virtual parts [6_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:45.763078 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {34726978-b03b-4d38-a706-f6d66fc24471::2_0_5_1}: Code: 234. DB::Exception: No active replica has part 2_0_5_1 or covering part (cannot execute queue-0000000072: MERGE_PARTS with virtual parts [2_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:45.769095 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {34726978-b03b-4d38-a706-f6d66fc24471::6_0_5_1}: Code: 234. DB::Exception: No active replica has part 6_0_5_1 or covering part (cannot execute queue-0000000073: MERGE_PARTS with virtual parts [6_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:45.782769 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8374e527-dc13-4ef1-b847-5ef5ee3b804c::6_0_5_1}: Code: 234. DB::Exception: No active replica has part 6_0_5_1 or covering part (cannot execute queue-0000000073: MERGE_PARTS with virtual parts [6_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:45.791800 [ 923 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {aaf0a1e4-3e25-410a-a168-576479721c3d::6_0_5_1}: Code: 234. DB::Exception: No active replica has part 6_0_5_1 or covering part (cannot execute queue-0000000073: MERGE_PARTS with virtual parts [6_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:45.800841 [ 916 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {aaf0a1e4-3e25-410a-a168-576479721c3d::2_0_5_1}: Code: 234. DB::Exception: No active replica has part 2_0_5_1 or covering part (cannot execute queue-0000000072: MERGE_PARTS with virtual parts [2_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:45.887165 [ 922 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {89f925f9-9cef-4d5f-b94f-602b7c3e32fa::6_0_5_1}: Code: 234. DB::Exception: No active replica has part 6_0_5_1 or covering part (cannot execute queue-0000000073: MERGE_PARTS with virtual parts [6_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:45.902380 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {e153af44-8c01-41e1-84d1-d9e23b89b9f8::2_0_5_1}: Code: 234. DB::Exception: No active replica has part 2_0_5_1 or covering part (cannot execute queue-0000000072: MERGE_PARTS with virtual parts [2_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:45.904615 [ 924 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {e153af44-8c01-41e1-84d1-d9e23b89b9f8::6_0_5_1}: Code: 234. DB::Exception: No active replica has part 6_0_5_1 or covering part (cannot execute queue-0000000073: MERGE_PARTS with virtual parts [6_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:45.915535 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {dbe69e14-46e9-440a-9ced-adedbd3d61d7::2_0_5_1}: Code: 234. DB::Exception: No active replica has part 2_0_5_1 or covering part (cannot execute queue-0000000072: MERGE_PARTS with virtual parts [2_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:45.916273 [ 925 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8374e527-dc13-4ef1-b847-5ef5ee3b804c::2_0_5_1}: Code: 234. DB::Exception: No active replica has part 2_0_5_1 or covering part (cannot execute queue-0000000072: MERGE_PARTS with virtual parts [2_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:45.925712 [ 909 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {844ef734-969a-42e2-ac3e-605ffd584f90::2_0_5_1}: Code: 234. DB::Exception: No active replica has part 2_0_5_1 or covering part (cannot execute queue-0000000072: MERGE_PARTS with virtual parts [2_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:45.970223 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {9fa7090e-c64c-40a3-b394-290f8d37afb0::2_0_5_1}: Code: 234. DB::Exception: No active replica has part 2_0_5_1 or covering part (cannot execute queue-0000000072: MERGE_PARTS with virtual parts [2_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:45.980417 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {9fa7090e-c64c-40a3-b394-290f8d37afb0::6_0_5_1}: Code: 234. DB::Exception: No active replica has part 6_0_5_1 or covering part (cannot execute queue-0000000073: MERGE_PARTS with virtual parts [6_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:45.986255 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {89f925f9-9cef-4d5f-b94f-602b7c3e32fa::2_0_5_1}: Code: 234. DB::Exception: No active replica has part 2_0_5_1 or covering part (cannot execute queue-0000000072: MERGE_PARTS with virtual parts [2_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:45.986694 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {df1ffc69-9e18-47e9-a85a-8ad4911eb9d3::2_0_5_1}: Code: 234. DB::Exception: No active replica has part 2_0_5_1 or covering part (cannot execute queue-0000000072: MERGE_PARTS with virtual parts [2_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:45.989321 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {844ef734-969a-42e2-ac3e-605ffd584f90::6_0_5_1}: Code: 234. DB::Exception: No active replica has part 6_0_5_1 or covering part (cannot execute queue-0000000073: MERGE_PARTS with virtual parts [6_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:45.991501 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {dbe69e14-46e9-440a-9ced-adedbd3d61d7::6_0_5_1}: Code: 234. DB::Exception: No active replica has part 6_0_5_1 or covering part (cannot execute queue-0000000073: MERGE_PARTS with virtual parts [6_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:45.993160 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {df1ffc69-9e18-47e9-a85a-8ad4911eb9d3::6_0_5_1}: Code: 234. DB::Exception: No active replica has part 6_0_5_1 or covering part (cannot execute queue-0000000073: MERGE_PARTS with virtual parts [6_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:45.997465 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {34726978-b03b-4d38-a706-f6d66fc24471::2_0_5_1}: Code: 234. DB::Exception: No active replica has part 2_0_5_1 or covering part (cannot execute queue-0000000072: MERGE_PARTS with virtual parts [2_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:46.016137 [ 923 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {34726978-b03b-4d38-a706-f6d66fc24471::6_0_5_1}: Code: 234. DB::Exception: No active replica has part 6_0_5_1 or covering part (cannot execute queue-0000000073: MERGE_PARTS with virtual parts [6_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:46.049489 [ 916 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8374e527-dc13-4ef1-b847-5ef5ee3b804c::6_0_5_1}: Code: 234. DB::Exception: No active replica has part 6_0_5_1 or covering part (cannot execute queue-0000000073: MERGE_PARTS with virtual parts [6_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:46.085040 [ 922 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {aaf0a1e4-3e25-410a-a168-576479721c3d::6_0_5_1}: Code: 234. DB::Exception: No active replica has part 6_0_5_1 or covering part (cannot execute queue-0000000073: MERGE_PARTS with virtual parts [6_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:46.119135 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {658183cd-6a60-4588-bd1b-9f9a0bb3d204::2_0_5_1}: Code: 234. DB::Exception: No active replica has part 2_0_5_1 or covering part (cannot execute queue-0000000072: MERGE_PARTS with virtual parts [2_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:46.121657 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {aaf0a1e4-3e25-410a-a168-576479721c3d::2_0_5_1}: Code: 234. DB::Exception: No active replica has part 2_0_5_1 or covering part (cannot execute queue-0000000072: MERGE_PARTS with virtual parts [2_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:46.123588 [ 924 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {658183cd-6a60-4588-bd1b-9f9a0bb3d204::6_0_5_1}: Code: 234. DB::Exception: No active replica has part 6_0_5_1 or covering part (cannot execute queue-0000000073: MERGE_PARTS with virtual parts [6_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:46.129570 [ 909 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {89f925f9-9cef-4d5f-b94f-602b7c3e32fa::6_0_5_1}: Code: 234. DB::Exception: No active replica has part 6_0_5_1 or covering part (cannot execute queue-0000000073: MERGE_PARTS with virtual parts [6_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:46.131996 [ 925 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {e153af44-8c01-41e1-84d1-d9e23b89b9f8::2_0_5_1}: Code: 234. DB::Exception: No active replica has part 2_0_5_1 or covering part (cannot execute queue-0000000072: MERGE_PARTS with virtual parts [2_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:46.169132 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {e153af44-8c01-41e1-84d1-d9e23b89b9f8::6_0_5_1}: Code: 234. DB::Exception: No active replica has part 6_0_5_1 or covering part (cannot execute queue-0000000073: MERGE_PARTS with virtual parts [6_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:46.180324 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {9fa7090e-c64c-40a3-b394-290f8d37afb0::6_0_5_1}: Code: 234. DB::Exception: No active replica has part 6_0_5_1 or covering part (cannot execute queue-0000000073: MERGE_PARTS with virtual parts [6_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:46.185669 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {dbe69e14-46e9-440a-9ced-adedbd3d61d7::2_0_5_1}: Code: 234. DB::Exception: No active replica has part 2_0_5_1 or covering part (cannot execute queue-0000000072: MERGE_PARTS with virtual parts [2_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:46.194263 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8374e527-dc13-4ef1-b847-5ef5ee3b804c::2_0_5_1}: Code: 234. DB::Exception: No active replica has part 2_0_5_1 or covering part (cannot execute queue-0000000072: MERGE_PARTS with virtual parts [2_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:46.196377 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {89f925f9-9cef-4d5f-b94f-602b7c3e32fa::2_0_5_1}: Code: 234. DB::Exception: No active replica has part 2_0_5_1 or covering part (cannot execute queue-0000000072: MERGE_PARTS with virtual parts [2_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:46.211122 [ 923 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {df1ffc69-9e18-47e9-a85a-8ad4911eb9d3::2_0_5_1}: Code: 234. DB::Exception: No active replica has part 2_0_5_1 or covering part (cannot execute queue-0000000072: MERGE_PARTS with virtual parts [2_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:46.252861 [ 916 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {844ef734-969a-42e2-ac3e-605ffd584f90::6_0_5_1}: Code: 234. DB::Exception: No active replica has part 6_0_5_1 or covering part (cannot execute queue-0000000073: MERGE_PARTS with virtual parts [6_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:46.280112 [ 922 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {dbe69e14-46e9-440a-9ced-adedbd3d61d7::6_0_5_1}: Code: 234. DB::Exception: No active replica has part 6_0_5_1 or covering part (cannot execute queue-0000000073: MERGE_PARTS with virtual parts [6_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:46.291465 [ 924 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {34726978-b03b-4d38-a706-f6d66fc24471::6_0_5_1}: Code: 234. DB::Exception: No active replica has part 6_0_5_1 or covering part (cannot execute queue-0000000073: MERGE_PARTS with virtual parts [6_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:46.292489 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {df1ffc69-9e18-47e9-a85a-8ad4911eb9d3::6_0_5_1}: Code: 234. DB::Exception: No active replica has part 6_0_5_1 or covering part (cannot execute queue-0000000073: MERGE_PARTS with virtual parts [6_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:46.346841 [ 909 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {aaf0a1e4-3e25-410a-a168-576479721c3d::6_0_5_1}: Code: 234. DB::Exception: No active replica has part 6_0_5_1 or covering part (cannot execute queue-0000000073: MERGE_PARTS with virtual parts [6_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:46.981302 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {e153af44-8c01-41e1-84d1-d9e23b89b9f8::3_1_6_1}: Code: 234. DB::Exception: No active replica has part 3_1_6_1 or covering part (cannot execute queue-0000000080: MERGE_PARTS with virtual parts [3_1_6_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:46.986223 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {6575436e-6e58-4912-a8d9-75d297a3882d::3_1_6_1}: Code: 234. DB::Exception: No active replica has part 3_1_6_1 or covering part (cannot execute queue-0000000080: MERGE_PARTS with virtual parts [3_1_6_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:46.986538 [ 922 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {844ef734-969a-42e2-ac3e-605ffd584f90::3_1_6_1}: Code: 234. DB::Exception: No active replica has part 3_1_6_1 or covering part (cannot execute queue-0000000080: MERGE_PARTS with virtual parts [3_1_6_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:46.992475 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {89f925f9-9cef-4d5f-b94f-602b7c3e32fa::3_1_6_1}: Code: 234. DB::Exception: No active replica has part 3_1_6_1 or covering part (cannot execute queue-0000000080: MERGE_PARTS with virtual parts [3_1_6_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:46.997460 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8374e527-dc13-4ef1-b847-5ef5ee3b804c::3_1_6_1}: Code: 234. DB::Exception: No active replica has part 3_1_6_1 or covering part (cannot execute queue-0000000080: MERGE_PARTS with virtual parts [3_1_6_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:47.007581 [ 925 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {658183cd-6a60-4588-bd1b-9f9a0bb3d204::3_1_6_1}: Code: 234. DB::Exception: No active replica has part 3_1_6_1 or covering part (cannot execute queue-0000000080: MERGE_PARTS with virtual parts [3_1_6_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:51.479204 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {aaf0a1e4-3e25-410a-a168-576479721c3d::9_0_7_2}: Code: 234. DB::Exception: No active replica has part 9_0_7_2 or covering part (cannot execute queue-0000000105: MERGE_PARTS with virtual parts [9_0_7_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:51.497032 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {dbe69e14-46e9-440a-9ced-adedbd3d61d7::9_0_7_2}: Code: 234. DB::Exception: No active replica has part 9_0_7_2 or covering part (cannot execute queue-0000000105: MERGE_PARTS with virtual parts [9_0_7_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:51.499722 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {fbe21d30-afb0-4101-b208-309340cc9589::9_0_7_2}: Code: 234. DB::Exception: No active replica has part 9_0_7_2 or covering part (cannot execute queue-0000000105: MERGE_PARTS with virtual parts [9_0_7_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:51.509831 [ 922 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {34726978-b03b-4d38-a706-f6d66fc24471::9_0_7_2}: Code: 234. DB::Exception: No active replica has part 9_0_7_2 or covering part (cannot execute queue-0000000105: MERGE_PARTS with virtual parts [9_0_7_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:51.539682 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5b938607-64db-4429-939b-82f4ad4827ab::9_0_7_2}: Code: 234. DB::Exception: No active replica has part 9_0_7_2 or covering part (cannot execute queue-0000000105: MERGE_PARTS with virtual parts [9_0_7_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:51.542174 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {dfab7d50-0a29-416c-939d-eed4ce800657::9_0_7_2}: Code: 234. DB::Exception: No active replica has part 9_0_7_2 or covering part (cannot execute queue-0000000105: MERGE_PARTS with virtual parts [9_0_7_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:51.553093 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {6575436e-6e58-4912-a8d9-75d297a3882d::9_0_7_2}: Code: 234. DB::Exception: No active replica has part 9_0_7_2 or covering part (cannot execute queue-0000000105: MERGE_PARTS with virtual parts [9_0_7_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:51.556971 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {844ef734-969a-42e2-ac3e-605ffd584f90::9_0_7_2}: Code: 234. DB::Exception: No active replica has part 9_0_7_2 or covering part (cannot execute queue-0000000105: MERGE_PARTS with virtual parts [9_0_7_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:51.794475 [ 792 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:16:51.794997 [ 792 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:16:51.882804 [ 792 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:16:53.627066 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {dfab7d50-0a29-416c-939d-eed4ce800657::1_5_10_1}: Code: 234. DB::Exception: No active replica has part 1_5_10_1 or covering part (cannot execute queue-0000000113: MERGE_PARTS with virtual parts [1_5_10_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:53.627262 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {844ef734-969a-42e2-ac3e-605ffd584f90::1_5_10_1}: Code: 234. DB::Exception: No active replica has part 1_5_10_1 or covering part (cannot execute queue-0000000113: MERGE_PARTS with virtual parts [1_5_10_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:53.627664 [ 916 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {dbe69e14-46e9-440a-9ced-adedbd3d61d7::1_5_10_1}: Code: 234. DB::Exception: No active replica has part 1_5_10_1 or covering part (cannot execute queue-0000000113: MERGE_PARTS with virtual parts [1_5_10_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:53.627729 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {df1ffc69-9e18-47e9-a85a-8ad4911eb9d3::1_5_10_1}: Code: 234. DB::Exception: No active replica has part 1_5_10_1 or covering part (cannot execute queue-0000000113: MERGE_PARTS with virtual parts [1_5_10_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:53.628151 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {6575436e-6e58-4912-a8d9-75d297a3882d::1_5_10_1}: Code: 234. DB::Exception: No active replica has part 1_5_10_1 or covering part (cannot execute queue-0000000113: MERGE_PARTS with virtual parts [1_5_10_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:53.658503 [ 909 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {aaf0a1e4-3e25-410a-a168-576479721c3d::1_5_10_1}: Code: 234. DB::Exception: No active replica has part 1_5_10_1 or covering part (cannot execute queue-0000000113: MERGE_PARTS with virtual parts [1_5_10_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:53.694032 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {822397b4-5f46-4430-bb7d-339c3c5a2991::1_5_10_1}: Code: 234. DB::Exception: No active replica has part 1_5_10_1 or covering part (cannot execute queue-0000000113: MERGE_PARTS with virtual parts [1_5_10_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:55.788759 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {bc2f5a73-abf1-4b36-bc12-691790b11736::4_0_6_1}: Code: 234. DB::Exception: No active replica has part 4_0_6_1 or covering part (cannot execute queue-0000000063: MERGE_PARTS with virtual parts [4_0_6_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:55.789960 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {16e98bf9-b598-48f6-ac99-3b4768b9aa04::4_0_6_1}: Code: 234. DB::Exception: No active replica has part 4_0_6_1 or covering part (cannot execute queue-0000000063: MERGE_PARTS with virtual parts [4_0_6_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:55.798795 [ 909 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {06bce907-8713-4dd9-b7fe-2d43dd6dcceb::4_0_6_1}: Code: 234. DB::Exception: No active replica has part 4_0_6_1 or covering part (cannot execute queue-0000000063: MERGE_PARTS with virtual parts [4_0_6_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:55.829539 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {515d0874-83ba-43ff-83fa-fd4c7fe678ad::4_0_6_1}: Code: 234. DB::Exception: No active replica has part 4_0_6_1 or covering part (cannot execute queue-0000000063: MERGE_PARTS with virtual parts [4_0_6_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:55.897795 [ 924 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {bc2f5a73-abf1-4b36-bc12-691790b11736::4_0_6_1}: Code: 234. DB::Exception: No active replica has part 4_0_6_1 or covering part (cannot execute queue-0000000063: MERGE_PARTS with virtual parts [4_0_6_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:56.154695 [ 62056 ] {} InterserverIOHTTPHandler: Code: 232. DB::Exception: No part 3_12_12_0 in table. (NO_SUCH_DATA_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/DataPartsExchange.cpp:381: DB::DataPartsExchange::Service::findPart(String const&) @ 0x000000001dd1d49b in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/DataPartsExchange.cpp:139: DB::DataPartsExchange::Service::processQuery(DB::HTMLForm const&, DB::ReadBuffer&, DB::WriteBuffer&, DB::HTTPServerResponse&) @ 0x000000001dd1c420 in /usr/bin/clickhouse 8. /build/src/Server/InterserverIOHTTPHandler.cpp:75: DB::InterserverIOHTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTTPServerResponse&, DB::InterserverIOHTTPHandler::Output&) @ 0x000000001e5eb5d3 in /usr/bin/clickhouse 9. /build/src/Server/InterserverIOHTTPHandler.cpp:120: DB::InterserverIOHTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5eb92e in /usr/bin/clickhouse 10. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 16. ? @ 0x00007f1d281b3ac3 in ? 17. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:56.176704 [ 934 ] {} test_dzz9wua9.dst_14 (dbe69e14-46e9-440a-9ced-adedbd3d61d7): Do not enqueue part 3_12_12_0 for check because it's covered by drop range 3_0_12_999999999_999999999 and going to be removed 2024.09.24 02:16:56.369898 [ 937 ] {} test_dzz9wua9.dst_10 (9fa7090e-c64c-40a3-b394-290f8d37afb0): auto DB::StorageReplicatedMergeTree::processQueueEntry(ReplicatedMergeTreeQueue::SelectedEntryPtr)::(anonymous class)::operator()(LogEntryPtr &) const: Code: 86. DB::HTTPException: Received error from remote server /?endpoint=DataPartsExchange%3Adefault%3A%2Ftest%2F01154_move_partition_long_test_dzz9wua9%2Fdst%2Freplicas%2F12&part=3_12_12_0&client_protocol_version=8&compress=false. HTTP status code: 500 Internal Server Error, body: Code: 232. DB::Exception: No part 3_12_12_0 in table. (NO_SUCH_DATA_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/DataPartsExchange.cpp:381: DB::DataPartsExchange::Service::findPart(String const&) @ 0x000000001dd1d49b in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/DataPartsExchange.cpp:139: DB::DataPartsExchange::Service::processQuery(DB::HTMLForm const&, DB::ReadBuffer&, DB::WriteBuffer&, DB::HTTPServerResponse&) @ 0x000000001dd1c420 in /usr/bin/clickhouse 8. /build/src/Server/InterserverIOHTTPHandler.cpp:75: DB::InterserverIOHTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTTPServerResponse&, DB::InterserverIOHTTPHandler::Output&) @ 0x000000001e5eb5d3 in /usr/bin/clickhouse 9. /build/src/Server/InterserverIOHTTPHandler.cpp:120: DB::InterserverIOHTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5eb92e in /usr/bin/clickhouse 10. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 16. ? @ 0x00007f1d281b3ac3 in ? 17. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)). (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x0000000013cae444 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:418: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013ca266b in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:31: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013cae211 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:407: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x0000000013ca250b in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:386: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x0000000013ca2326 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.cpp:162: DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&, bool) @ 0x0000000017c70eab in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.cpp:341: DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool, bool) @ 0x0000000017c74450 in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.cpp:378: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x0000000017c72de0 in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.cpp:296: DB::detail::ReadWriteBufferFromHTTPBase>>::ReadWriteBufferFromHTTPBase(std::shared_ptr>, Poco::URI, Poco::Net::HTTPBasicCredentials const&, String const&, std::function>&)>, unsigned long, DB::ReadSettings const&, std::vector>, DB::RemoteHostFilter const*, bool, bool, bool, std::optional, Poco::Net::HTTPClientSession::ProxyConfig) @ 0x0000000017c72b12 in /usr/bin/clickhouse 14. /build/src/IO/ReadWriteBufferFromHTTP.cpp:926: DB::PooledReadWriteBufferFromHTTP::PooledReadWriteBufferFromHTTP(Poco::URI, String const&, std::function>&)>, DB::ConnectionTimeouts const&, Poco::Net::HTTPBasicCredentials const&, unsigned long, unsigned long, unsigned long) @ 0x0000000017c64013 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](Poco::URI&, String const&, std::nullptr_t&&, DB::ConnectionTimeouts const&, Poco::Net::HTTPBasicCredentials&, unsigned long long&&, int&&, unsigned long&&) @ 0x000000001dd307a6 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/DataPartsExchange.cpp:521: DB::DataPartsExchange::Fetcher::fetchSelectedPart(std::shared_ptr const&, std::shared_ptr, String const&, String const&, String const&, String const&, int, DB::ConnectionTimeouts const&, String const&, String const&, String const&, std::shared_ptr, bool, String const&, std::optional*, bool, std::shared_ptr) @ 0x000000001dd2392c in /usr/bin/clickhouse 17. /build/src/Storages/StorageReplicatedMergeTree.cpp:4596: DB::StorageReplicatedMergeTree::fetchPart(String const&, std::shared_ptr const&, String const&, String const&, bool, unsigned long, std::shared_ptr, bool)::$_3::operator()() const @ 0x000000001d8dd889 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, String const&, String const&, bool, unsigned long, std::shared_ptr, bool)::$_3&>()()) std::__invoke[abi:v15000] const&, String const&, String const&, bool, unsigned long, std::shared_ptr, bool)::$_3&>(DB::StorageReplicatedMergeTree::fetchPart(String const&, std::shared_ptr const&, String const&, String const&, bool, unsigned long, std::shared_ptr, bool)::$_3&) @ 0x000000001d8dd4f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call const&, String const&, String const&, bool, unsigned long, std::shared_ptr, bool)::$_3&>(DB::StorageReplicatedMergeTree::fetchPart(String const&, std::shared_ptr const&, String const&, String const&, bool, unsigned long, std::shared_ptr, bool)::$_3&) @ 0x000000001d8dd4b5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, String const&, String const&, bool, unsigned long, std::shared_ptr, bool)::$_3, std::shared_ptr ()>::operator()[abi:v15000]() @ 0x000000001d8dd475 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker ()>::__call_impl const&, String const&, String const&, bool, unsigned long, std::shared_ptr, bool)::$_3, std::shared_ptr ()>>(std::__function::__policy_storage const*) @ 0x000000001d8dd440 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func ()>::operator()[abi:v15000]() const @ 0x000000001d9300b6 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function ()>::operator()() const @ 0x000000001d8e8c95 in /usr/bin/clickhouse 24. /build/src/Storages/StorageReplicatedMergeTree.cpp:4620: DB::StorageReplicatedMergeTree::fetchPart(String const&, std::shared_ptr const&, String const&, String const&, bool, unsigned long, std::shared_ptr, bool) @ 0x000000001d839d94 in /usr/bin/clickhouse 25. /build/src/Storages/StorageReplicatedMergeTree.cpp:1953: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82f71f in /usr/bin/clickhouse 26. /build/src/Storages/StorageReplicatedMergeTree.cpp:1794: DB::StorageReplicatedMergeTree::executeLogEntry(DB::ReplicatedMergeTreeLogEntry&) @ 0x000000001d821ece in /usr/bin/clickhouse 27. /build/src/Storages/StorageReplicatedMergeTree.cpp:3279: DB::StorageReplicatedMergeTree::processQueueEntry(std::shared_ptr)::$_1::operator()(std::shared_ptr&) const @ 0x000000001d8da0d9 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval)::$_1&>()(std::declval&>())) std::__invoke[abi:v15000])::$_1&, std::shared_ptr&>(DB::StorageReplicatedMergeTree::processQueueEntry(std::shared_ptr)::$_1&, std::shared_ptr&) @ 0x000000001d8da07d in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: bool std::__invoke_void_return_wrapper::__call)::$_1&, std::shared_ptr&>(DB::StorageReplicatedMergeTree::processQueueEntry(std::shared_ptr)::$_1&, std::shared_ptr&) @ 0x000000001d8da03d in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func)::$_1, bool (std::shared_ptr&)>::operator()[abi:v15000](std::shared_ptr&) @ 0x000000001d8d9ffd in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker&)>::__call_impl)::$_1, bool (std::shared_ptr&)>>(std::__function::__policy_storage const*, std::shared_ptr&) @ 0x000000001d8d9fc5 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:56.370018 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {844ef734-969a-42e2-ac3e-605ffd584f90::8_2_10_2}: Code: 234. DB::Exception: No active replica has part 8_2_10_2 or covering part (cannot execute queue-0000000132: MERGE_PARTS with virtual parts [8_2_10_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:56.370208 [ 922 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {822397b4-5f46-4430-bb7d-339c3c5a2991::8_2_10_2}: Code: 234. DB::Exception: No active replica has part 8_2_10_2 or covering part (cannot execute queue-0000000132: MERGE_PARTS with virtual parts [8_2_10_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:56.371664 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {89f925f9-9cef-4d5f-b94f-602b7c3e32fa::8_2_10_2}: Code: 234. DB::Exception: No active replica has part 8_2_10_2 or covering part (cannot execute queue-0000000132: MERGE_PARTS with virtual parts [8_2_10_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:56.372712 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {fbe21d30-afb0-4101-b208-309340cc9589::8_2_10_2}: Code: 234. DB::Exception: No active replica has part 8_2_10_2 or covering part (cannot execute queue-0000000132: MERGE_PARTS with virtual parts [8_2_10_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:56.371656 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8374e527-dc13-4ef1-b847-5ef5ee3b804c::8_2_10_2}: Code: 234. DB::Exception: No active replica has part 8_2_10_2 or covering part (cannot execute queue-0000000132: MERGE_PARTS with virtual parts [8_2_10_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:56.374402 [ 923 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {3fe03022-cfb5-4d3e-8c45-03aecce4ca41::8_2_10_2}: Code: 234. DB::Exception: No active replica has part 8_2_10_2 or covering part (cannot execute queue-0000000132: MERGE_PARTS with virtual parts [8_2_10_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:56.374503 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {aaf0a1e4-3e25-410a-a168-576479721c3d::8_2_10_2}: Code: 234. DB::Exception: No active replica has part 8_2_10_2 or covering part (cannot execute queue-0000000132: MERGE_PARTS with virtual parts [8_2_10_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:56.374552 [ 916 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {e153af44-8c01-41e1-84d1-d9e23b89b9f8::8_2_10_2}: Code: 234. DB::Exception: No active replica has part 8_2_10_2 or covering part (cannot execute queue-0000000132: MERGE_PARTS with virtual parts [8_2_10_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:56.375638 [ 909 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {dbe69e14-46e9-440a-9ced-adedbd3d61d7::8_2_10_2}: Code: 234. DB::Exception: No active replica has part 8_2_10_2 or covering part (cannot execute queue-0000000132: MERGE_PARTS with virtual parts [8_2_10_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:56.376281 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {df1ffc69-9e18-47e9-a85a-8ad4911eb9d3::8_2_10_2}: Code: 234. DB::Exception: No active replica has part 8_2_10_2 or covering part (cannot execute queue-0000000132: MERGE_PARTS with virtual parts [8_2_10_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:56.381360 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {9fa7090e-c64c-40a3-b394-290f8d37afb0::8_2_10_2}: Code: 234. DB::Exception: No active replica has part 8_2_10_2 or covering part (cannot execute queue-0000000132: MERGE_PARTS with virtual parts [8_2_10_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:56.381361 [ 924 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5b938607-64db-4429-939b-82f4ad4827ab::8_2_10_2}: Code: 234. DB::Exception: No active replica has part 8_2_10_2 or covering part (cannot execute queue-0000000132: MERGE_PARTS with virtual parts [8_2_10_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:56.382101 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {dfab7d50-0a29-416c-939d-eed4ce800657::8_2_10_2}: Code: 234. DB::Exception: No active replica has part 8_2_10_2 or covering part (cannot execute queue-0000000132: MERGE_PARTS with virtual parts [8_2_10_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:56.382905 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {16e98bf9-b598-48f6-ac99-3b4768b9aa04::0_0_5_1}: Code: 234. DB::Exception: No active replica has part 0_0_5_1 or covering part (cannot execute queue-0000000067: MERGE_PARTS with virtual parts [0_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:56.385771 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {06bce907-8713-4dd9-b7fe-2d43dd6dcceb::0_0_5_1}: Code: 234. DB::Exception: No active replica has part 0_0_5_1 or covering part (cannot execute queue-0000000067: MERGE_PARTS with virtual parts [0_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:56.385894 [ 925 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {bc2f5a73-abf1-4b36-bc12-691790b11736::0_0_5_1}: Code: 234. DB::Exception: No active replica has part 0_0_5_1 or covering part (cannot execute queue-0000000067: MERGE_PARTS with virtual parts [0_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:56.459007 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {06bce907-8713-4dd9-b7fe-2d43dd6dcceb::3_6_11_1}: Code: 234. DB::Exception: No active replica has part 3_6_11_1 or covering part (cannot execute queue-0000000068: MERGE_PARTS with virtual parts [3_6_11_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:56.459017 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {515d0874-83ba-43ff-83fa-fd4c7fe678ad::0_0_5_1}: Code: 234. DB::Exception: No active replica has part 0_0_5_1 or covering part (cannot execute queue-0000000067: MERGE_PARTS with virtual parts [0_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:56.459546 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {515d0874-83ba-43ff-83fa-fd4c7fe678ad::3_6_11_1}: Code: 234. DB::Exception: No active replica has part 3_6_11_1 or covering part (cannot execute queue-0000000068: MERGE_PARTS with virtual parts [3_6_11_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:56.461170 [ 922 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {16e98bf9-b598-48f6-ac99-3b4768b9aa04::3_6_11_1}: Code: 234. DB::Exception: No active replica has part 3_6_11_1 or covering part (cannot execute queue-0000000068: MERGE_PARTS with virtual parts [3_6_11_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:56.463351 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {bc2f5a73-abf1-4b36-bc12-691790b11736::3_6_11_1}: Code: 234. DB::Exception: No active replica has part 3_6_11_1 or covering part (cannot execute queue-0000000068: MERGE_PARTS with virtual parts [3_6_11_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:56.515300 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {16e98bf9-b598-48f6-ac99-3b4768b9aa04::0_0_5_1}: Code: 234. DB::Exception: No active replica has part 0_0_5_1 or covering part (cannot execute queue-0000000067: MERGE_PARTS with virtual parts [0_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:56.517767 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {06bce907-8713-4dd9-b7fe-2d43dd6dcceb::0_0_5_1}: Code: 234. DB::Exception: No active replica has part 0_0_5_1 or covering part (cannot execute queue-0000000067: MERGE_PARTS with virtual parts [0_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:56.525471 [ 922 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {06bce907-8713-4dd9-b7fe-2d43dd6dcceb::3_6_11_1}: Code: 234. DB::Exception: No active replica has part 3_6_11_1 or covering part (cannot execute queue-0000000068: MERGE_PARTS with virtual parts [3_6_11_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:56.535461 [ 916 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {16e98bf9-b598-48f6-ac99-3b4768b9aa04::3_6_11_1}: Code: 234. DB::Exception: No active replica has part 3_6_11_1 or covering part (cannot execute queue-0000000068: MERGE_PARTS with virtual parts [3_6_11_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:56.542156 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {515d0874-83ba-43ff-83fa-fd4c7fe678ad::0_0_5_1}: Code: 234. DB::Exception: No active replica has part 0_0_5_1 or covering part (cannot execute queue-0000000067: MERGE_PARTS with virtual parts [0_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:56.549834 [ 923 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {515d0874-83ba-43ff-83fa-fd4c7fe678ad::3_6_11_1}: Code: 234. DB::Exception: No active replica has part 3_6_11_1 or covering part (cannot execute queue-0000000068: MERGE_PARTS with virtual parts [3_6_11_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:56.558516 [ 909 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {bc2f5a73-abf1-4b36-bc12-691790b11736::3_6_11_1}: Code: 234. DB::Exception: No active replica has part 3_6_11_1 or covering part (cannot execute queue-0000000068: MERGE_PARTS with virtual parts [3_6_11_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:56.563169 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {16e98bf9-b598-48f6-ac99-3b4768b9aa04::0_0_5_1}: Code: 234. DB::Exception: No active replica has part 0_0_5_1 or covering part (cannot execute queue-0000000067: MERGE_PARTS with virtual parts [0_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:56.567196 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {06bce907-8713-4dd9-b7fe-2d43dd6dcceb::0_0_5_1}: Code: 234. DB::Exception: No active replica has part 0_0_5_1 or covering part (cannot execute queue-0000000067: MERGE_PARTS with virtual parts [0_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:56.575355 [ 922 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {06bce907-8713-4dd9-b7fe-2d43dd6dcceb::3_6_11_1}: Code: 234. DB::Exception: No active replica has part 3_6_11_1 or covering part (cannot execute queue-0000000068: MERGE_PARTS with virtual parts [3_6_11_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:56.583861 [ 916 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {16e98bf9-b598-48f6-ac99-3b4768b9aa04::3_6_11_1}: Code: 234. DB::Exception: No active replica has part 3_6_11_1 or covering part (cannot execute queue-0000000068: MERGE_PARTS with virtual parts [3_6_11_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:56.597173 [ 925 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {515d0874-83ba-43ff-83fa-fd4c7fe678ad::0_0_5_1}: Code: 234. DB::Exception: No active replica has part 0_0_5_1 or covering part (cannot execute queue-0000000067: MERGE_PARTS with virtual parts [0_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:59.272883 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {06bce907-8713-4dd9-b7fe-2d43dd6dcceb::9_0_5_1}: Code: 234. DB::Exception: No active replica has part 9_0_5_1 or covering part (cannot execute queue-0000000079: MERGE_PARTS with virtual parts [9_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:59.273702 [ 924 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {d6fc0a8d-1256-431c-9f49-87e3b3b4b919::9_0_5_1}: Code: 234. DB::Exception: No active replica has part 9_0_5_1 or covering part (cannot execute queue-0000000079: MERGE_PARTS with virtual parts [9_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:59.276501 [ 923 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {16e98bf9-b598-48f6-ac99-3b4768b9aa04::9_0_5_1}: Code: 234. DB::Exception: No active replica has part 9_0_5_1 or covering part (cannot execute queue-0000000079: MERGE_PARTS with virtual parts [9_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:59.282275 [ 922 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {bc2f5a73-abf1-4b36-bc12-691790b11736::9_0_5_1}: Code: 234. DB::Exception: No active replica has part 9_0_5_1 or covering part (cannot execute queue-0000000079: MERGE_PARTS with virtual parts [9_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:59.319484 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {16e98bf9-b598-48f6-ac99-3b4768b9aa04::9_0_5_1}: Code: 234. DB::Exception: No active replica has part 9_0_5_1 or covering part (cannot execute queue-0000000079: MERGE_PARTS with virtual parts [9_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:59.333862 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {06bce907-8713-4dd9-b7fe-2d43dd6dcceb::5_3_8_1}: Code: 234. DB::Exception: No active replica has part 5_3_8_1 or covering part (cannot execute queue-0000000081: MERGE_PARTS with virtual parts [5_3_8_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:59.339576 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {d6fc0a8d-1256-431c-9f49-87e3b3b4b919::5_3_8_1}: Code: 234. DB::Exception: No active replica has part 5_3_8_1 or covering part (cannot execute queue-0000000081: MERGE_PARTS with virtual parts [5_3_8_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:59.339951 [ 925 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {bc2f5a73-abf1-4b36-bc12-691790b11736::5_3_8_1}: Code: 234. DB::Exception: No active replica has part 5_3_8_1 or covering part (cannot execute queue-0000000081: MERGE_PARTS with virtual parts [5_3_8_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:59.341871 [ 909 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {16e98bf9-b598-48f6-ac99-3b4768b9aa04::5_3_8_1}: Code: 234. DB::Exception: No active replica has part 5_3_8_1 or covering part (cannot execute queue-0000000081: MERGE_PARTS with virtual parts [5_3_8_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:16:59.413134 [ 923 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {bc2f5a73-abf1-4b36-bc12-691790b11736::5_3_8_1}: Code: 234. DB::Exception: No active replica has part 5_3_8_1 or covering part (cannot execute queue-0000000081: MERGE_PARTS with virtual parts [5_3_8_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:03.602903 [ 925 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {16e98bf9-b598-48f6-ac99-3b4768b9aa04::2_6_9_1}: Code: 234. DB::Exception: No active replica has part 2_6_9_1 or covering part (cannot execute queue-0000000092: MERGE_PARTS with virtual parts [2_6_9_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:03.602970 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {bc2f5a73-abf1-4b36-bc12-691790b11736::2_6_9_1}: Code: 234. DB::Exception: No active replica has part 2_6_9_1 or covering part (cannot execute queue-0000000092: MERGE_PARTS with virtual parts [2_6_9_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:03.850217 [ 64158 ] {5e2dc1c6-f635-449e-b415-1a7fc75cd3a5} executeQuery: Code: 48. DB::Exception: Table test_dzz9wua9.src_12 (54c08fa6-18c2-46a7-8a35-b46bd6999b71) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:41438) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_12 MOVE PARTITION 7 TO TABLE dst_15), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2100: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001e37efa5 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deadd35 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:17:03.852072 [ 64158 ] {5e2dc1c6-f635-449e-b415-1a7fc75cd3a5} TCPHandler: Code: 48. DB::Exception: Table test_dzz9wua9.src_12 (54c08fa6-18c2-46a7-8a35-b46bd6999b71) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2100: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001e37efa5 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deadd35 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:17:03.959030 [ 64159 ] {4c5a1883-4096-4a3a-9e41-2203f4f27684} executeQuery: Code: 384. DB::Exception: Part 6_0_10_2 has already been assigned a merge into 6_0_15_3. (PART_IS_TEMPORARILY_LOCKED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:41442) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE dst_5 DROP PART '6_0_10_2'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b200fea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b200f95 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:8317: DB::StorageReplicatedMergeTree::dropPartImpl(std::shared_ptr&, String, DB::ReplicatedMergeTreeLogEntry&, bool, bool) @ 0x000000001d88284c in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:6067: DB::StorageReplicatedMergeTree::dropPart(String const&, bool, std::shared_ptr) @ 0x000000001d8847db in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5139: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001dead624 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:17:03.963817 [ 64159 ] {4c5a1883-4096-4a3a-9e41-2203f4f27684} TCPHandler: Code: 384. DB::Exception: Part 6_0_10_2 has already been assigned a merge into 6_0_15_3. (PART_IS_TEMPORARILY_LOCKED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b200fea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b200f95 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:8317: DB::StorageReplicatedMergeTree::dropPartImpl(std::shared_ptr&, String, DB::ReplicatedMergeTreeLogEntry&, bool, bool) @ 0x000000001d88284c in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:6067: DB::StorageReplicatedMergeTree::dropPart(String const&, bool, std::shared_ptr) @ 0x000000001d8847db in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5139: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001dead624 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:17:04.182610 [ 916 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {822397b4-5f46-4430-bb7d-339c3c5a2991::6_0_15_3}: Code: 234. DB::Exception: No active replica has part 6_0_15_3 or covering part (cannot execute queue-0000000172: MERGE_PARTS with virtual parts [6_0_15_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:04.182939 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {89f925f9-9cef-4d5f-b94f-602b7c3e32fa::6_0_15_3}: Code: 234. DB::Exception: No active replica has part 6_0_15_3 or covering part (cannot execute queue-0000000172: MERGE_PARTS with virtual parts [6_0_15_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:04.184861 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {658183cd-6a60-4588-bd1b-9f9a0bb3d204::6_0_15_3}: Code: 234. DB::Exception: No active replica has part 6_0_15_3 or covering part (cannot execute queue-0000000172: MERGE_PARTS with virtual parts [6_0_15_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:04.185241 [ 924 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {844ef734-969a-42e2-ac3e-605ffd584f90::6_0_15_3}: Code: 234. DB::Exception: No active replica has part 6_0_15_3 or covering part (cannot execute queue-0000000172: MERGE_PARTS with virtual parts [6_0_15_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:04.185941 [ 925 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {9fa7090e-c64c-40a3-b394-290f8d37afb0::6_0_15_3}: Code: 234. DB::Exception: No active replica has part 6_0_15_3 or covering part (cannot execute queue-0000000172: MERGE_PARTS with virtual parts [6_0_15_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:04.186904 [ 923 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5b938607-64db-4429-939b-82f4ad4827ab::6_0_15_3}: Code: 234. DB::Exception: No active replica has part 6_0_15_3 or covering part (cannot execute queue-0000000172: MERGE_PARTS with virtual parts [6_0_15_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:04.187417 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {dbe69e14-46e9-440a-9ced-adedbd3d61d7::6_0_15_3}: Code: 234. DB::Exception: No active replica has part 6_0_15_3 or covering part (cannot execute queue-0000000172: MERGE_PARTS with virtual parts [6_0_15_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:04.187913 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {34726978-b03b-4d38-a706-f6d66fc24471::6_0_15_3}: Code: 234. DB::Exception: No active replica has part 6_0_15_3 or covering part (cannot execute queue-0000000172: MERGE_PARTS with virtual parts [6_0_15_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:04.190387 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {df1ffc69-9e18-47e9-a85a-8ad4911eb9d3::6_0_15_3}: Code: 234. DB::Exception: No active replica has part 6_0_15_3 or covering part (cannot execute queue-0000000172: MERGE_PARTS with virtual parts [6_0_15_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:04.267946 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {9fa7090e-c64c-40a3-b394-290f8d37afb0::0_8_13_1}: Code: 234. DB::Exception: No active replica has part 0_8_13_1 or covering part (cannot execute queue-0000000173: MERGE_PARTS with virtual parts [0_8_13_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:04.285612 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {658183cd-6a60-4588-bd1b-9f9a0bb3d204::0_8_13_1}: Code: 234. DB::Exception: No active replica has part 0_8_13_1 or covering part (cannot execute queue-0000000173: MERGE_PARTS with virtual parts [0_8_13_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:04.326151 [ 923 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {6575436e-6e58-4912-a8d9-75d297a3882d::0_8_13_1}: Code: 234. DB::Exception: No active replica has part 0_8_13_1 or covering part (cannot execute queue-0000000173: MERGE_PARTS with virtual parts [0_8_13_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:04.329922 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {844ef734-969a-42e2-ac3e-605ffd584f90::0_8_13_1}: Code: 234. DB::Exception: No active replica has part 0_8_13_1 or covering part (cannot execute queue-0000000173: MERGE_PARTS with virtual parts [0_8_13_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:04.330170 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {34726978-b03b-4d38-a706-f6d66fc24471::0_8_13_1}: Code: 234. DB::Exception: No active replica has part 0_8_13_1 or covering part (cannot execute queue-0000000173: MERGE_PARTS with virtual parts [0_8_13_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:04.333179 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {89f925f9-9cef-4d5f-b94f-602b7c3e32fa::0_8_13_1}: Code: 234. DB::Exception: No active replica has part 0_8_13_1 or covering part (cannot execute queue-0000000173: MERGE_PARTS with virtual parts [0_8_13_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:04.333661 [ 925 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5b938607-64db-4429-939b-82f4ad4827ab::0_8_13_1}: Code: 234. DB::Exception: No active replica has part 0_8_13_1 or covering part (cannot execute queue-0000000173: MERGE_PARTS with virtual parts [0_8_13_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:04.335974 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {df1ffc69-9e18-47e9-a85a-8ad4911eb9d3::0_8_13_1}: Code: 234. DB::Exception: No active replica has part 0_8_13_1 or covering part (cannot execute queue-0000000173: MERGE_PARTS with virtual parts [0_8_13_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:04.336059 [ 916 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {822397b4-5f46-4430-bb7d-339c3c5a2991::0_8_13_1}: Code: 234. DB::Exception: No active replica has part 0_8_13_1 or covering part (cannot execute queue-0000000173: MERGE_PARTS with virtual parts [0_8_13_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:04.343705 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {e153af44-8c01-41e1-84d1-d9e23b89b9f8::0_8_13_1}: Code: 234. DB::Exception: No active replica has part 0_8_13_1 or covering part (cannot execute queue-0000000173: MERGE_PARTS with virtual parts [0_8_13_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:04.348173 [ 924 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {3fe03022-cfb5-4d3e-8c45-03aecce4ca41::0_8_13_1}: Code: 234. DB::Exception: No active replica has part 0_8_13_1 or covering part (cannot execute queue-0000000173: MERGE_PARTS with virtual parts [0_8_13_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:04.398293 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {fbe21d30-afb0-4101-b208-309340cc9589::0_8_13_1}: Code: 234. DB::Exception: No active replica has part 0_8_13_1 or covering part (cannot execute queue-0000000173: MERGE_PARTS with virtual parts [0_8_13_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:04.406487 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {dfab7d50-0a29-416c-939d-eed4ce800657::0_8_13_1}: Code: 234. DB::Exception: No active replica has part 0_8_13_1 or covering part (cannot execute queue-0000000173: MERGE_PARTS with virtual parts [0_8_13_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:04.410621 [ 922 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {dbe69e14-46e9-440a-9ced-adedbd3d61d7::0_8_13_1}: Code: 234. DB::Exception: No active replica has part 0_8_13_1 or covering part (cannot execute queue-0000000173: MERGE_PARTS with virtual parts [0_8_13_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:04.475441 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {9fa7090e-c64c-40a3-b394-290f8d37afb0::0_8_13_1}: Code: 234. DB::Exception: No active replica has part 0_8_13_1 or covering part (cannot execute queue-0000000173: MERGE_PARTS with virtual parts [0_8_13_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:04.481629 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {844ef734-969a-42e2-ac3e-605ffd584f90::0_8_13_1}: Code: 234. DB::Exception: No active replica has part 0_8_13_1 or covering part (cannot execute queue-0000000173: MERGE_PARTS with virtual parts [0_8_13_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:04.481879 [ 924 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {6575436e-6e58-4912-a8d9-75d297a3882d::0_8_13_1}: Code: 234. DB::Exception: No active replica has part 0_8_13_1 or covering part (cannot execute queue-0000000173: MERGE_PARTS with virtual parts [0_8_13_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:04.491150 [ 916 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {658183cd-6a60-4588-bd1b-9f9a0bb3d204::0_8_13_1}: Code: 234. DB::Exception: No active replica has part 0_8_13_1 or covering part (cannot execute queue-0000000173: MERGE_PARTS with virtual parts [0_8_13_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:04.493725 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {34726978-b03b-4d38-a706-f6d66fc24471::0_8_13_1}: Code: 234. DB::Exception: No active replica has part 0_8_13_1 or covering part (cannot execute queue-0000000173: MERGE_PARTS with virtual parts [0_8_13_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:04.495324 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {89f925f9-9cef-4d5f-b94f-602b7c3e32fa::0_8_13_1}: Code: 234. DB::Exception: No active replica has part 0_8_13_1 or covering part (cannot execute queue-0000000173: MERGE_PARTS with virtual parts [0_8_13_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:04.499593 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {822397b4-5f46-4430-bb7d-339c3c5a2991::0_8_13_1}: Code: 234. DB::Exception: No active replica has part 0_8_13_1 or covering part (cannot execute queue-0000000173: MERGE_PARTS with virtual parts [0_8_13_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:04.515896 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {e153af44-8c01-41e1-84d1-d9e23b89b9f8::0_8_13_1}: Code: 234. DB::Exception: No active replica has part 0_8_13_1 or covering part (cannot execute queue-0000000173: MERGE_PARTS with virtual parts [0_8_13_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:04.522102 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {3fe03022-cfb5-4d3e-8c45-03aecce4ca41::0_8_13_1}: Code: 234. DB::Exception: No active replica has part 0_8_13_1 or covering part (cannot execute queue-0000000173: MERGE_PARTS with virtual parts [0_8_13_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:04.523228 [ 909 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {df1ffc69-9e18-47e9-a85a-8ad4911eb9d3::0_8_13_1}: Code: 234. DB::Exception: No active replica has part 0_8_13_1 or covering part (cannot execute queue-0000000173: MERGE_PARTS with virtual parts [0_8_13_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:04.523354 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {dbe69e14-46e9-440a-9ced-adedbd3d61d7::0_8_13_1}: Code: 234. DB::Exception: No active replica has part 0_8_13_1 or covering part (cannot execute queue-0000000173: MERGE_PARTS with virtual parts [0_8_13_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:04.563646 [ 922 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {fbe21d30-afb0-4101-b208-309340cc9589::0_8_13_1}: Code: 234. DB::Exception: No active replica has part 0_8_13_1 or covering part (cannot execute queue-0000000173: MERGE_PARTS with virtual parts [0_8_13_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:04.587435 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {dfab7d50-0a29-416c-939d-eed4ce800657::0_8_13_1}: Code: 234. DB::Exception: No active replica has part 0_8_13_1 or covering part (cannot execute queue-0000000173: MERGE_PARTS with virtual parts [0_8_13_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:05.905417 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {6575436e-6e58-4912-a8d9-75d297a3882d::9_0_13_3}: Code: 234. DB::Exception: No active replica has part 9_0_13_3 or covering part (cannot execute queue-0000000182: MERGE_PARTS with virtual parts [9_0_13_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:05.906150 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {e153af44-8c01-41e1-84d1-d9e23b89b9f8::9_0_13_3}: Code: 234. DB::Exception: No active replica has part 9_0_13_3 or covering part (cannot execute queue-0000000182: MERGE_PARTS with virtual parts [9_0_13_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:05.906389 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {34726978-b03b-4d38-a706-f6d66fc24471::9_0_13_3}: Code: 234. DB::Exception: No active replica has part 9_0_13_3 or covering part (cannot execute queue-0000000182: MERGE_PARTS with virtual parts [9_0_13_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:05.911158 [ 916 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {844ef734-969a-42e2-ac3e-605ffd584f90::9_0_13_3}: Code: 234. DB::Exception: No active replica has part 9_0_13_3 or covering part (cannot execute queue-0000000182: MERGE_PARTS with virtual parts [9_0_13_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:05.916359 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {9fa7090e-c64c-40a3-b394-290f8d37afb0::9_0_13_3}: Code: 234. DB::Exception: No active replica has part 9_0_13_3 or covering part (cannot execute queue-0000000182: MERGE_PARTS with virtual parts [9_0_13_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:05.918742 [ 909 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {3fe03022-cfb5-4d3e-8c45-03aecce4ca41::9_0_13_3}: Code: 234. DB::Exception: No active replica has part 9_0_13_3 or covering part (cannot execute queue-0000000182: MERGE_PARTS with virtual parts [9_0_13_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:05.918903 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8374e527-dc13-4ef1-b847-5ef5ee3b804c::9_0_13_3}: Code: 234. DB::Exception: No active replica has part 9_0_13_3 or covering part (cannot execute queue-0000000182: MERGE_PARTS with virtual parts [9_0_13_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:05.921099 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {dfab7d50-0a29-416c-939d-eed4ce800657::9_0_13_3}: Code: 234. DB::Exception: No active replica has part 9_0_13_3 or covering part (cannot execute queue-0000000182: MERGE_PARTS with virtual parts [9_0_13_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:05.961928 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5b938607-64db-4429-939b-82f4ad4827ab::9_0_13_3}: Code: 234. DB::Exception: No active replica has part 9_0_13_3 or covering part (cannot execute queue-0000000182: MERGE_PARTS with virtual parts [9_0_13_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:05.970613 [ 923 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {822397b4-5f46-4430-bb7d-339c3c5a2991::9_0_13_3}: Code: 234. DB::Exception: No active replica has part 9_0_13_3 or covering part (cannot execute queue-0000000182: MERGE_PARTS with virtual parts [9_0_13_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:05.977481 [ 925 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {df1ffc69-9e18-47e9-a85a-8ad4911eb9d3::9_0_13_3}: Code: 234. DB::Exception: No active replica has part 9_0_13_3 or covering part (cannot execute queue-0000000182: MERGE_PARTS with virtual parts [9_0_13_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:06.111578 [ 922 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {34726978-b03b-4d38-a706-f6d66fc24471::5_9_14_1}: Code: 234. DB::Exception: No active replica has part 5_9_14_1 or covering part (cannot execute queue-0000000186: MERGE_PARTS with virtual parts [5_9_14_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:06.185227 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {844ef734-969a-42e2-ac3e-605ffd584f90::5_9_14_1}: Code: 234. DB::Exception: No active replica has part 5_9_14_1 or covering part (cannot execute queue-0000000186: MERGE_PARTS with virtual parts [5_9_14_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:06.210794 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {3fe03022-cfb5-4d3e-8c45-03aecce4ca41::5_9_14_1}: Code: 234. DB::Exception: No active replica has part 5_9_14_1 or covering part (cannot execute queue-0000000186: MERGE_PARTS with virtual parts [5_9_14_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:06.211786 [ 916 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {dbe69e14-46e9-440a-9ced-adedbd3d61d7::5_9_14_1}: Code: 234. DB::Exception: No active replica has part 5_9_14_1 or covering part (cannot execute queue-0000000186: MERGE_PARTS with virtual parts [5_9_14_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:06.213027 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {dfab7d50-0a29-416c-939d-eed4ce800657::5_9_14_1}: Code: 234. DB::Exception: No active replica has part 5_9_14_1 or covering part (cannot execute queue-0000000186: MERGE_PARTS with virtual parts [5_9_14_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:06.215160 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {9fa7090e-c64c-40a3-b394-290f8d37afb0::5_9_14_1}: Code: 234. DB::Exception: No active replica has part 5_9_14_1 or covering part (cannot execute queue-0000000186: MERGE_PARTS with virtual parts [5_9_14_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:06.215671 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {658183cd-6a60-4588-bd1b-9f9a0bb3d204::5_9_14_1}: Code: 234. DB::Exception: No active replica has part 5_9_14_1 or covering part (cannot execute queue-0000000186: MERGE_PARTS with virtual parts [5_9_14_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:06.220305 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5b938607-64db-4429-939b-82f4ad4827ab::5_9_14_1}: Code: 234. DB::Exception: No active replica has part 5_9_14_1 or covering part (cannot execute queue-0000000186: MERGE_PARTS with virtual parts [5_9_14_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:06.222482 [ 909 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {89f925f9-9cef-4d5f-b94f-602b7c3e32fa::5_9_14_1}: Code: 234. DB::Exception: No active replica has part 5_9_14_1 or covering part (cannot execute queue-0000000186: MERGE_PARTS with virtual parts [5_9_14_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:06.225192 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {822397b4-5f46-4430-bb7d-339c3c5a2991::5_9_14_1}: Code: 234. DB::Exception: No active replica has part 5_9_14_1 or covering part (cannot execute queue-0000000186: MERGE_PARTS with virtual parts [5_9_14_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:06.251501 [ 923 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {df1ffc69-9e18-47e9-a85a-8ad4911eb9d3::5_9_14_1}: Code: 234. DB::Exception: No active replica has part 5_9_14_1 or covering part (cannot execute queue-0000000186: MERGE_PARTS with virtual parts [5_9_14_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:06.251647 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8374e527-dc13-4ef1-b847-5ef5ee3b804c::5_9_14_1}: Code: 234. DB::Exception: No active replica has part 5_9_14_1 or covering part (cannot execute queue-0000000186: MERGE_PARTS with virtual parts [5_9_14_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:06.253475 [ 925 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {e153af44-8c01-41e1-84d1-d9e23b89b9f8::5_9_14_1}: Code: 234. DB::Exception: No active replica has part 5_9_14_1 or covering part (cannot execute queue-0000000186: MERGE_PARTS with virtual parts [5_9_14_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:06.307368 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {6575436e-6e58-4912-a8d9-75d297a3882d::5_9_14_1}: Code: 234. DB::Exception: No active replica has part 5_9_14_1 or covering part (cannot execute queue-0000000186: MERGE_PARTS with virtual parts [5_9_14_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:06.459330 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {844ef734-969a-42e2-ac3e-605ffd584f90::5_9_14_1}: Code: 234. DB::Exception: No active replica has part 5_9_14_1 or covering part (cannot execute queue-0000000186: MERGE_PARTS with virtual parts [5_9_14_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:06.465876 [ 923 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {6575436e-6e58-4912-a8d9-75d297a3882d::8_2_13_3}: Code: 234. DB::Exception: No active replica has part 8_2_13_3 or covering part (cannot execute queue-0000000187: MERGE_PARTS with virtual parts [8_2_13_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:06.468610 [ 925 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {3fe03022-cfb5-4d3e-8c45-03aecce4ca41::5_9_14_1}: Code: 234. DB::Exception: No active replica has part 5_9_14_1 or covering part (cannot execute queue-0000000186: MERGE_PARTS with virtual parts [5_9_14_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:06.470264 [ 924 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {34726978-b03b-4d38-a706-f6d66fc24471::5_9_14_1}: Code: 234. DB::Exception: No active replica has part 5_9_14_1 or covering part (cannot execute queue-0000000186: MERGE_PARTS with virtual parts [5_9_14_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:06.509535 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {dbe69e14-46e9-440a-9ced-adedbd3d61d7::5_9_14_1}: Code: 234. DB::Exception: No active replica has part 5_9_14_1 or covering part (cannot execute queue-0000000186: MERGE_PARTS with virtual parts [5_9_14_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:06.535650 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {9fa7090e-c64c-40a3-b394-290f8d37afb0::5_9_14_1}: Code: 234. DB::Exception: No active replica has part 5_9_14_1 or covering part (cannot execute queue-0000000186: MERGE_PARTS with virtual parts [5_9_14_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:06.553462 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {658183cd-6a60-4588-bd1b-9f9a0bb3d204::5_9_14_1}: Code: 234. DB::Exception: No active replica has part 5_9_14_1 or covering part (cannot execute queue-0000000186: MERGE_PARTS with virtual parts [5_9_14_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:06.554064 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {89f925f9-9cef-4d5f-b94f-602b7c3e32fa::5_9_14_1}: Code: 234. DB::Exception: No active replica has part 5_9_14_1 or covering part (cannot execute queue-0000000186: MERGE_PARTS with virtual parts [5_9_14_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:06.569832 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5b938607-64db-4429-939b-82f4ad4827ab::5_9_14_1}: Code: 234. DB::Exception: No active replica has part 5_9_14_1 or covering part (cannot execute queue-0000000186: MERGE_PARTS with virtual parts [5_9_14_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:06.592305 [ 922 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {822397b4-5f46-4430-bb7d-339c3c5a2991::5_9_14_1}: Code: 234. DB::Exception: No active replica has part 5_9_14_1 or covering part (cannot execute queue-0000000186: MERGE_PARTS with virtual parts [5_9_14_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:06.625703 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8374e527-dc13-4ef1-b847-5ef5ee3b804c::5_9_14_1}: Code: 234. DB::Exception: No active replica has part 5_9_14_1 or covering part (cannot execute queue-0000000186: MERGE_PARTS with virtual parts [5_9_14_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:06.629057 [ 916 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {df1ffc69-9e18-47e9-a85a-8ad4911eb9d3::5_9_14_1}: Code: 234. DB::Exception: No active replica has part 5_9_14_1 or covering part (cannot execute queue-0000000186: MERGE_PARTS with virtual parts [5_9_14_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:06.634282 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {6575436e-6e58-4912-a8d9-75d297a3882d::5_9_14_1}: Code: 234. DB::Exception: No active replica has part 5_9_14_1 or covering part (cannot execute queue-0000000186: MERGE_PARTS with virtual parts [5_9_14_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:07.039879 [ 767 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:17:07.040490 [ 767 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:17:07.126390 [ 767 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:17:08.073325 [ 924 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {34726978-b03b-4d38-a706-f6d66fc24471::6_0_20_4}: Code: 234. DB::Exception: No active replica has part 6_0_20_4 or covering part (cannot execute queue-0000000198: MERGE_PARTS with virtual parts [6_0_20_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:08.073778 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {df1ffc69-9e18-47e9-a85a-8ad4911eb9d3::6_0_20_4}: Code: 234. DB::Exception: No active replica has part 6_0_20_4 or covering part (cannot execute queue-0000000198: MERGE_PARTS with virtual parts [6_0_20_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:08.075395 [ 923 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {658183cd-6a60-4588-bd1b-9f9a0bb3d204::6_0_20_4}: Code: 234. DB::Exception: No active replica has part 6_0_20_4 or covering part (cannot execute queue-0000000198: MERGE_PARTS with virtual parts [6_0_20_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:08.078092 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {3fe03022-cfb5-4d3e-8c45-03aecce4ca41::6_0_20_4}: Code: 234. DB::Exception: No active replica has part 6_0_20_4 or covering part (cannot execute queue-0000000198: MERGE_PARTS with virtual parts [6_0_20_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:08.089104 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8374e527-dc13-4ef1-b847-5ef5ee3b804c::6_0_20_4}: Code: 234. DB::Exception: No active replica has part 6_0_20_4 or covering part (cannot execute queue-0000000198: MERGE_PARTS with virtual parts [6_0_20_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:08.089318 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {89f925f9-9cef-4d5f-b94f-602b7c3e32fa::6_0_20_4}: Code: 234. DB::Exception: No active replica has part 6_0_20_4 or covering part (cannot execute queue-0000000198: MERGE_PARTS with virtual parts [6_0_20_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:08.095489 [ 909 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {dfab7d50-0a29-416c-939d-eed4ce800657::6_0_20_4}: Code: 234. DB::Exception: No active replica has part 6_0_20_4 or covering part (cannot execute queue-0000000198: MERGE_PARTS with virtual parts [6_0_20_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:08.096346 [ 922 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5b938607-64db-4429-939b-82f4ad4827ab::6_0_20_4}: Code: 234. DB::Exception: No active replica has part 6_0_20_4 or covering part (cannot execute queue-0000000198: MERGE_PARTS with virtual parts [6_0_20_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:08.133776 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {dbe69e14-46e9-440a-9ced-adedbd3d61d7::6_0_20_4}: Code: 234. DB::Exception: No active replica has part 6_0_20_4 or covering part (cannot execute queue-0000000198: MERGE_PARTS with virtual parts [6_0_20_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:11.480744 [ 923 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {822397b4-5f46-4430-bb7d-339c3c5a2991::2_15_20_2}: Code: 234. DB::Exception: No active replica has part 2_15_20_2 or covering part (cannot execute queue-0000000213: MERGE_PARTS with virtual parts [2_15_20_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:11.483439 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {fbe21d30-afb0-4101-b208-309340cc9589::2_15_20_2}: Code: 234. DB::Exception: No active replica has part 2_15_20_2 or covering part (cannot execute queue-0000000213: MERGE_PARTS with virtual parts [2_15_20_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:11.487832 [ 909 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5b938607-64db-4429-939b-82f4ad4827ab::2_15_20_2}: Code: 234. DB::Exception: No active replica has part 2_15_20_2 or covering part (cannot execute queue-0000000213: MERGE_PARTS with virtual parts [2_15_20_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:11.490030 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {89f925f9-9cef-4d5f-b94f-602b7c3e32fa::2_15_20_2}: Code: 234. DB::Exception: No active replica has part 2_15_20_2 or covering part (cannot execute queue-0000000213: MERGE_PARTS with virtual parts [2_15_20_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:11.518982 [ 922 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {3fe03022-cfb5-4d3e-8c45-03aecce4ca41::2_15_20_2}: Code: 234. DB::Exception: No active replica has part 2_15_20_2 or covering part (cannot execute queue-0000000213: MERGE_PARTS with virtual parts [2_15_20_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:11.522832 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {e153af44-8c01-41e1-84d1-d9e23b89b9f8::2_15_20_2}: Code: 234. DB::Exception: No active replica has part 2_15_20_2 or covering part (cannot execute queue-0000000213: MERGE_PARTS with virtual parts [2_15_20_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:11.612764 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {16e98bf9-b598-48f6-ac99-3b4768b9aa04::8_0_9_2}: Code: 234. DB::Exception: No active replica has part 8_0_9_2 or covering part (cannot execute queue-0000000117: MERGE_PARTS with virtual parts [8_0_9_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:11.612833 [ 924 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {06bce907-8713-4dd9-b7fe-2d43dd6dcceb::8_0_9_2}: Code: 234. DB::Exception: No active replica has part 8_0_9_2 or covering part (cannot execute queue-0000000117: MERGE_PARTS with virtual parts [8_0_9_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:11.612991 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {d6fc0a8d-1256-431c-9f49-87e3b3b4b919::8_0_9_2}: Code: 234. DB::Exception: No active replica has part 8_0_9_2 or covering part (cannot execute queue-0000000117: MERGE_PARTS with virtual parts [8_0_9_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:11.619654 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {bc2f5a73-abf1-4b36-bc12-691790b11736::8_0_9_2}: Code: 234. DB::Exception: No active replica has part 8_0_9_2 or covering part (cannot execute queue-0000000117: MERGE_PARTS with virtual parts [8_0_9_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:12.703865 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {3fe03022-cfb5-4d3e-8c45-03aecce4ca41::3_19_24_1}: Code: 234. DB::Exception: No active replica has part 3_19_24_1 or covering part (cannot execute queue-0000000223: MERGE_PARTS with virtual parts [3_19_24_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:12.722470 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {e153af44-8c01-41e1-84d1-d9e23b89b9f8::3_19_24_1}: Code: 234. DB::Exception: No active replica has part 3_19_24_1 or covering part (cannot execute queue-0000000223: MERGE_PARTS with virtual parts [3_19_24_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:12.723135 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {fbe21d30-afb0-4101-b208-309340cc9589::3_19_24_1}: Code: 234. DB::Exception: No active replica has part 3_19_24_1 or covering part (cannot execute queue-0000000223: MERGE_PARTS with virtual parts [3_19_24_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:12.723205 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {df1ffc69-9e18-47e9-a85a-8ad4911eb9d3::3_19_24_1}: Code: 234. DB::Exception: No active replica has part 3_19_24_1 or covering part (cannot execute queue-0000000223: MERGE_PARTS with virtual parts [3_19_24_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:12.724176 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {dbe69e14-46e9-440a-9ced-adedbd3d61d7::3_19_24_1}: Code: 234. DB::Exception: No active replica has part 3_19_24_1 or covering part (cannot execute queue-0000000223: MERGE_PARTS with virtual parts [3_19_24_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:12.726160 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {34726978-b03b-4d38-a706-f6d66fc24471::3_19_24_1}: Code: 234. DB::Exception: No active replica has part 3_19_24_1 or covering part (cannot execute queue-0000000223: MERGE_PARTS with virtual parts [3_19_24_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:12.950692 [ 909 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {844ef734-969a-42e2-ac3e-605ffd584f90::1_18_23_2}: Code: 234. DB::Exception: No active replica has part 1_18_23_2 or covering part (cannot execute queue-0000000225: MERGE_PARTS with virtual parts [1_18_23_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:12.952479 [ 922 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {dbe69e14-46e9-440a-9ced-adedbd3d61d7::1_18_23_2}: Code: 234. DB::Exception: No active replica has part 1_18_23_2 or covering part (cannot execute queue-0000000225: MERGE_PARTS with virtual parts [1_18_23_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:12.967183 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5b938607-64db-4429-939b-82f4ad4827ab::1_18_23_2}: Code: 234. DB::Exception: No active replica has part 1_18_23_2 or covering part (cannot execute queue-0000000225: MERGE_PARTS with virtual parts [1_18_23_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:12.972481 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {3fe03022-cfb5-4d3e-8c45-03aecce4ca41::1_18_23_2}: Code: 234. DB::Exception: No active replica has part 1_18_23_2 or covering part (cannot execute queue-0000000225: MERGE_PARTS with virtual parts [1_18_23_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:12.989490 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {df1ffc69-9e18-47e9-a85a-8ad4911eb9d3::1_18_23_2}: Code: 234. DB::Exception: No active replica has part 1_18_23_2 or covering part (cannot execute queue-0000000225: MERGE_PARTS with virtual parts [1_18_23_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:12.992941 [ 925 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {34726978-b03b-4d38-a706-f6d66fc24471::1_18_23_2}: Code: 234. DB::Exception: No active replica has part 1_18_23_2 or covering part (cannot execute queue-0000000225: MERGE_PARTS with virtual parts [1_18_23_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:12.995633 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {fbe21d30-afb0-4101-b208-309340cc9589::1_18_23_2}: Code: 234. DB::Exception: No active replica has part 1_18_23_2 or covering part (cannot execute queue-0000000225: MERGE_PARTS with virtual parts [1_18_23_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:13.029056 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {89f925f9-9cef-4d5f-b94f-602b7c3e32fa::1_18_23_2}: Code: 234. DB::Exception: No active replica has part 1_18_23_2 or covering part (cannot execute queue-0000000225: MERGE_PARTS with virtual parts [1_18_23_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:14.190466 [ 64163 ] {bfaf3c76-9c29-4f12-990f-ae2b9c526b8c} executeQuery: Code: 48. DB::Exception: Table test_dzz9wua9.src_0 (764aa884-af24-4ec2-bd18-4431223aa7fe) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56592) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_0 MOVE PARTITION 1 TO TABLE dst_2), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2100: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001e37efa5 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deadd35 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:17:14.192437 [ 64163 ] {bfaf3c76-9c29-4f12-990f-ae2b9c526b8c} TCPHandler: Code: 48. DB::Exception: Table test_dzz9wua9.src_0 (764aa884-af24-4ec2-bd18-4431223aa7fe) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2100: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001e37efa5 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deadd35 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:17:14.823695 [ 924 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {aaf0a1e4-3e25-410a-a168-576479721c3d::7_12_22_2}: Code: 234. DB::Exception: No active replica has part 7_12_22_2 or covering part (cannot execute queue-0000000237: MERGE_PARTS with virtual parts [7_12_22_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:14.824301 [ 916 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8374e527-dc13-4ef1-b847-5ef5ee3b804c::7_12_22_2}: Code: 234. DB::Exception: No active replica has part 7_12_22_2 or covering part (cannot execute queue-0000000237: MERGE_PARTS with virtual parts [7_12_22_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:14.828021 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {df1ffc69-9e18-47e9-a85a-8ad4911eb9d3::7_12_22_2}: Code: 234. DB::Exception: No active replica has part 7_12_22_2 or covering part (cannot execute queue-0000000237: MERGE_PARTS with virtual parts [7_12_22_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:14.833226 [ 922 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5b938607-64db-4429-939b-82f4ad4827ab::7_12_22_2}: Code: 234. DB::Exception: No active replica has part 7_12_22_2 or covering part (cannot execute queue-0000000237: MERGE_PARTS with virtual parts [7_12_22_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:14.834374 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {844ef734-969a-42e2-ac3e-605ffd584f90::7_12_22_2}: Code: 234. DB::Exception: No active replica has part 7_12_22_2 or covering part (cannot execute queue-0000000237: MERGE_PARTS with virtual parts [7_12_22_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:14.835254 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {822397b4-5f46-4430-bb7d-339c3c5a2991::7_12_22_2}: Code: 234. DB::Exception: No active replica has part 7_12_22_2 or covering part (cannot execute queue-0000000237: MERGE_PARTS with virtual parts [7_12_22_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:14.836052 [ 925 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {fbe21d30-afb0-4101-b208-309340cc9589::7_12_22_2}: Code: 234. DB::Exception: No active replica has part 7_12_22_2 or covering part (cannot execute queue-0000000237: MERGE_PARTS with virtual parts [7_12_22_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:14.837380 [ 909 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {3fe03022-cfb5-4d3e-8c45-03aecce4ca41::7_12_22_2}: Code: 234. DB::Exception: No active replica has part 7_12_22_2 or covering part (cannot execute queue-0000000237: MERGE_PARTS with virtual parts [7_12_22_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:14.842057 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {34726978-b03b-4d38-a706-f6d66fc24471::7_12_22_2}: Code: 234. DB::Exception: No active replica has part 7_12_22_2 or covering part (cannot execute queue-0000000237: MERGE_PARTS with virtual parts [7_12_22_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:14.843000 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {dfab7d50-0a29-416c-939d-eed4ce800657::7_12_22_2}: Code: 234. DB::Exception: No active replica has part 7_12_22_2 or covering part (cannot execute queue-0000000237: MERGE_PARTS with virtual parts [7_12_22_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:14.843444 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {6575436e-6e58-4912-a8d9-75d297a3882d::7_12_22_2}: Code: 234. DB::Exception: No active replica has part 7_12_22_2 or covering part (cannot execute queue-0000000237: MERGE_PARTS with virtual parts [7_12_22_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:14.850744 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {89f925f9-9cef-4d5f-b94f-602b7c3e32fa::7_12_22_2}: Code: 234. DB::Exception: No active replica has part 7_12_22_2 or covering part (cannot execute queue-0000000237: MERGE_PARTS with virtual parts [7_12_22_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:15.386787 [ 925 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {bc2f5a73-abf1-4b36-bc12-691790b11736::1_12_15_1}: Code: 234. DB::Exception: No active replica has part 1_12_15_1 or covering part (cannot execute queue-0000000119: MERGE_PARTS with virtual parts [1_12_15_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:17.483608 [ 925 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5b938607-64db-4429-939b-82f4ad4827ab::9_0_18_4}: Code: 234. DB::Exception: No active replica has part 9_0_18_4 or covering part (cannot execute queue-0000000251: MERGE_PARTS with virtual parts [9_0_18_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:17.483959 [ 923 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {844ef734-969a-42e2-ac3e-605ffd584f90::9_0_18_4}: Code: 234. DB::Exception: No active replica has part 9_0_18_4 or covering part (cannot execute queue-0000000251: MERGE_PARTS with virtual parts [9_0_18_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:17.488377 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {822397b4-5f46-4430-bb7d-339c3c5a2991::9_0_18_4}: Code: 234. DB::Exception: No active replica has part 9_0_18_4 or covering part (cannot execute queue-0000000251: MERGE_PARTS with virtual parts [9_0_18_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:17.489005 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {dbe69e14-46e9-440a-9ced-adedbd3d61d7::9_0_18_4}: Code: 234. DB::Exception: No active replica has part 9_0_18_4 or covering part (cannot execute queue-0000000251: MERGE_PARTS with virtual parts [9_0_18_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:17.489051 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {fbe21d30-afb0-4101-b208-309340cc9589::9_0_18_4}: Code: 234. DB::Exception: No active replica has part 9_0_18_4 or covering part (cannot execute queue-0000000251: MERGE_PARTS with virtual parts [9_0_18_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:17.489032 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {3fe03022-cfb5-4d3e-8c45-03aecce4ca41::9_0_18_4}: Code: 234. DB::Exception: No active replica has part 9_0_18_4 or covering part (cannot execute queue-0000000251: MERGE_PARTS with virtual parts [9_0_18_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:17.490666 [ 924 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {e153af44-8c01-41e1-84d1-d9e23b89b9f8::9_0_18_4}: Code: 234. DB::Exception: No active replica has part 9_0_18_4 or covering part (cannot execute queue-0000000251: MERGE_PARTS with virtual parts [9_0_18_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:17.491009 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {658183cd-6a60-4588-bd1b-9f9a0bb3d204::9_0_18_4}: Code: 234. DB::Exception: No active replica has part 9_0_18_4 or covering part (cannot execute queue-0000000251: MERGE_PARTS with virtual parts [9_0_18_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:18.108051 [ 922 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {df1ffc69-9e18-47e9-a85a-8ad4911eb9d3::5_15_19_1}: Code: 234. DB::Exception: No active replica has part 5_15_19_1 or covering part (cannot execute queue-0000000253: MERGE_PARTS with virtual parts [5_15_19_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:18.110873 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {3fe03022-cfb5-4d3e-8c45-03aecce4ca41::5_15_19_1}: Code: 234. DB::Exception: No active replica has part 5_15_19_1 or covering part (cannot execute queue-0000000253: MERGE_PARTS with virtual parts [5_15_19_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:18.114707 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {34726978-b03b-4d38-a706-f6d66fc24471::5_15_19_1}: Code: 234. DB::Exception: No active replica has part 5_15_19_1 or covering part (cannot execute queue-0000000253: MERGE_PARTS with virtual parts [5_15_19_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:18.163346 [ 924 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {bc2f5a73-abf1-4b36-bc12-691790b11736::0_0_10_2}: Code: 234. DB::Exception: No active replica has part 0_0_10_2 or covering part (cannot execute queue-0000000130: MERGE_PARTS with virtual parts [0_0_10_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:18.163398 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {d6fc0a8d-1256-431c-9f49-87e3b3b4b919::0_0_10_2}: Code: 234. DB::Exception: No active replica has part 0_0_10_2 or covering part (cannot execute queue-0000000130: MERGE_PARTS with virtual parts [0_0_10_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:18.199531 [ 916 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {16e98bf9-b598-48f6-ac99-3b4768b9aa04::0_0_10_2}: Code: 234. DB::Exception: No active replica has part 0_0_10_2 or covering part (cannot execute queue-0000000130: MERGE_PARTS with virtual parts [0_0_10_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:18.210302 [ 922 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {06bce907-8713-4dd9-b7fe-2d43dd6dcceb::0_0_10_2}: Code: 234. DB::Exception: No active replica has part 0_0_10_2 or covering part (cannot execute queue-0000000130: MERGE_PARTS with virtual parts [0_0_10_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:18.252016 [ 909 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {bc2f5a73-abf1-4b36-bc12-691790b11736::0_0_10_2}: Code: 234. DB::Exception: No active replica has part 0_0_10_2 or covering part (cannot execute queue-0000000130: MERGE_PARTS with virtual parts [0_0_10_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:18.277849 [ 925 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {16e98bf9-b598-48f6-ac99-3b4768b9aa04::3_6_16_2}: Code: 234. DB::Exception: No active replica has part 3_6_16_2 or covering part (cannot execute queue-0000000131: MERGE_PARTS with virtual parts [3_6_16_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:18.277897 [ 923 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {d6fc0a8d-1256-431c-9f49-87e3b3b4b919::3_6_16_2}: Code: 234. DB::Exception: No active replica has part 3_6_16_2 or covering part (cannot execute queue-0000000131: MERGE_PARTS with virtual parts [3_6_16_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:18.284052 [ 916 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {bc2f5a73-abf1-4b36-bc12-691790b11736::3_6_16_2}: Code: 234. DB::Exception: No active replica has part 3_6_16_2 or covering part (cannot execute queue-0000000131: MERGE_PARTS with virtual parts [3_6_16_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:18.284527 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {06bce907-8713-4dd9-b7fe-2d43dd6dcceb::3_6_16_2}: Code: 234. DB::Exception: No active replica has part 3_6_16_2 or covering part (cannot execute queue-0000000131: MERGE_PARTS with virtual parts [3_6_16_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:18.997778 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {d6fc0a8d-1256-431c-9f49-87e3b3b4b919::4_8_13_1}: Code: 234. DB::Exception: No active replica has part 4_8_13_1 or covering part (cannot execute queue-0000000140: MERGE_PARTS with virtual parts [4_8_13_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:19.017620 [ 64149 ] {3856d99a-db09-4472-9ac5-34d764450641} executeQuery: Code: 232. DB::Exception: No part 9_14_14_0 in committed state. (NO_SUCH_DATA_PART) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56772) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE dst_11 DROP PART '9_14_14_0'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4984: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x000000001deab7d0 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5138: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001dead5d0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:17:19.021562 [ 64149 ] {3856d99a-db09-4472-9ac5-34d764450641} TCPHandler: Code: 232. DB::Exception: No part 9_14_14_0 in committed state. (NO_SUCH_DATA_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4984: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x000000001deab7d0 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5138: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001dead5d0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:17:19.184103 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {d6fc0a8d-1256-431c-9f49-87e3b3b4b919::5_3_13_2}: Code: 234. DB::Exception: No active replica has part 5_3_13_2 or covering part (cannot execute queue-0000000143: MERGE_PARTS with virtual parts [5_3_13_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:19.185935 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {16e98bf9-b598-48f6-ac99-3b4768b9aa04::5_3_13_2}: Code: 234. DB::Exception: No active replica has part 5_3_13_2 or covering part (cannot execute queue-0000000143: MERGE_PARTS with virtual parts [5_3_13_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:19.186235 [ 922 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {06bce907-8713-4dd9-b7fe-2d43dd6dcceb::5_3_13_2}: Code: 234. DB::Exception: No active replica has part 5_3_13_2 or covering part (cannot execute queue-0000000143: MERGE_PARTS with virtual parts [5_3_13_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:19.188257 [ 924 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {bc2f5a73-abf1-4b36-bc12-691790b11736::5_3_13_2}: Code: 234. DB::Exception: No active replica has part 5_3_13_2 or covering part (cannot execute queue-0000000143: MERGE_PARTS with virtual parts [5_3_13_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:21.928958 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {6575436e-6e58-4912-a8d9-75d297a3882d::2_15_25_3}: Code: 234. DB::Exception: No active replica has part 2_15_25_3 or covering part (cannot execute queue-0000000268: MERGE_PARTS with virtual parts [2_15_25_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:21.929243 [ 909 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {844ef734-969a-42e2-ac3e-605ffd584f90::2_15_25_3}: Code: 234. DB::Exception: No active replica has part 2_15_25_3 or covering part (cannot execute queue-0000000268: MERGE_PARTS with virtual parts [2_15_25_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:21.930496 [ 923 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {dbe69e14-46e9-440a-9ced-adedbd3d61d7::2_15_25_3}: Code: 234. DB::Exception: No active replica has part 2_15_25_3 or covering part (cannot execute queue-0000000268: MERGE_PARTS with virtual parts [2_15_25_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:21.930483 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {822397b4-5f46-4430-bb7d-339c3c5a2991::2_15_25_3}: Code: 234. DB::Exception: No active replica has part 2_15_25_3 or covering part (cannot execute queue-0000000268: MERGE_PARTS with virtual parts [2_15_25_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:21.934599 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {658183cd-6a60-4588-bd1b-9f9a0bb3d204::2_15_25_3}: Code: 234. DB::Exception: No active replica has part 2_15_25_3 or covering part (cannot execute queue-0000000268: MERGE_PARTS with virtual parts [2_15_25_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:21.935180 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {fbe21d30-afb0-4101-b208-309340cc9589::2_15_25_3}: Code: 234. DB::Exception: No active replica has part 2_15_25_3 or covering part (cannot execute queue-0000000268: MERGE_PARTS with virtual parts [2_15_25_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:21.936963 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {3fe03022-cfb5-4d3e-8c45-03aecce4ca41::2_15_25_3}: Code: 234. DB::Exception: No active replica has part 2_15_25_3 or covering part (cannot execute queue-0000000268: MERGE_PARTS with virtual parts [2_15_25_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:21.947941 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {34726978-b03b-4d38-a706-f6d66fc24471::2_15_25_3}: Code: 234. DB::Exception: No active replica has part 2_15_25_3 or covering part (cannot execute queue-0000000268: MERGE_PARTS with virtual parts [2_15_25_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:21.963903 [ 924 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {e153af44-8c01-41e1-84d1-d9e23b89b9f8::2_15_25_3}: Code: 234. DB::Exception: No active replica has part 2_15_25_3 or covering part (cannot execute queue-0000000268: MERGE_PARTS with virtual parts [2_15_25_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:22.327194 [ 817 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:17:22.327697 [ 817 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:17:22.416571 [ 817 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:17:25.443446 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {bc2f5a73-abf1-4b36-bc12-691790b11736::7_12_17_1}: Code: 234. DB::Exception: No active replica has part 7_12_17_1 or covering part (cannot execute queue-0000000170: MERGE_PARTS with virtual parts [7_12_17_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:25.446635 [ 923 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {d6fc0a8d-1256-431c-9f49-87e3b3b4b919::7_12_17_1}: Code: 234. DB::Exception: No active replica has part 7_12_17_1 or covering part (cannot execute queue-0000000170: MERGE_PARTS with virtual parts [7_12_17_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:25.472259 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {06bce907-8713-4dd9-b7fe-2d43dd6dcceb::7_12_17_1}: Code: 234. DB::Exception: No active replica has part 7_12_17_1 or covering part (cannot execute queue-0000000170: MERGE_PARTS with virtual parts [7_12_17_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:25.476453 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {515d0874-83ba-43ff-83fa-fd4c7fe678ad::7_12_17_1}: Code: 234. DB::Exception: No active replica has part 7_12_17_1 or covering part (cannot execute queue-0000000170: MERGE_PARTS with virtual parts [7_12_17_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:25.509027 [ 924 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {bc2f5a73-abf1-4b36-bc12-691790b11736::7_12_17_1}: Code: 234. DB::Exception: No active replica has part 7_12_17_1 or covering part (cannot execute queue-0000000170: MERGE_PARTS with virtual parts [7_12_17_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:25.602574 [ 923 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {bc2f5a73-abf1-4b36-bc12-691790b11736::2_13_20_1}: Code: 234. DB::Exception: No active replica has part 2_13_20_1 or covering part (cannot execute queue-0000000178: MERGE_PARTS with virtual parts [2_13_20_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:25.610598 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {515d0874-83ba-43ff-83fa-fd4c7fe678ad::2_13_20_1}: Code: 234. DB::Exception: No active replica has part 2_13_20_1 or covering part (cannot execute queue-0000000178: MERGE_PARTS with virtual parts [2_13_20_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:25.610828 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {06bce907-8713-4dd9-b7fe-2d43dd6dcceb::2_13_20_1}: Code: 234. DB::Exception: No active replica has part 2_13_20_1 or covering part (cannot execute queue-0000000178: MERGE_PARTS with virtual parts [2_13_20_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:25.611622 [ 909 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {d6fc0a8d-1256-431c-9f49-87e3b3b4b919::2_13_20_1}: Code: 234. DB::Exception: No active replica has part 2_13_20_1 or covering part (cannot execute queue-0000000178: MERGE_PARTS with virtual parts [2_13_20_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:25.669836 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {515d0874-83ba-43ff-83fa-fd4c7fe678ad::2_13_20_1}: Code: 234. DB::Exception: No active replica has part 2_13_20_1 or covering part (cannot execute queue-0000000178: MERGE_PARTS with virtual parts [2_13_20_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:25.695012 [ 924 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {515d0874-83ba-43ff-83fa-fd4c7fe678ad::6_15_20_1}: Code: 234. DB::Exception: No active replica has part 6_15_20_1 or covering part (cannot execute queue-0000000179: MERGE_PARTS with virtual parts [6_15_20_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:25.695177 [ 925 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {d6fc0a8d-1256-431c-9f49-87e3b3b4b919::6_15_20_1}: Code: 234. DB::Exception: No active replica has part 6_15_20_1 or covering part (cannot execute queue-0000000179: MERGE_PARTS with virtual parts [6_15_20_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:25.701738 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {06bce907-8713-4dd9-b7fe-2d43dd6dcceb::6_15_20_1}: Code: 234. DB::Exception: No active replica has part 6_15_20_1 or covering part (cannot execute queue-0000000179: MERGE_PARTS with virtual parts [6_15_20_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:25.779481 [ 916 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {515d0874-83ba-43ff-83fa-fd4c7fe678ad::1_12_20_2}: Code: 234. DB::Exception: No active replica has part 1_12_20_2 or covering part (cannot execute queue-0000000180: MERGE_PARTS with virtual parts [1_12_20_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:25.779621 [ 925 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {06bce907-8713-4dd9-b7fe-2d43dd6dcceb::1_12_20_2}: Code: 234. DB::Exception: No active replica has part 1_12_20_2 or covering part (cannot execute queue-0000000180: MERGE_PARTS with virtual parts [1_12_20_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:25.779726 [ 923 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {d6fc0a8d-1256-431c-9f49-87e3b3b4b919::1_12_20_2}: Code: 234. DB::Exception: No active replica has part 1_12_20_2 or covering part (cannot execute queue-0000000180: MERGE_PARTS with virtual parts [1_12_20_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:25.786176 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {bc2f5a73-abf1-4b36-bc12-691790b11736::1_12_20_2}: Code: 234. DB::Exception: No active replica has part 1_12_20_2 or covering part (cannot execute queue-0000000180: MERGE_PARTS with virtual parts [1_12_20_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:25.842305 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {06bce907-8713-4dd9-b7fe-2d43dd6dcceb::1_12_20_2}: Code: 234. DB::Exception: No active replica has part 1_12_20_2 or covering part (cannot execute queue-0000000180: MERGE_PARTS with virtual parts [1_12_20_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:25.860808 [ 923 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {d6fc0a8d-1256-431c-9f49-87e3b3b4b919::8_0_14_3}: Code: 234. DB::Exception: No active replica has part 8_0_14_3 or covering part (cannot execute queue-0000000181: MERGE_PARTS with virtual parts [8_0_14_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:25.861535 [ 924 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {bc2f5a73-abf1-4b36-bc12-691790b11736::8_0_14_3}: Code: 234. DB::Exception: No active replica has part 8_0_14_3 or covering part (cannot execute queue-0000000181: MERGE_PARTS with virtual parts [8_0_14_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:26.817145 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8374e527-dc13-4ef1-b847-5ef5ee3b804c::1_18_28_3}: Code: 234. DB::Exception: No active replica has part 1_18_28_3 or covering part (cannot execute queue-0000000294: MERGE_PARTS with virtual parts [1_18_28_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:26.817833 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {844ef734-969a-42e2-ac3e-605ffd584f90::1_18_28_3}: Code: 234. DB::Exception: No active replica has part 1_18_28_3 or covering part (cannot execute queue-0000000294: MERGE_PARTS with virtual parts [1_18_28_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:26.818153 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {822397b4-5f46-4430-bb7d-339c3c5a2991::1_18_28_3}: Code: 234. DB::Exception: No active replica has part 1_18_28_3 or covering part (cannot execute queue-0000000294: MERGE_PARTS with virtual parts [1_18_28_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:26.818793 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {34726978-b03b-4d38-a706-f6d66fc24471::1_18_28_3}: Code: 234. DB::Exception: No active replica has part 1_18_28_3 or covering part (cannot execute queue-0000000294: MERGE_PARTS with virtual parts [1_18_28_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:26.821608 [ 916 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {89f925f9-9cef-4d5f-b94f-602b7c3e32fa::1_18_28_3}: Code: 234. DB::Exception: No active replica has part 1_18_28_3 or covering part (cannot execute queue-0000000294: MERGE_PARTS with virtual parts [1_18_28_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:26.825423 [ 922 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5b938607-64db-4429-939b-82f4ad4827ab::1_18_28_3}: Code: 234. DB::Exception: No active replica has part 1_18_28_3 or covering part (cannot execute queue-0000000294: MERGE_PARTS with virtual parts [1_18_28_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:26.826049 [ 925 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {df1ffc69-9e18-47e9-a85a-8ad4911eb9d3::1_18_28_3}: Code: 234. DB::Exception: No active replica has part 1_18_28_3 or covering part (cannot execute queue-0000000294: MERGE_PARTS with virtual parts [1_18_28_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:26.830596 [ 909 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {658183cd-6a60-4588-bd1b-9f9a0bb3d204::1_18_28_3}: Code: 234. DB::Exception: No active replica has part 1_18_28_3 or covering part (cannot execute queue-0000000294: MERGE_PARTS with virtual parts [1_18_28_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:26.832739 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {aaf0a1e4-3e25-410a-a168-576479721c3d::1_18_28_3}: Code: 234. DB::Exception: No active replica has part 1_18_28_3 or covering part (cannot execute queue-0000000294: MERGE_PARTS with virtual parts [1_18_28_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:26.838855 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {dbe69e14-46e9-440a-9ced-adedbd3d61d7::1_18_28_3}: Code: 234. DB::Exception: No active replica has part 1_18_28_3 or covering part (cannot execute queue-0000000294: MERGE_PARTS with virtual parts [1_18_28_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:27.702667 [ 924 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {515d0874-83ba-43ff-83fa-fd4c7fe678ad::0_0_15_3}: Code: 234. DB::Exception: No active replica has part 0_0_15_3 or covering part (cannot execute queue-0000000187: MERGE_PARTS with virtual parts [0_0_15_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:27.703629 [ 909 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {bc2f5a73-abf1-4b36-bc12-691790b11736::0_0_15_3}: Code: 234. DB::Exception: No active replica has part 0_0_15_3 or covering part (cannot execute queue-0000000187: MERGE_PARTS with virtual parts [0_0_15_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:27.817886 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {515d0874-83ba-43ff-83fa-fd4c7fe678ad::3_6_21_3}: Code: 234. DB::Exception: No active replica has part 3_6_21_3 or covering part (cannot execute queue-0000000188: MERGE_PARTS with virtual parts [3_6_21_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:27.831869 [ 923 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {16e98bf9-b598-48f6-ac99-3b4768b9aa04::3_6_21_3}: Code: 234. DB::Exception: No active replica has part 3_6_21_3 or covering part (cannot execute queue-0000000188: MERGE_PARTS with virtual parts [3_6_21_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:27.835385 [ 916 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {bc2f5a73-abf1-4b36-bc12-691790b11736::3_6_21_3}: Code: 234. DB::Exception: No active replica has part 3_6_21_3 or covering part (cannot execute queue-0000000188: MERGE_PARTS with virtual parts [3_6_21_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:27.958740 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {515d0874-83ba-43ff-83fa-fd4c7fe678ad::5_3_18_3}: Code: 234. DB::Exception: No active replica has part 5_3_18_3 or covering part (cannot execute queue-0000000191: MERGE_PARTS with virtual parts [5_3_18_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:27.959149 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {bc2f5a73-abf1-4b36-bc12-691790b11736::5_3_18_3}: Code: 234. DB::Exception: No active replica has part 5_3_18_3 or covering part (cannot execute queue-0000000191: MERGE_PARTS with virtual parts [5_3_18_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:29.030732 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {34726978-b03b-4d38-a706-f6d66fc24471::2_15_30_4}: Code: 234. DB::Exception: No active replica has part 2_15_30_4 or covering part (cannot execute queue-0000000302: MERGE_PARTS with virtual parts [2_15_30_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:29.049823 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {9fa7090e-c64c-40a3-b394-290f8d37afb0::2_15_30_4}: Code: 234. DB::Exception: No active replica has part 2_15_30_4 or covering part (cannot execute queue-0000000302: MERGE_PARTS with virtual parts [2_15_30_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:29.364515 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5b938607-64db-4429-939b-82f4ad4827ab::4_22_27_1}: Code: 234. DB::Exception: No active replica has part 4_22_27_1 or covering part (cannot execute queue-0000000309: MERGE_PARTS with virtual parts [4_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:29.388125 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {df1ffc69-9e18-47e9-a85a-8ad4911eb9d3::4_22_27_1}: Code: 234. DB::Exception: No active replica has part 4_22_27_1 or covering part (cannot execute queue-0000000309: MERGE_PARTS with virtual parts [4_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:29.390274 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {9fa7090e-c64c-40a3-b394-290f8d37afb0::4_22_27_1}: Code: 234. DB::Exception: No active replica has part 4_22_27_1 or covering part (cannot execute queue-0000000309: MERGE_PARTS with virtual parts [4_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:29.390562 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {658183cd-6a60-4588-bd1b-9f9a0bb3d204::4_22_27_1}: Code: 234. DB::Exception: No active replica has part 4_22_27_1 or covering part (cannot execute queue-0000000309: MERGE_PARTS with virtual parts [4_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:29.403535 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {89f925f9-9cef-4d5f-b94f-602b7c3e32fa::4_22_27_1}: Code: 234. DB::Exception: No active replica has part 4_22_27_1 or covering part (cannot execute queue-0000000309: MERGE_PARTS with virtual parts [4_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:29.467578 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {dbe69e14-46e9-440a-9ced-adedbd3d61d7::4_22_27_1}: Code: 234. DB::Exception: No active replica has part 4_22_27_1 or covering part (cannot execute queue-0000000309: MERGE_PARTS with virtual parts [4_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:29.470989 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {e153af44-8c01-41e1-84d1-d9e23b89b9f8::4_22_27_1}: Code: 234. DB::Exception: No active replica has part 4_22_27_1 or covering part (cannot execute queue-0000000309: MERGE_PARTS with virtual parts [4_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:29.610955 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {89f925f9-9cef-4d5f-b94f-602b7c3e32fa::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:29.690933 [ 909 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {34726978-b03b-4d38-a706-f6d66fc24471::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:29.697020 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {fbe21d30-afb0-4101-b208-309340cc9589::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:29.703388 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {658183cd-6a60-4588-bd1b-9f9a0bb3d204::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:29.703679 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {3fe03022-cfb5-4d3e-8c45-03aecce4ca41::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:29.710200 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5b938607-64db-4429-939b-82f4ad4827ab::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:29.712142 [ 924 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {e153af44-8c01-41e1-84d1-d9e23b89b9f8::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:29.722157 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {df1ffc69-9e18-47e9-a85a-8ad4911eb9d3::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:29.736607 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {dbe69e14-46e9-440a-9ced-adedbd3d61d7::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:29.743644 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {9fa7090e-c64c-40a3-b394-290f8d37afb0::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:29.749336 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {844ef734-969a-42e2-ac3e-605ffd584f90::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:29.818926 [ 923 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {6575436e-6e58-4912-a8d9-75d297a3882d::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:29.835414 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {aaf0a1e4-3e25-410a-a168-576479721c3d::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:29.853261 [ 925 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {dfab7d50-0a29-416c-939d-eed4ce800657::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:29.902980 [ 922 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8374e527-dc13-4ef1-b847-5ef5ee3b804c::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:29.913912 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {dbe69e14-46e9-440a-9ced-adedbd3d61d7::5_15_24_2}: Code: 234. DB::Exception: No active replica has part 5_15_24_2 or covering part (cannot execute queue-0000000311: MERGE_PARTS with virtual parts [5_15_24_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.036360 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {9fa7090e-c64c-40a3-b394-290f8d37afb0::5_15_24_2}: Code: 234. DB::Exception: No active replica has part 5_15_24_2 or covering part (cannot execute queue-0000000311: MERGE_PARTS with virtual parts [5_15_24_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.045504 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {844ef734-969a-42e2-ac3e-605ffd584f90::5_15_24_2}: Code: 234. DB::Exception: No active replica has part 5_15_24_2 or covering part (cannot execute queue-0000000311: MERGE_PARTS with virtual parts [5_15_24_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.058449 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {aaf0a1e4-3e25-410a-a168-576479721c3d::5_15_24_2}: Code: 234. DB::Exception: No active replica has part 5_15_24_2 or covering part (cannot execute queue-0000000311: MERGE_PARTS with virtual parts [5_15_24_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.065548 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {658183cd-6a60-4588-bd1b-9f9a0bb3d204::5_15_24_2}: Code: 234. DB::Exception: No active replica has part 5_15_24_2 or covering part (cannot execute queue-0000000311: MERGE_PARTS with virtual parts [5_15_24_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.102101 [ 916 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {3fe03022-cfb5-4d3e-8c45-03aecce4ca41::5_15_24_2}: Code: 234. DB::Exception: No active replica has part 5_15_24_2 or covering part (cannot execute queue-0000000311: MERGE_PARTS with virtual parts [5_15_24_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.118840 [ 923 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {89f925f9-9cef-4d5f-b94f-602b7c3e32fa::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.129975 [ 909 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {89f925f9-9cef-4d5f-b94f-602b7c3e32fa::5_15_24_2}: Code: 234. DB::Exception: No active replica has part 5_15_24_2 or covering part (cannot execute queue-0000000311: MERGE_PARTS with virtual parts [5_15_24_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.131051 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {34726978-b03b-4d38-a706-f6d66fc24471::5_15_24_2}: Code: 234. DB::Exception: No active replica has part 5_15_24_2 or covering part (cannot execute queue-0000000311: MERGE_PARTS with virtual parts [5_15_24_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.143376 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {fbe21d30-afb0-4101-b208-309340cc9589::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.144259 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {34726978-b03b-4d38-a706-f6d66fc24471::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.153818 [ 924 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {3fe03022-cfb5-4d3e-8c45-03aecce4ca41::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.172699 [ 925 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {658183cd-6a60-4588-bd1b-9f9a0bb3d204::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.190675 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5b938607-64db-4429-939b-82f4ad4827ab::5_15_24_2}: Code: 234. DB::Exception: No active replica has part 5_15_24_2 or covering part (cannot execute queue-0000000311: MERGE_PARTS with virtual parts [5_15_24_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.194249 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5b938607-64db-4429-939b-82f4ad4827ab::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.221250 [ 922 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {df1ffc69-9e18-47e9-a85a-8ad4911eb9d3::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.223741 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {dbe69e14-46e9-440a-9ced-adedbd3d61d7::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.351504 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {9fa7090e-c64c-40a3-b394-290f8d37afb0::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.355810 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {844ef734-969a-42e2-ac3e-605ffd584f90::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.366610 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {6575436e-6e58-4912-a8d9-75d297a3882d::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.376662 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {6575436e-6e58-4912-a8d9-75d297a3882d::5_15_24_2}: Code: 234. DB::Exception: No active replica has part 5_15_24_2 or covering part (cannot execute queue-0000000311: MERGE_PARTS with virtual parts [5_15_24_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.404889 [ 916 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {aaf0a1e4-3e25-410a-a168-576479721c3d::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.417700 [ 923 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {dfab7d50-0a29-416c-939d-eed4ce800657::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.423664 [ 909 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8374e527-dc13-4ef1-b847-5ef5ee3b804c::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.429827 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8374e527-dc13-4ef1-b847-5ef5ee3b804c::5_15_24_2}: Code: 234. DB::Exception: No active replica has part 5_15_24_2 or covering part (cannot execute queue-0000000311: MERGE_PARTS with virtual parts [5_15_24_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.430021 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {dbe69e14-46e9-440a-9ced-adedbd3d61d7::5_15_24_2}: Code: 234. DB::Exception: No active replica has part 5_15_24_2 or covering part (cannot execute queue-0000000311: MERGE_PARTS with virtual parts [5_15_24_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.434033 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {9fa7090e-c64c-40a3-b394-290f8d37afb0::5_15_24_2}: Code: 234. DB::Exception: No active replica has part 5_15_24_2 or covering part (cannot execute queue-0000000311: MERGE_PARTS with virtual parts [5_15_24_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.435503 [ 924 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {844ef734-969a-42e2-ac3e-605ffd584f90::5_15_24_2}: Code: 234. DB::Exception: No active replica has part 5_15_24_2 or covering part (cannot execute queue-0000000311: MERGE_PARTS with virtual parts [5_15_24_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.447558 [ 925 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {aaf0a1e4-3e25-410a-a168-576479721c3d::5_15_24_2}: Code: 234. DB::Exception: No active replica has part 5_15_24_2 or covering part (cannot execute queue-0000000311: MERGE_PARTS with virtual parts [5_15_24_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.453523 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {658183cd-6a60-4588-bd1b-9f9a0bb3d204::5_15_24_2}: Code: 234. DB::Exception: No active replica has part 5_15_24_2 or covering part (cannot execute queue-0000000311: MERGE_PARTS with virtual parts [5_15_24_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.461412 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {3fe03022-cfb5-4d3e-8c45-03aecce4ca41::5_15_24_2}: Code: 234. DB::Exception: No active replica has part 5_15_24_2 or covering part (cannot execute queue-0000000311: MERGE_PARTS with virtual parts [5_15_24_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.478272 [ 922 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {89f925f9-9cef-4d5f-b94f-602b7c3e32fa::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.493806 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {89f925f9-9cef-4d5f-b94f-602b7c3e32fa::5_15_24_2}: Code: 234. DB::Exception: No active replica has part 5_15_24_2 or covering part (cannot execute queue-0000000311: MERGE_PARTS with virtual parts [5_15_24_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.559886 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {34726978-b03b-4d38-a706-f6d66fc24471::5_15_24_2}: Code: 234. DB::Exception: No active replica has part 5_15_24_2 or covering part (cannot execute queue-0000000311: MERGE_PARTS with virtual parts [5_15_24_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.563724 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {fbe21d30-afb0-4101-b208-309340cc9589::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.587065 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {34726978-b03b-4d38-a706-f6d66fc24471::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.600019 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {3fe03022-cfb5-4d3e-8c45-03aecce4ca41::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.616971 [ 916 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {df1ffc69-9e18-47e9-a85a-8ad4911eb9d3::5_15_24_2}: Code: 234. DB::Exception: No active replica has part 5_15_24_2 or covering part (cannot execute queue-0000000311: MERGE_PARTS with virtual parts [5_15_24_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.624518 [ 923 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5b938607-64db-4429-939b-82f4ad4827ab::5_15_24_2}: Code: 234. DB::Exception: No active replica has part 5_15_24_2 or covering part (cannot execute queue-0000000311: MERGE_PARTS with virtual parts [5_15_24_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.628194 [ 909 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5b938607-64db-4429-939b-82f4ad4827ab::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.630522 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {df1ffc69-9e18-47e9-a85a-8ad4911eb9d3::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.632044 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {dbe69e14-46e9-440a-9ced-adedbd3d61d7::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.636621 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8374e527-dc13-4ef1-b847-5ef5ee3b804c::9_20_23_1}: Code: 234. DB::Exception: No active replica has part 9_20_23_1 or covering part (cannot execute queue-0000000312: MERGE_PARTS with virtual parts [9_20_23_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.654491 [ 924 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {89f925f9-9cef-4d5f-b94f-602b7c3e32fa::9_20_23_1}: Code: 234. DB::Exception: No active replica has part 9_20_23_1 or covering part (cannot execute queue-0000000312: MERGE_PARTS with virtual parts [9_20_23_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.657293 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {9fa7090e-c64c-40a3-b394-290f8d37afb0::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.664418 [ 925 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {844ef734-969a-42e2-ac3e-605ffd584f90::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.665064 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {6575436e-6e58-4912-a8d9-75d297a3882d::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.688134 [ 922 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {6575436e-6e58-4912-a8d9-75d297a3882d::5_15_24_2}: Code: 234. DB::Exception: No active replica has part 5_15_24_2 or covering part (cannot execute queue-0000000311: MERGE_PARTS with virtual parts [5_15_24_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.691425 [ 62057 ] {c09efd5d-013e-47c5-a1dd-02d4236c2595} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:49020). (NETWORK_ERROR) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:49020) (comment: 01154_move_partition_long.sh) (in query: INSERT INTO src_7 SELECT * FROM generateRandom('p UInt64, k UInt64, v UInt64') LIMIT 31), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000013cefb88 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000013cef1a4 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b204acd in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:1136: DB::TCPHandler::sendProfileEvents() @ 0x000000001e64fbf9 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1146: DB::TCPHandler::sendSelectProfileEvents() @ 0x000000001e64baf4 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:558: DB::TCPHandler::runImpl() @ 0x000000001e643ae2 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:17:30.692985 [ 62057 ] {c09efd5d-013e-47c5-a1dd-02d4236c2595} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:49020). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000013cefb88 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000013cef1a4 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b204acd in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:2073: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001e655c35 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2150: DB::TCPHandler::sendLogs() @ 0x000000001e64c2df in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:672: DB::TCPHandler::runImpl() @ 0x000000001e6448d7 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.693344 [ 62057 ] {c09efd5d-013e-47c5-a1dd-02d4236c2595} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:49020). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000013cefb88 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000013cef1a4 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b204acd in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:1136: DB::TCPHandler::sendProfileEvents() @ 0x000000001e64fbf9 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1146: DB::TCPHandler::sendSelectProfileEvents() @ 0x000000001e64baf4 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:558: DB::TCPHandler::runImpl() @ 0x000000001e643ae2 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:17:30.694019 [ 62057 ] {c09efd5d-013e-47c5-a1dd-02d4236c2595} TCPHandler: Client has gone away. 2024.09.24 02:17:30.697332 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {aaf0a1e4-3e25-410a-a168-576479721c3d::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.763267 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8374e527-dc13-4ef1-b847-5ef5ee3b804c::5_15_24_2}: Code: 234. DB::Exception: No active replica has part 5_15_24_2 or covering part (cannot execute queue-0000000311: MERGE_PARTS with virtual parts [5_15_24_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.763829 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8374e527-dc13-4ef1-b847-5ef5ee3b804c::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.769691 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {dbe69e14-46e9-440a-9ced-adedbd3d61d7::5_15_24_2}: Code: 234. DB::Exception: No active replica has part 5_15_24_2 or covering part (cannot execute queue-0000000311: MERGE_PARTS with virtual parts [5_15_24_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.779751 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {844ef734-969a-42e2-ac3e-605ffd584f90::5_15_24_2}: Code: 234. DB::Exception: No active replica has part 5_15_24_2 or covering part (cannot execute queue-0000000311: MERGE_PARTS with virtual parts [5_15_24_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.795976 [ 923 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {aaf0a1e4-3e25-410a-a168-576479721c3d::5_15_24_2}: Code: 234. DB::Exception: No active replica has part 5_15_24_2 or covering part (cannot execute queue-0000000311: MERGE_PARTS with virtual parts [5_15_24_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.799322 [ 909 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {658183cd-6a60-4588-bd1b-9f9a0bb3d204::5_15_24_2}: Code: 234. DB::Exception: No active replica has part 5_15_24_2 or covering part (cannot execute queue-0000000311: MERGE_PARTS with virtual parts [5_15_24_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.801518 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {dbe69e14-46e9-440a-9ced-adedbd3d61d7::9_20_23_1}: Code: 234. DB::Exception: No active replica has part 9_20_23_1 or covering part (cannot execute queue-0000000312: MERGE_PARTS with virtual parts [9_20_23_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.802617 [ 916 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {89f925f9-9cef-4d5f-b94f-602b7c3e32fa::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.803349 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {89f925f9-9cef-4d5f-b94f-602b7c3e32fa::5_15_24_2}: Code: 234. DB::Exception: No active replica has part 5_15_24_2 or covering part (cannot execute queue-0000000311: MERGE_PARTS with virtual parts [5_15_24_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.806780 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {34726978-b03b-4d38-a706-f6d66fc24471::5_15_24_2}: Code: 234. DB::Exception: No active replica has part 5_15_24_2 or covering part (cannot execute queue-0000000311: MERGE_PARTS with virtual parts [5_15_24_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.821374 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {fbe21d30-afb0-4101-b208-309340cc9589::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.826541 [ 924 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {34726978-b03b-4d38-a706-f6d66fc24471::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.831371 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {df1ffc69-9e18-47e9-a85a-8ad4911eb9d3::5_15_24_2}: Code: 234. DB::Exception: No active replica has part 5_15_24_2 or covering part (cannot execute queue-0000000311: MERGE_PARTS with virtual parts [5_15_24_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.840566 [ 925 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5b938607-64db-4429-939b-82f4ad4827ab::5_15_24_2}: Code: 234. DB::Exception: No active replica has part 5_15_24_2 or covering part (cannot execute queue-0000000311: MERGE_PARTS with virtual parts [5_15_24_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.854676 [ 922 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5b938607-64db-4429-939b-82f4ad4827ab::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.866020 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {df1ffc69-9e18-47e9-a85a-8ad4911eb9d3::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.911172 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {dbe69e14-46e9-440a-9ced-adedbd3d61d7::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.911799 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8374e527-dc13-4ef1-b847-5ef5ee3b804c::9_20_23_1}: Code: 234. DB::Exception: No active replica has part 9_20_23_1 or covering part (cannot execute queue-0000000312: MERGE_PARTS with virtual parts [9_20_23_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.916093 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {89f925f9-9cef-4d5f-b94f-602b7c3e32fa::9_20_23_1}: Code: 234. DB::Exception: No active replica has part 9_20_23_1 or covering part (cannot execute queue-0000000312: MERGE_PARTS with virtual parts [9_20_23_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.924405 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {9fa7090e-c64c-40a3-b394-290f8d37afb0::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.947614 [ 909 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {844ef734-969a-42e2-ac3e-605ffd584f90::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.951378 [ 923 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {6575436e-6e58-4912-a8d9-75d297a3882d::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.953880 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {aaf0a1e4-3e25-410a-a168-576479721c3d::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.954886 [ 916 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8374e527-dc13-4ef1-b847-5ef5ee3b804c::5_15_24_2}: Code: 234. DB::Exception: No active replica has part 5_15_24_2 or covering part (cannot execute queue-0000000311: MERGE_PARTS with virtual parts [5_15_24_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.955391 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8374e527-dc13-4ef1-b847-5ef5ee3b804c::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.955863 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {aaf0a1e4-3e25-410a-a168-576479721c3d::5_15_24_2}: Code: 234. DB::Exception: No active replica has part 5_15_24_2 or covering part (cannot execute queue-0000000311: MERGE_PARTS with virtual parts [5_15_24_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.962013 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {658183cd-6a60-4588-bd1b-9f9a0bb3d204::9_20_23_1}: Code: 234. DB::Exception: No active replica has part 9_20_23_1 or covering part (cannot execute queue-0000000312: MERGE_PARTS with virtual parts [9_20_23_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.965747 [ 924 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {658183cd-6a60-4588-bd1b-9f9a0bb3d204::5_15_24_2}: Code: 234. DB::Exception: No active replica has part 5_15_24_2 or covering part (cannot execute queue-0000000311: MERGE_PARTS with virtual parts [5_15_24_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.967113 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {dbe69e14-46e9-440a-9ced-adedbd3d61d7::9_20_23_1}: Code: 234. DB::Exception: No active replica has part 9_20_23_1 or covering part (cannot execute queue-0000000312: MERGE_PARTS with virtual parts [9_20_23_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.974074 [ 925 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {89f925f9-9cef-4d5f-b94f-602b7c3e32fa::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:30.995760 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {34726978-b03b-4d38-a706-f6d66fc24471::5_15_24_2}: Code: 234. DB::Exception: No active replica has part 5_15_24_2 or covering part (cannot execute queue-0000000311: MERGE_PARTS with virtual parts [5_15_24_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:31.001621 [ 922 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {34726978-b03b-4d38-a706-f6d66fc24471::9_20_23_1}: Code: 234. DB::Exception: No active replica has part 9_20_23_1 or covering part (cannot execute queue-0000000312: MERGE_PARTS with virtual parts [9_20_23_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:31.050152 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {fbe21d30-afb0-4101-b208-309340cc9589::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:31.054574 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {34726978-b03b-4d38-a706-f6d66fc24471::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:31.059497 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {df1ffc69-9e18-47e9-a85a-8ad4911eb9d3::5_15_24_2}: Code: 234. DB::Exception: No active replica has part 5_15_24_2 or covering part (cannot execute queue-0000000311: MERGE_PARTS with virtual parts [5_15_24_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:31.061411 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5b938607-64db-4429-939b-82f4ad4827ab::5_15_24_2}: Code: 234. DB::Exception: No active replica has part 5_15_24_2 or covering part (cannot execute queue-0000000311: MERGE_PARTS with virtual parts [5_15_24_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:31.079402 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {df1ffc69-9e18-47e9-a85a-8ad4911eb9d3::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:31.080770 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {dbe69e14-46e9-440a-9ced-adedbd3d61d7::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:31.082852 [ 923 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8374e527-dc13-4ef1-b847-5ef5ee3b804c::9_20_23_1}: Code: 234. DB::Exception: No active replica has part 9_20_23_1 or covering part (cannot execute queue-0000000312: MERGE_PARTS with virtual parts [9_20_23_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:31.087418 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {89f925f9-9cef-4d5f-b94f-602b7c3e32fa::5_15_24_2}: Code: 234. DB::Exception: No active replica has part 5_15_24_2 or covering part (cannot execute queue-0000000311: MERGE_PARTS with virtual parts [5_15_24_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:31.090718 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {844ef734-969a-42e2-ac3e-605ffd584f90::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:31.091309 [ 924 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {6575436e-6e58-4912-a8d9-75d297a3882d::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:31.092032 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {aaf0a1e4-3e25-410a-a168-576479721c3d::0_22_27_1}: Code: 234. DB::Exception: No active replica has part 0_22_27_1 or covering part (cannot execute queue-0000000310: MERGE_PARTS with virtual parts [0_22_27_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:31.102392 [ 925 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8374e527-dc13-4ef1-b847-5ef5ee3b804c::5_15_24_2}: Code: 234. DB::Exception: No active replica has part 5_15_24_2 or covering part (cannot execute queue-0000000311: MERGE_PARTS with virtual parts [5_15_24_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:31.138857 [ 922 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {aaf0a1e4-3e25-410a-a168-576479721c3d::5_15_24_2}: Code: 234. DB::Exception: No active replica has part 5_15_24_2 or covering part (cannot execute queue-0000000311: MERGE_PARTS with virtual parts [5_15_24_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:31.207114 [ 916 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {658183cd-6a60-4588-bd1b-9f9a0bb3d204::9_20_23_1}: Code: 234. DB::Exception: No active replica has part 9_20_23_1 or covering part (cannot execute queue-0000000312: MERGE_PARTS with virtual parts [9_20_23_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:31.275964 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {dbe69e14-46e9-440a-9ced-adedbd3d61d7::9_20_23_1}: Code: 234. DB::Exception: No active replica has part 9_20_23_1 or covering part (cannot execute queue-0000000312: MERGE_PARTS with virtual parts [9_20_23_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:31.291631 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {34726978-b03b-4d38-a706-f6d66fc24471::9_20_23_1}: Code: 234. DB::Exception: No active replica has part 9_20_23_1 or covering part (cannot execute queue-0000000312: MERGE_PARTS with virtual parts [9_20_23_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:31.295475 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5b938607-64db-4429-939b-82f4ad4827ab::9_20_23_1}: Code: 234. DB::Exception: No active replica has part 9_20_23_1 or covering part (cannot execute queue-0000000312: MERGE_PARTS with virtual parts [9_20_23_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:31.323116 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8374e527-dc13-4ef1-b847-5ef5ee3b804c::9_20_23_1}: Code: 234. DB::Exception: No active replica has part 9_20_23_1 or covering part (cannot execute queue-0000000312: MERGE_PARTS with virtual parts [9_20_23_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:31.935605 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {658183cd-6a60-4588-bd1b-9f9a0bb3d204::9_20_23_1}: Code: 234. DB::Exception: No active replica has part 9_20_23_1 or covering part (cannot execute queue-0000000312: MERGE_PARTS with virtual parts [9_20_23_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac04ae8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82eeb8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e279b74 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27893f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e2773a0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de52f4d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de539ae in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5be98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5be55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5be35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5bdfd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a59483 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:17:37.579726 [ 749 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:17:37.580337 [ 749 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:17:37.655909 [ 749 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:17:52.796747 [ 735 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:17:52.797191 [ 735 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:17:52.870610 [ 735 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:18:08.037487 [ 797 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:18:08.038280 [ 797 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:18:08.125475 [ 797 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:18:23.284915 [ 757 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:18:23.285734 [ 757 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:18:23.348554 [ 757 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:18:38.522618 [ 813 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:18:38.523186 [ 813 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:18:38.583778 [ 813 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:18:53.747528 [ 799 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:18:53.748327 [ 799 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:18:53.811249 [ 799 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:18:57.936310 [ 64150 ] {b3b9674a-7b5a-4b7c-90a3-428e9d83e6db} InterpreterCreateQuery: ATTACH TABLE query with full table definition is not recommended: use either ATTACH TABLE mv; to attach existing table or CREATE TABLE mv ; to create new table or ATTACH TABLE mv FROM '/path/to/data/'
; to create new table and attach data. 2024.09.24 02:18:58.230687 [ 64150 ] {9133d6b6-281a-4083-a200-b3b87f825038} InterpreterCreateQuery: ATTACH TABLE query with full table definition is not recommended: use either ATTACH TABLE mv; to attach existing table or CREATE TABLE mv
; to create new table or ATTACH TABLE mv FROM '/path/to/data/'
; to create new table and attach data. 2024.09.24 02:18:58.492025 [ 64150 ] {b88d9f64-e45b-45aa-b08e-ffddf49d10d1} InterpreterCreateQuery: ATTACH TABLE query with full table definition is not recommended: use either ATTACH TABLE mv; to attach existing table or CREATE TABLE mv
; to create new table or ATTACH TABLE mv FROM '/path/to/data/'
; to create new table and attach data. 2024.09.24 02:18:58.495384 [ 64150 ] {b88d9f64-e45b-45aa-b08e-ffddf49d10d1} executeQuery: Code: 36. DB::Exception: Materialized view test_bdcplkkp.mv cannot point to itself. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:42144) (comment: 01153_attach_mv_uuid.sql) (in query: ATTACH MATERIALIZED VIEW mv UUID '3bd68e3c-2693-4352-ad66-a66eba9e345e' TO INNER UUID '3bd68e3c-2693-4352-ad66-a66eba9e345e' (n Int32, n2 Int64) ENGINE = MergeTree PARTITION BY n % 10 ORDER BY n AS SELECT n, n * n AS n2 FROM src;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMaterializedView.cpp:97: DB::StorageMaterializedView::StorageMaterializedView(DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool, String const&) @ 0x000000001d7299df in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMaterializedView* std::construct_at[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, DB::StorageMaterializedView*>(DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72fb1a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void, void>(std::allocator&, DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72f88d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72f559 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72f3ae in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72f314 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMaterializedView.cpp:491: DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d72e74d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001d72e6dd in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001d72e67d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001d72e63d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001d72e605 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 02:18:58.496814 [ 64150 ] {b88d9f64-e45b-45aa-b08e-ffddf49d10d1} TCPHandler: Code: 36. DB::Exception: Materialized view test_bdcplkkp.mv cannot point to itself. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMaterializedView.cpp:97: DB::StorageMaterializedView::StorageMaterializedView(DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool, String const&) @ 0x000000001d7299df in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMaterializedView* std::construct_at[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, DB::StorageMaterializedView*>(DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72fb1a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void, void>(std::allocator&, DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72f88d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72f559 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72f3ae in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72f314 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMaterializedView.cpp:491: DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d72e74d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001d72e6dd in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001d72e67d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001d72e63d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001d72e605 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 2024.09.24 02:19:00.666660 [ 64150 ] {a14639f6-40ec-4d80-8432-261a7bbede61} executeQuery: Code: 36. DB::Exception: Macro 'uuid' and empty arguments of ReplicatedMergeTree are supported only for ON CLUSTER queries with Atomic database engine. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:42156) (comment: 01148_zookeeper_path_macros_unfolding.sql) (in query: CREATE TABLE rmt (n UInt64, s String) ENGINE = ReplicatedMergeTree('{default_path_test}{uuid}', '{default_name_test}') ORDER BY n;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [126]) @ 0x000000000b19c2fe in /usr/bin/clickhouse 6. /build/src/Common/Macros.cpp:101: DB::Macros::expand(String const&, DB::Macros::MacroExpansionInfo&) const @ 0x00000000138f5804 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:353: DB::create(DB::StorageFactory::Arguments const&)::$_2::operator()(DB::ASTLiteral*, DB::ASTLiteral*) const @ 0x000000001e35aff6 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:397: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e357346 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 15. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:19:00.667561 [ 64150 ] {a14639f6-40ec-4d80-8432-261a7bbede61} TCPHandler: Code: 36. DB::Exception: Macro 'uuid' and empty arguments of ReplicatedMergeTree are supported only for ON CLUSTER queries with Atomic database engine. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [126]) @ 0x000000000b19c2fe in /usr/bin/clickhouse 6. /build/src/Common/Macros.cpp:101: DB::Macros::expand(String const&, DB::Macros::MacroExpansionInfo&) const @ 0x00000000138f5804 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:353: DB::create(DB::StorageFactory::Arguments const&)::$_2::operator()(DB::ASTLiteral*, DB::ASTLiteral*) const @ 0x000000001e35aff6 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:397: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e357346 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 15. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:19:00.853791 [ 64150 ] {955536cd-9381-4ad2-9a23-31e055b819be} executeQuery: Code: 48. DB::Exception: Cannot rename Replicated table, because zookeeper_path contains implicit 'database' or 'table' macro. We cannot rename path in ZooKeeper, so path may become inconsistent with table name. If you really want to rename table, you should edit metadata file first and restart server or reattach the table. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:42156) (comment: 01148_zookeeper_path_macros_unfolding.sql) (in query: RENAME TABLE rmt TO rmt2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [301]) @ 0x000000001d8eb5be in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:6196: DB::StorageReplicatedMergeTree::checkTableCanBeRenamed(DB::StorageID const&) const @ 0x000000001d886cb6 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseAtomic.cpp:249: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x000000001bad9140 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterRenameQuery.cpp:141: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001ca983ec in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterRenameQuery.cpp:75: DB::InterpreterRenameQuery::execute() @ 0x000000001ca96eb9 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:19:00.854547 [ 64150 ] {955536cd-9381-4ad2-9a23-31e055b819be} TCPHandler: Code: 48. DB::Exception: Cannot rename Replicated table, because zookeeper_path contains implicit 'database' or 'table' macro. We cannot rename path in ZooKeeper, so path may become inconsistent with table name. If you really want to rename table, you should edit metadata file first and restart server or reattach the table. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [301]) @ 0x000000001d8eb5be in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:6196: DB::StorageReplicatedMergeTree::checkTableCanBeRenamed(DB::StorageID const&) const @ 0x000000001d886cb6 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseAtomic.cpp:249: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x000000001bad9140 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterRenameQuery.cpp:141: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001ca983ec in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterRenameQuery.cpp:75: DB::InterpreterRenameQuery::execute() @ 0x000000001ca96eb9 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:19:01.218040 [ 64150 ] {6cb8574f-2209-496c-82f9-2c51b77956d9} executeQuery: Code: 36. DB::Exception: Macro 'uuid' and empty arguments of ReplicatedMergeTree are supported only for ON CLUSTER queries with Atomic database engine. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:42156) (comment: 01148_zookeeper_path_macros_unfolding.sql) (in query: CREATE TABLE test_01148_atomic.rmt3 AS test_01148_atomic.rmt2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [126]) @ 0x000000000b19c2fe in /usr/bin/clickhouse 6. /build/src/Common/Macros.cpp:101: DB::Macros::expand(String const&, DB::Macros::MacroExpansionInfo&) const @ 0x00000000138f5804 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:353: DB::create(DB::StorageFactory::Arguments const&)::$_2::operator()(DB::ASTLiteral*, DB::ASTLiteral*) const @ 0x000000001e35aff6 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:397: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e357346 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 15. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:19:01.218899 [ 64150 ] {6cb8574f-2209-496c-82f9-2c51b77956d9} TCPHandler: Code: 36. DB::Exception: Macro 'uuid' and empty arguments of ReplicatedMergeTree are supported only for ON CLUSTER queries with Atomic database engine. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [126]) @ 0x000000000b19c2fe in /usr/bin/clickhouse 6. /build/src/Common/Macros.cpp:101: DB::Macros::expand(String const&, DB::Macros::MacroExpansionInfo&) const @ 0x00000000138f5804 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:353: DB::create(DB::StorageFactory::Arguments const&)::$_2::operator()(DB::ASTLiteral*, DB::ASTLiteral*) const @ 0x000000001e35aff6 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:397: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e357346 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c49d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1c45d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1c41d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1c3e5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69c09e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97d in /usr/bin/clickhouse 15. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d699086 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f6ae8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 28. ? @ 0x00007f1d281b3ac3 in ? 29. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:19:01.657666 [ 64150 ] {ad7395f6-455e-4fb6-a634-8ae5529c0055} executeQuery: Code: 48. DB::Exception: Cannot move Replicated table to Ordinary database, because zookeeper_path contains implicit 'uuid' macro. If you really want to rename table, you should edit metadata file first and restart server or reattach the table. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:42156) (comment: 01148_zookeeper_path_macros_unfolding.sql) (in query: RENAME TABLE test_01148_atomic.rmt3 to test_01148_ordinary.rmt3;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [220]) @ 0x000000001d8eb6be in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:6205: DB::StorageReplicatedMergeTree::checkTableCanBeRenamed(DB::StorageID const&) const @ 0x000000001d886e1f in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:6213: DB::StorageReplicatedMergeTree::rename(String const&, DB::StorageID const&) @ 0x000000001d886efa in /usr/bin/clickhouse 8. /build/src/Databases/DatabaseOnDisk.cpp:433: DB::DatabaseOnDisk::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x000000001bacb227 in /usr/bin/clickhouse 9. /build/src/Databases/DatabaseAtomic.cpp:167: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x000000001bad8ba1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterRenameQuery.cpp:141: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001ca983ec in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterRenameQuery.cpp:75: DB::InterpreterRenameQuery::execute() @ 0x000000001ca96eb9 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 21. ? @ 0x00007f1d281b3ac3 in ? 22. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:19:01.658770 [ 64150 ] {ad7395f6-455e-4fb6-a634-8ae5529c0055} TCPHandler: Code: 48. DB::Exception: Cannot move Replicated table to Ordinary database, because zookeeper_path contains implicit 'uuid' macro. If you really want to rename table, you should edit metadata file first and restart server or reattach the table. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [220]) @ 0x000000001d8eb6be in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:6205: DB::StorageReplicatedMergeTree::checkTableCanBeRenamed(DB::StorageID const&) const @ 0x000000001d886e1f in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:6213: DB::StorageReplicatedMergeTree::rename(String const&, DB::StorageID const&) @ 0x000000001d886efa in /usr/bin/clickhouse 8. /build/src/Databases/DatabaseOnDisk.cpp:433: DB::DatabaseOnDisk::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x000000001bacb227 in /usr/bin/clickhouse 9. /build/src/Databases/DatabaseAtomic.cpp:167: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x000000001bad8ba1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterRenameQuery.cpp:141: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001ca983ec in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterRenameQuery.cpp:75: DB::InterpreterRenameQuery::execute() @ 0x000000001ca96eb9 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 21. ? @ 0x00007f1d281b3ac3 in ? 22. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:19:02.073143 [ 64150 ] {5ed3c820-62c5-4ec9-92df-c9c9bb8e7ce6} DatabaseReplicated (imdb_01148): It's not recommended to explicitly specify zookeeper_path and replica_name in ReplicatedMergeTree arguments 2024.09.24 02:19:07.555388 [ 2931 ] {f019d13e-d8e9-4737-b1d1-45ae40cb7d90} executeQuery: Code: 291. DB::Exception: Direct access to `_temporary_and_external_tables` database is not allowed. (DATABASE_ACCESS_DENIED) (version 23.8.16.41.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:35768) (in query: SELECT COUNT() FROM _temporary_and_external_tables.`_tmp_33631cce-6a70-4676-8e20-3f11f036d36b`), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b24a833 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:377: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0802 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc20756 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:19:07.556502 [ 2931 ] {f019d13e-d8e9-4737-b1d1-45ae40cb7d90} DynamicQueryHandler: Code: 291. DB::Exception: Direct access to `_temporary_and_external_tables` database is not allowed. (DATABASE_ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b24a833 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:377: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0802 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc20756 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:19:07.573831 [ 2931 ] {21d1f516-0144-45c8-8f26-13a80979b122} executeQuery: Code: 291. DB::Exception: Direct access to `_temporary_and_external_tables` database is not allowed. (DATABASE_ACCESS_DENIED) (version 23.8.16.41.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:35772) (in query: SELECT COUNT() FROM _temporary_and_external_tables.`_tmp_33631cce-6a70-4676-8e20-3f11f036d36b`), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b24a833 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:377: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0802 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc20756 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:19:07.574676 [ 2931 ] {21d1f516-0144-45c8-8f26-13a80979b122} DynamicQueryHandler: Code: 291. DB::Exception: Direct access to `_temporary_and_external_tables` database is not allowed. (DATABASE_ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b24a833 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:377: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0802 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc20756 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:19:08.967867 [ 769 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:19:08.968493 [ 769 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:19:09.058229 [ 769 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:19:24.210378 [ 789 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:19:24.211155 [ 789 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:19:24.285077 [ 789 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:19:39.452955 [ 794 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:19:39.453779 [ 794 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:19:39.542990 [ 794 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:19:54.723654 [ 779 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:19:54.724554 [ 779 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:19:54.787291 [ 779 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:20:09.964440 [ 842 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:20:09.965011 [ 842 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:20:10.044039 [ 842 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:20:13.447177 [ 65029 ] {73a3ddec-8853-457a-9f56-5fb9938a5897} executeQuery: Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01079_parallel_alter_detach_table_zookeeper_test_v3uo5uj6/concurrent_alter_detach/replicas/3). (TABLE_IS_READ_ONLY) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:57150) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_detach_3 MODIFY COLUMN value1 String SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:5273: DB::StorageReplicatedMergeTree::assertNotReadonly() const @ 0x000000001d7f88ab in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:5688: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001d8795c1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:197: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6546 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:20:13.448913 [ 65029 ] {73a3ddec-8853-457a-9f56-5fb9938a5897} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01079_parallel_alter_detach_table_zookeeper_test_v3uo5uj6/concurrent_alter_detach/replicas/3). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:5273: DB::StorageReplicatedMergeTree::assertNotReadonly() const @ 0x000000001d7f88ab in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:5688: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001d8795c1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:197: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d6546 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:20:15.475054 [ 61210 ] {9b48faf7-ab9b-42df-a9b2-597274852d9c} executeQuery: Code: 60. DB::Exception: Table test_v3uo5uj6.concurrent_alter_detach_3 does not exist. Maybe you meant concurrent_alter_detach_1?. (UNKNOWN_TABLE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:57184) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: INSERT INTO concurrent_alter_detach_3 VALUES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53833 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:121: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001ca7f3b2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x000000001ca813a6 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:20:15.476632 [ 61210 ] {9b48faf7-ab9b-42df-a9b2-597274852d9c} TCPHandler: Code: 60. DB::Exception: Table test_v3uo5uj6.concurrent_alter_detach_3 does not exist. Maybe you meant concurrent_alter_detach_1?. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53833 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:121: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001ca7f3b2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x000000001ca813a6 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:20:17.596018 [ 61708 ] {b899ae88-995c-433a-97f1-7a9b6d54d472} executeQuery: Code: 60. DB::Exception: Table test_v3uo5uj6.concurrent_alter_detach_2 does not exist. Maybe you meant concurrent_alter_detach_1?. (UNKNOWN_TABLE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:57226) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: INSERT INTO concurrent_alter_detach_2 VALUES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53833 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:121: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001ca7f3b2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x000000001ca813a6 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:20:17.597593 [ 61708 ] {b899ae88-995c-433a-97f1-7a9b6d54d472} TCPHandler: Code: 60. DB::Exception: Table test_v3uo5uj6.concurrent_alter_detach_2 does not exist. Maybe you meant concurrent_alter_detach_1?. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53833 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:121: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001ca7f3b2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x000000001ca813a6 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:20:22.003055 [ 64153 ] {ba9c7519-ca9d-4a4a-99c2-782c47774c11} executeQuery: Code: 60. DB::Exception: Table test_v3uo5uj6.concurrent_alter_detach_2 does not exist. Maybe you meant concurrent_alter_detach_1?. (UNKNOWN_TABLE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:51896) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: INSERT INTO concurrent_alter_detach_2 VALUES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53833 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:121: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001ca7f3b2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x000000001ca813a6 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:20:22.004775 [ 64153 ] {ba9c7519-ca9d-4a4a-99c2-782c47774c11} TCPHandler: Code: 60. DB::Exception: Table test_v3uo5uj6.concurrent_alter_detach_2 does not exist. Maybe you meant concurrent_alter_detach_1?. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53833 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:121: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001ca7f3b2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x000000001ca813a6 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:20:22.124699 [ 64717 ] {ccb3d476-c709-40bb-bbd7-1c30b04f1abf} executeQuery: Code: 60. DB::Exception: Table test_v3uo5uj6.concurrent_alter_detach_2 does not exist. Maybe you meant concurrent_alter_detach_1?. (UNKNOWN_TABLE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:51908) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: INSERT INTO concurrent_alter_detach_2 VALUES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53833 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:121: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001ca7f3b2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x000000001ca813a6 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:20:22.126516 [ 64717 ] {ccb3d476-c709-40bb-bbd7-1c30b04f1abf} TCPHandler: Code: 60. DB::Exception: Table test_v3uo5uj6.concurrent_alter_detach_2 does not exist. Maybe you meant concurrent_alter_detach_1?. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53833 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:121: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001ca7f3b2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x000000001ca813a6 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:20:22.390849 [ 65026 ] {e77b628d-2b2c-455e-8abd-03f138d412a7} executeQuery: Code: 60. DB::Exception: Table test_v3uo5uj6.concurrent_alter_detach_2 does not exist. Maybe you meant concurrent_alter_detach_1?. (UNKNOWN_TABLE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:51922) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: INSERT INTO concurrent_alter_detach_2 VALUES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53833 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:121: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001ca7f3b2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x000000001ca813a6 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:20:22.392615 [ 65026 ] {e77b628d-2b2c-455e-8abd-03f138d412a7} TCPHandler: Code: 60. DB::Exception: Table test_v3uo5uj6.concurrent_alter_detach_2 does not exist. Maybe you meant concurrent_alter_detach_1?. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53833 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:121: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001ca7f3b2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x000000001ca813a6 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:20:22.766286 [ 65029 ] {7925ac8f-3ec0-4dc9-ade0-89e3dce551da} executeQuery: Code: 60. DB::Exception: Table test_v3uo5uj6.concurrent_alter_detach_2 does not exist. Maybe you meant concurrent_alter_detach_1?. (UNKNOWN_TABLE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:51948) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: INSERT INTO concurrent_alter_detach_2 VALUES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53833 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:121: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001ca7f3b2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x000000001ca813a6 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:20:22.768669 [ 65029 ] {7925ac8f-3ec0-4dc9-ade0-89e3dce551da} TCPHandler: Code: 60. DB::Exception: Table test_v3uo5uj6.concurrent_alter_detach_2 does not exist. Maybe you meant concurrent_alter_detach_1?. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23f968 in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53833 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:121: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001ca7f3b2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x000000001ca813a6 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:20:25.195939 [ 732 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:20:25.196412 [ 732 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:20:25.268775 [ 732 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:20:26.581328 [ 64717 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:52018). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000013cee00c in /usr/bin/clickhouse 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000013ced280 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2189bc in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:105: DB::TCPHandler::runImpl() @ 0x000000001e6425a1 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:20:29.241004 [ 64717 ] {409cc36d-ecfb-4fa7-81f5-7099c9ba43fa} executeQuery: Code: 57. DB::Exception: Table test_v3uo5uj6.concurrent_alter_detach_1 already exists. (TABLE_ALREADY_EXISTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:52034) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: ATTACH TABLE concurrent_alter_detach_1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x00000000184446c8 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1349: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f4875 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:20:29.242693 [ 64717 ] {409cc36d-ecfb-4fa7-81f5-7099c9ba43fa} TCPHandler: Code: 57. DB::Exception: Table test_v3uo5uj6.concurrent_alter_detach_1 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x00000000184446c8 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1349: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f4875 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:20:31.136425 [ 64717 ] {228a163c-5e43-486e-b388-505659c20358} executeQuery: Code: 57. DB::Exception: Table test_v3uo5uj6.concurrent_alter_detach_2 already exists. (TABLE_ALREADY_EXISTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:43312) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: ATTACH TABLE concurrent_alter_detach_2), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x00000000184446c8 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1349: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f4875 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:20:31.138172 [ 64717 ] {228a163c-5e43-486e-b388-505659c20358} TCPHandler: Code: 57. DB::Exception: Table test_v3uo5uj6.concurrent_alter_detach_2 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x00000000184446c8 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1349: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f4875 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f1b06 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f93f6 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:20:40.413603 [ 762 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:20:40.414259 [ 762 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:20:40.478860 [ 762 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:20:55.630020 [ 812 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:20:55.630585 [ 812 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:20:55.692250 [ 812 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:21:10.843717 [ 770 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:21:10.844295 [ 770 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:21:10.906102 [ 770 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:21:21.734837 [ 16802 ] {} ExternalDictionaries: Could not update cache dictionary 'dictdb_01076.dict_datarace (c905d72a-ef67-4b9f-9742-1ca3b91dd778)', next update is scheduled at 2024-09-24 02:21:26: Code: 53. DB::Exception: Type mismatch in IN or VALUES section. Expected: UUID. Got: UInt64: While processing key_column IN (2). (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, DB::Field::Types::Which&&) @ 0x000000001d07a34c in /usr/bin/clickhouse 6. /build/src/Interpreters/convertFieldToType.cpp:518: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d06e38a in /usr/bin/clickhouse 7. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d06a6dd in /usr/bin/clickhouse 8. /build/src/Interpreters/convertFieldToType.cpp:582: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x000000001d06e89d in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:117: DB::Block DB::createBlockFromCollection(DB::Array const&, std::vector, std::allocator>> const&, bool) @ 0x000000001bfef88f in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:317: DB::(anonymous namespace)::createBlockForSet(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000001bfe481a in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:427: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x000000001bfe3e3d in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x000000001bfedf0e in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe81a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1173: DB::SelectQueryExpressionAnalyzer::appendPrewhere(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb4497 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1859: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba194 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:21:21.942547 [ 64717 ] {efc95066-ee00-4d35-91f4-90a9c3a71fa5} executeQuery: Code: 510. DB::Exception: Update failed for dictionary 'dictdb_01076.dict_datarace (c905d72a-ef67-4b9f-9742-1ca3b91dd778)': Code: 510. DB::Exception: Update failed for dictionary dictdb_01076.dict_datarace (c905d72a-ef67-4b9f-9742-1ca3b91dd778) : Code: 53. DB::Exception: Type mismatch in IN or VALUES section. Expected: UUID. Got: UInt64: While processing key_column IN (2). (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, DB::Field::Types::Which&&) @ 0x000000001d07a34c in /usr/bin/clickhouse 6. /build/src/Interpreters/convertFieldToType.cpp:518: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d06e38a in /usr/bin/clickhouse 7. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d06a6dd in /usr/bin/clickhouse 8. /build/src/Interpreters/convertFieldToType.cpp:582: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x000000001d06e89d in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:117: DB::Block DB::createBlockFromCollection(DB::Array const&, std::vector, std::allocator>> const&, bool) @ 0x000000001bfef88f in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:317: DB::(anonymous namespace)::createBlockForSet(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000001bfe481a in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:427: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x000000001bfe3e3d in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x000000001bfedf0e in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe81a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1173: DB::SelectQueryExpressionAnalyzer::appendPrewhere(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb4497 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1859: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba194 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)). (CACHE_DICTIONARY_UPDATE_FAIL) (version 23.8.16.41.altinitystable (altinity build)): While processing dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(2)). (CACHE_DICTIONARY_UPDATE_FAIL) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53360) (comment: 01076_cache_dictionary_datarace_exception_ptr.sh) (in query: SELECT dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(2));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:108: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::waitForCurrentUpdateFinish(std::shared_ptr>&) const @ 0x0000000018444afd in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:235: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x000000001842b5d0 in /usr/bin/clickhouse 8. /build/src/Dictionaries/CacheDictionary.cpp:129: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x000000001842ab2c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:635: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) const @ 0x000000000bc5dab8 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:586: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc5b5a5 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsExternalDictionaries.h:744: DB::FunctionDictGetImpl, DB::NameDictGetFloat64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc7c1eb in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 2024.09.24 02:21:21.942963 [ 65026 ] {0ed110d7-0751-4a6b-ad29-aace2f77b30c} executeQuery: Code: 510. DB::Exception: Update failed for dictionary 'dictdb_01076.dict_datarace (c905d72a-ef67-4b9f-9742-1ca3b91dd778)': Code: 510. DB::Exception: Query contains keys that are not present in cache or expired. Could not update cache dictionary dictdb_01076.dict_datarace (c905d72a-ef67-4b9f-9742-1ca3b91dd778) now, because nearest update is scheduled at 2024-09-24 02:21:26. Try again later. (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionary.cpp:688: DB::CacheDictionary<(DB::DictionaryKeyType)0>::update(std::shared_ptr>) @ 0x0000000018431388 in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:64: DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)::operator()(std::shared_ptr>) const @ 0x000000001843ea1d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&>()(std::declval>>())) std::__invoke[abi:v15000]::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x000000001843e9d6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x000000001843e97d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>::operator()[abi:v15000](std::shared_ptr>&&) @ 0x000000001843e93d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker>)>::__call_impl::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>>(std::__function::__policy_storage const*, std::shared_ptr>&&) @ 0x000000001843e8e5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func>)>::operator()[abi:v15000](std::shared_ptr>&&) const @ 0x000000001844be5e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function>)>::operator()(std::shared_ptr>) const @ 0x0000000018444f01 in /usr/bin/clickhouse 14. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:141: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::updateThreadFunction() @ 0x0000000018444d00 in /usr/bin/clickhouse 15. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:39: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()::operator()() const @ 0x0000000018448a98 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>()()) std::__invoke[abi:v15000]::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x0000000018448a75 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x0000000018448a55 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000018448a35 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000184489fd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)): While processing dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(1)). (CACHE_DICTIONARY_UPDATE_FAIL) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53374) (comment: 01076_cache_dictionary_datarace_exception_ptr.sh) (in query: SELECT dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:108: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::waitForCurrentUpdateFinish(std::shared_ptr>&) const @ 0x0000000018444afd in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:235: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x000000001842b5d0 in /usr/bin/clickhouse 8. /build/src/Dictionaries/CacheDictionary.cpp:129: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x000000001842ab2c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:635: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) const @ 0x000000000bc5dab8 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:586: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc5b5a5 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsExternalDictionaries.h:744: DB::FunctionDictGetImpl, DB::NameDictGetFloat64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc7c1eb in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 2024.09.24 02:21:21.945121 [ 64717 ] {efc95066-ee00-4d35-91f4-90a9c3a71fa5} TCPHandler: Code: 510. DB::Exception: Update failed for dictionary 'dictdb_01076.dict_datarace (c905d72a-ef67-4b9f-9742-1ca3b91dd778)': Code: 510. DB::Exception: Update failed for dictionary dictdb_01076.dict_datarace (c905d72a-ef67-4b9f-9742-1ca3b91dd778) : Code: 53. DB::Exception: Type mismatch in IN or VALUES section. Expected: UUID. Got: UInt64: While processing key_column IN (2). (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, DB::Field::Types::Which&&) @ 0x000000001d07a34c in /usr/bin/clickhouse 6. /build/src/Interpreters/convertFieldToType.cpp:518: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d06e38a in /usr/bin/clickhouse 7. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d06a6dd in /usr/bin/clickhouse 8. /build/src/Interpreters/convertFieldToType.cpp:582: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x000000001d06e89d in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:117: DB::Block DB::createBlockFromCollection(DB::Array const&, std::vector, std::allocator>> const&, bool) @ 0x000000001bfef88f in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:317: DB::(anonymous namespace)::createBlockForSet(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000001bfe481a in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:427: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x000000001bfe3e3d in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x000000001bfedf0e in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe81a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1173: DB::SelectQueryExpressionAnalyzer::appendPrewhere(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb4497 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1859: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba194 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab7544 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001cab031e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab1e2 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)). (CACHE_DICTIONARY_UPDATE_FAIL) (version 23.8.16.41.altinitystable (altinity build)): While processing dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(2)). (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:108: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::waitForCurrentUpdateFinish(std::shared_ptr>&) const @ 0x0000000018444afd in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:235: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x000000001842b5d0 in /usr/bin/clickhouse 8. /build/src/Dictionaries/CacheDictionary.cpp:129: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x000000001842ab2c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:635: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) const @ 0x000000000bc5dab8 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:586: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc5b5a5 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsExternalDictionaries.h:744: DB::FunctionDictGetImpl, DB::NameDictGetFloat64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc7c1eb in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 2024.09.24 02:21:21.945526 [ 65026 ] {0ed110d7-0751-4a6b-ad29-aace2f77b30c} TCPHandler: Code: 510. DB::Exception: Update failed for dictionary 'dictdb_01076.dict_datarace (c905d72a-ef67-4b9f-9742-1ca3b91dd778)': Code: 510. DB::Exception: Query contains keys that are not present in cache or expired. Could not update cache dictionary dictdb_01076.dict_datarace (c905d72a-ef67-4b9f-9742-1ca3b91dd778) now, because nearest update is scheduled at 2024-09-24 02:21:26. Try again later. (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionary.cpp:688: DB::CacheDictionary<(DB::DictionaryKeyType)0>::update(std::shared_ptr>) @ 0x0000000018431388 in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:64: DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)::operator()(std::shared_ptr>) const @ 0x000000001843ea1d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&>()(std::declval>>())) std::__invoke[abi:v15000]::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x000000001843e9d6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x000000001843e97d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>::operator()[abi:v15000](std::shared_ptr>&&) @ 0x000000001843e93d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker>)>::__call_impl::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>>(std::__function::__policy_storage const*, std::shared_ptr>&&) @ 0x000000001843e8e5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func>)>::operator()[abi:v15000](std::shared_ptr>&&) const @ 0x000000001844be5e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function>)>::operator()(std::shared_ptr>) const @ 0x0000000018444f01 in /usr/bin/clickhouse 14. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:141: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::updateThreadFunction() @ 0x0000000018444d00 in /usr/bin/clickhouse 15. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:39: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()::operator()() const @ 0x0000000018448a98 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>()()) std::__invoke[abi:v15000]::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x0000000018448a75 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x0000000018448a55 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000018448a35 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000184489fd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)): While processing dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(1)). (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:108: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::waitForCurrentUpdateFinish(std::shared_ptr>&) const @ 0x0000000018444afd in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:235: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x000000001842b5d0 in /usr/bin/clickhouse 8. /build/src/Dictionaries/CacheDictionary.cpp:129: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x000000001842ab2c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:635: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) const @ 0x000000000bc5dab8 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:586: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc5b5a5 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsExternalDictionaries.h:744: DB::FunctionDictGetImpl, DB::NameDictGetFloat64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc7c1eb in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 2024.09.24 02:21:23.800930 [ 64717 ] {e53020c0-6d32-4c55-9a5f-6e5e58280880} executeQuery: Code: 510. DB::Exception: Update failed for dictionary 'dictdb_01076.dict_datarace (c905d72a-ef67-4b9f-9742-1ca3b91dd778)': Code: 510. DB::Exception: Query contains keys that are not present in cache or expired. Could not update cache dictionary dictdb_01076.dict_datarace (c905d72a-ef67-4b9f-9742-1ca3b91dd778) now, because nearest update is scheduled at 2024-09-24 02:21:26. Try again later. (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionary.cpp:688: DB::CacheDictionary<(DB::DictionaryKeyType)0>::update(std::shared_ptr>) @ 0x0000000018431388 in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:64: DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)::operator()(std::shared_ptr>) const @ 0x000000001843ea1d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&>()(std::declval>>())) std::__invoke[abi:v15000]::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x000000001843e9d6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x000000001843e97d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>::operator()[abi:v15000](std::shared_ptr>&&) @ 0x000000001843e93d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker>)>::__call_impl::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>>(std::__function::__policy_storage const*, std::shared_ptr>&&) @ 0x000000001843e8e5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func>)>::operator()[abi:v15000](std::shared_ptr>&&) const @ 0x000000001844be5e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function>)>::operator()(std::shared_ptr>) const @ 0x0000000018444f01 in /usr/bin/clickhouse 14. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:141: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::updateThreadFunction() @ 0x0000000018444d00 in /usr/bin/clickhouse 15. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:39: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()::operator()() const @ 0x0000000018448a98 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>()()) std::__invoke[abi:v15000]::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x0000000018448a75 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x0000000018448a55 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000018448a35 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000184489fd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)): While processing dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(2)). (CACHE_DICTIONARY_UPDATE_FAIL) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53380) (comment: 01076_cache_dictionary_datarace_exception_ptr.sh) (in query: SELECT dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(2));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:108: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::waitForCurrentUpdateFinish(std::shared_ptr>&) const @ 0x0000000018444afd in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:235: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x000000001842b5d0 in /usr/bin/clickhouse 8. /build/src/Dictionaries/CacheDictionary.cpp:129: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x000000001842ab2c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:635: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) const @ 0x000000000bc5dab8 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:586: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc5b5a5 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsExternalDictionaries.h:744: DB::FunctionDictGetImpl, DB::NameDictGetFloat64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc7c1eb in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 2024.09.24 02:21:23.803580 [ 64717 ] {e53020c0-6d32-4c55-9a5f-6e5e58280880} TCPHandler: Code: 510. DB::Exception: Update failed for dictionary 'dictdb_01076.dict_datarace (c905d72a-ef67-4b9f-9742-1ca3b91dd778)': Code: 510. DB::Exception: Query contains keys that are not present in cache or expired. Could not update cache dictionary dictdb_01076.dict_datarace (c905d72a-ef67-4b9f-9742-1ca3b91dd778) now, because nearest update is scheduled at 2024-09-24 02:21:26. Try again later. (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionary.cpp:688: DB::CacheDictionary<(DB::DictionaryKeyType)0>::update(std::shared_ptr>) @ 0x0000000018431388 in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:64: DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)::operator()(std::shared_ptr>) const @ 0x000000001843ea1d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&>()(std::declval>>())) std::__invoke[abi:v15000]::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x000000001843e9d6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x000000001843e97d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>::operator()[abi:v15000](std::shared_ptr>&&) @ 0x000000001843e93d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker>)>::__call_impl::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>>(std::__function::__policy_storage const*, std::shared_ptr>&&) @ 0x000000001843e8e5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func>)>::operator()[abi:v15000](std::shared_ptr>&&) const @ 0x000000001844be5e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function>)>::operator()(std::shared_ptr>) const @ 0x0000000018444f01 in /usr/bin/clickhouse 14. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:141: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::updateThreadFunction() @ 0x0000000018444d00 in /usr/bin/clickhouse 15. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:39: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()::operator()() const @ 0x0000000018448a98 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>()()) std::__invoke[abi:v15000]::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x0000000018448a75 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x0000000018448a55 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000018448a35 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000184489fd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)): While processing dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(2)). (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:108: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::waitForCurrentUpdateFinish(std::shared_ptr>&) const @ 0x0000000018444afd in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:235: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x000000001842b5d0 in /usr/bin/clickhouse 8. /build/src/Dictionaries/CacheDictionary.cpp:129: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x000000001842ab2c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:635: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) const @ 0x000000000bc5dab8 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:586: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc5b5a5 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsExternalDictionaries.h:744: DB::FunctionDictGetImpl, DB::NameDictGetFloat64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc7c1eb in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 2024.09.24 02:21:23.811150 [ 65026 ] {ce5baccc-0252-491c-b54d-aee839d94089} executeQuery: Code: 510. DB::Exception: Update failed for dictionary 'dictdb_01076.dict_datarace (c905d72a-ef67-4b9f-9742-1ca3b91dd778)': Code: 510. DB::Exception: Query contains keys that are not present in cache or expired. Could not update cache dictionary dictdb_01076.dict_datarace (c905d72a-ef67-4b9f-9742-1ca3b91dd778) now, because nearest update is scheduled at 2024-09-24 02:21:26. Try again later. (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionary.cpp:688: DB::CacheDictionary<(DB::DictionaryKeyType)0>::update(std::shared_ptr>) @ 0x0000000018431388 in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:64: DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)::operator()(std::shared_ptr>) const @ 0x000000001843ea1d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&>()(std::declval>>())) std::__invoke[abi:v15000]::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x000000001843e9d6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x000000001843e97d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>::operator()[abi:v15000](std::shared_ptr>&&) @ 0x000000001843e93d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker>)>::__call_impl::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>>(std::__function::__policy_storage const*, std::shared_ptr>&&) @ 0x000000001843e8e5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func>)>::operator()[abi:v15000](std::shared_ptr>&&) const @ 0x000000001844be5e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function>)>::operator()(std::shared_ptr>) const @ 0x0000000018444f01 in /usr/bin/clickhouse 14. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:141: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::updateThreadFunction() @ 0x0000000018444d00 in /usr/bin/clickhouse 15. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:39: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()::operator()() const @ 0x0000000018448a98 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>()()) std::__invoke[abi:v15000]::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x0000000018448a75 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x0000000018448a55 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000018448a35 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000184489fd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)): While processing dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(1)). (CACHE_DICTIONARY_UPDATE_FAIL) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53394) (comment: 01076_cache_dictionary_datarace_exception_ptr.sh) (in query: SELECT dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:108: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::waitForCurrentUpdateFinish(std::shared_ptr>&) const @ 0x0000000018444afd in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:235: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x000000001842b5d0 in /usr/bin/clickhouse 8. /build/src/Dictionaries/CacheDictionary.cpp:129: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x000000001842ab2c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:635: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) const @ 0x000000000bc5dab8 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:586: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc5b5a5 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsExternalDictionaries.h:744: DB::FunctionDictGetImpl, DB::NameDictGetFloat64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc7c1eb in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 2024.09.24 02:21:23.813836 [ 65026 ] {ce5baccc-0252-491c-b54d-aee839d94089} TCPHandler: Code: 510. DB::Exception: Update failed for dictionary 'dictdb_01076.dict_datarace (c905d72a-ef67-4b9f-9742-1ca3b91dd778)': Code: 510. DB::Exception: Query contains keys that are not present in cache or expired. Could not update cache dictionary dictdb_01076.dict_datarace (c905d72a-ef67-4b9f-9742-1ca3b91dd778) now, because nearest update is scheduled at 2024-09-24 02:21:26. Try again later. (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionary.cpp:688: DB::CacheDictionary<(DB::DictionaryKeyType)0>::update(std::shared_ptr>) @ 0x0000000018431388 in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:64: DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)::operator()(std::shared_ptr>) const @ 0x000000001843ea1d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&>()(std::declval>>())) std::__invoke[abi:v15000]::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x000000001843e9d6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x000000001843e97d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>::operator()[abi:v15000](std::shared_ptr>&&) @ 0x000000001843e93d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker>)>::__call_impl::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>>(std::__function::__policy_storage const*, std::shared_ptr>&&) @ 0x000000001843e8e5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func>)>::operator()[abi:v15000](std::shared_ptr>&&) const @ 0x000000001844be5e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function>)>::operator()(std::shared_ptr>) const @ 0x0000000018444f01 in /usr/bin/clickhouse 14. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:141: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::updateThreadFunction() @ 0x0000000018444d00 in /usr/bin/clickhouse 15. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:39: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()::operator()() const @ 0x0000000018448a98 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>()()) std::__invoke[abi:v15000]::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x0000000018448a75 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x0000000018448a55 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000018448a35 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000184489fd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a67120 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)): While processing dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(1)). (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15ad4c in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:108: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::waitForCurrentUpdateFinish(std::shared_ptr>&) const @ 0x0000000018444afd in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:235: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x000000001842b5d0 in /usr/bin/clickhouse 8. /build/src/Dictionaries/CacheDictionary.cpp:129: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x000000001842ab2c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:635: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) const @ 0x000000000bc5dab8 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:586: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc5b5a5 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsExternalDictionaries.h:744: DB::FunctionDictGetImpl, DB::NameDictGetFloat64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc7c1eb in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1992d9 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b197a8d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed706 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed283 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed5e3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abee7e6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abef6f5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc85b78 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc856f3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe6156 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff22fd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfeb78f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe662d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfebf97 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6699 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdc8e0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdcac1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdc86a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbff05 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfad15d in /usr/bin/clickhouse 2024.09.24 02:21:26.064662 [ 807 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:21:26.065231 [ 807 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:21:26.127552 [ 807 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:21:40.653724 [ 64717 ] {dc0cd181-dc4d-4a33-ac60-b4a37e77ccd1} executeQuery: Code: 60. DB::Exception: Table memory_01069.mt does not exist. (UNKNOWN_TABLE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:57756) (comment: 01069_database_memory.sql) (in query: SELECT * FROM memory_01069.mt ORDER BY n;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53612 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc20756 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:21:40.654534 [ 64717 ] {dc0cd181-dc4d-4a33-ac60-b4a37e77ccd1} TCPHandler: Code: 60. DB::Exception: Table memory_01069.mt does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53612 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc20756 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 26. ? @ 0x00007f1d281b3ac3 in ? 27. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:21:40.799559 [ 64717 ] {8b5d6106-6d53-4e09-9e2e-7eb676e016e1} executeQuery: Code: 60. DB::Exception: There is no metadata of table mt in database memory_01069. (UNKNOWN_TABLE) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:57756) (comment: 01069_database_memory.sql) (in query: SHOW CREATE TABLE memory_01069.mt;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x000000000ba1deec in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseMemory.cpp:121: DB::DatabaseMemory::getCreateTableQueryImpl(String const&, std::shared_ptr, bool) const @ 0x000000001babea9c in /usr/bin/clickhouse 7. /build/src/Databases/IDatabase.h:275: DB::IDatabase::getCreateTableQuery(String const&, std::shared_ptr) const @ 0x000000001b331277 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterShowCreateQuery.cpp:61: DB::InterpreterShowCreateQuery::executeImpl() @ 0x000000001cbd1e76 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterShowCreateQuery.cpp:29: DB::InterpreterShowCreateQuery::execute() @ 0x000000001cbd196b in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:21:40.800369 [ 64717 ] {8b5d6106-6d53-4e09-9e2e-7eb676e016e1} TCPHandler: Code: 60. DB::Exception: There is no metadata of table mt in database memory_01069. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x000000000ba1deec in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseMemory.cpp:121: DB::DatabaseMemory::getCreateTableQueryImpl(String const&, std::shared_ptr, bool) const @ 0x000000001babea9c in /usr/bin/clickhouse 7. /build/src/Databases/IDatabase.h:275: DB::IDatabase::getCreateTableQuery(String const&, std::shared_ptr) const @ 0x000000001b331277 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterShowCreateQuery.cpp:61: DB::InterpreterShowCreateQuery::executeImpl() @ 0x000000001cbd1e76 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterShowCreateQuery.cpp:29: DB::InterpreterShowCreateQuery::execute() @ 0x000000001cbd196b in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:21:41.295838 [ 781 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:21:41.296449 [ 781 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:21:41.360437 [ 781 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:21:56.022355 [ 64717 ] {375d4f07-354b-428c-9cff-f8943c0d085b} test_l8gnggyf.mt_compact (790fab22-4dc8-4540-8bb4-2039f445e4ac): Table can't create parts with adaptive granularity, but settings min_rows_for_wide_part = 0, min_bytes_for_wide_part = 10485760. Parts with non-adaptive granularity can be stored only in Wide (default) format. Settings 'min_rows_for_wide_part'and 'min_bytes_for_wide_part' will be ignored. 2024.09.24 02:21:56.135290 [ 64717 ] {f54da740-7156-430b-b50b-83b6af5cb272} executeQuery: Code: 48. DB::Exception: Can't change settings. Reason: Table can't create parts with adaptive granularity, but settings min_rows_for_wide_part = 1000, min_bytes_for_wide_part = 10485760. Parts with non-adaptive granularity can be stored only in Wide (default) format. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56104) (comment: 01055_compact_parts_1.sql) (in query: alter table mt_compact modify setting min_rows_for_wide_part = 1000;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3442: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de92608 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:21:56.136000 [ 64717 ] {f54da740-7156-430b-b50b-83b6af5cb272} TCPHandler: Code: 48. DB::Exception: Can't change settings. Reason: Table can't create parts with adaptive granularity, but settings min_rows_for_wide_part = 1000, min_bytes_for_wide_part = 10485760. Parts with non-adaptive granularity can be stored only in Wide (default) format. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3442: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de92608 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d64bf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:21:56.518184 [ 64717 ] {a68b4531-5b1c-4e54-ba5f-ae21df572430} executeQuery: Code: 36. DB::Exception: Cannot replace partition '1' because part '1_1_1_0' has inconsistent granularity with table. (BAD_ARGUMENTS) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:56104) (comment: 01055_compact_parts_1.sql) (in query: alter table mt_compact attach partition 1 from mt_compact_2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String const&) @ 0x0000000013a3ddac in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2029: DB::StorageMergeTree::replacePartitionFrom(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001e37e080 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5212: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deae39a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:21:56.518608 [ 805 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:21:56.519014 [ 64717 ] {a68b4531-5b1c-4e54-ba5f-ae21df572430} TCPHandler: Code: 36. DB::Exception: Cannot replace partition '1' because part '1_1_1_0' has inconsistent granularity with table. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String const&) @ 0x0000000013a3ddac in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2029: DB::StorageMergeTree::replacePartitionFrom(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001e37e080 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5212: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deae39a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d61ac in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d3c48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:21:56.519280 [ 805 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:21:56.565488 [ 64717 ] {2fbb314b-13ff-4cb5-a556-4a04cb2e2b4d} test_l8gnggyf.mt_compact (94999e08-9fe5-40b2-9a49-d8d11ff56c79): Table can't create parts with adaptive granularity, but settings min_rows_for_wide_part = 1000, min_bytes_for_wide_part = 10485760. Parts with non-adaptive granularity can be stored only in Wide (default) format. Settings 'min_rows_for_wide_part'and 'min_bytes_for_wide_part' will be ignored. 2024.09.24 02:21:56.591211 [ 805 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:22:11.749403 [ 807 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:22:11.750057 [ 807 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:22:11.812285 [ 807 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:22:26.977843 [ 768 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:22:26.978535 [ 768 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:22:27.067430 [ 768 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:22:42.238531 [ 813 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:22:42.238960 [ 813 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:22:42.299666 [ 813 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:22:45.160585 [ 64717 ] {b5bd95c8-4a8b-4a61-8830-54eb45448ebf} executeQuery: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f1acbba9000, frame address: 0x7f1acbfa8df0, stack size: 4194832, maximum stack size: 8388608: while getting table iterator of Merge table. Maybe caused by two Merge tables that will endlessly try to read each other's data. (TOO_DEEP_RECURSION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58946) (comment: 00985_merge_stack_overflow.sql) (in query: SELECT * FROM merge1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x0000000013965e64 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:121: checkStackSize() @ 0x00000000139659dc in /usr/bin/clickhouse 7. /build/src/Storages/StorageMerge.cpp:1040: DB::StorageMerge::getDatabaseIterators(std::shared_ptr) const @ 0x000000001d752dbc in /usr/bin/clickhouse 8. /build/src/Storages/StorageMerge.cpp:140: std::shared_ptr DB::StorageMerge::getFirstTable(DB::StorageMerge::getVirtuals() const::$_0&&) const @ 0x000000001d75c1aa in /usr/bin/clickhouse 9. /build/src/Storages/StorageMerge.cpp:1244: DB::StorageMerge::getVirtuals() const @ 0x000000001d75bda8 in /usr/bin/clickhouse 10. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 11. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 13. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 14. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 15. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 16. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 17. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 18. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 19. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 20. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 21. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 22. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 23. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 24. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 25. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 26. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 27. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 28. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 29. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 30. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 31. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 2024.09.24 02:22:45.161475 [ 64717 ] {b5bd95c8-4a8b-4a61-8830-54eb45448ebf} TCPHandler: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f1acbba9000, frame address: 0x7f1acbfa8df0, stack size: 4194832, maximum stack size: 8388608: while getting table iterator of Merge table. Maybe caused by two Merge tables that will endlessly try to read each other's data. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x0000000013965e64 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:121: checkStackSize() @ 0x00000000139659dc in /usr/bin/clickhouse 7. /build/src/Storages/StorageMerge.cpp:1040: DB::StorageMerge::getDatabaseIterators(std::shared_ptr) const @ 0x000000001d752dbc in /usr/bin/clickhouse 8. /build/src/Storages/StorageMerge.cpp:140: std::shared_ptr DB::StorageMerge::getFirstTable(DB::StorageMerge::getVirtuals() const::$_0&&) const @ 0x000000001d75c1aa in /usr/bin/clickhouse 9. /build/src/Storages/StorageMerge.cpp:1244: DB::StorageMerge::getVirtuals() const @ 0x000000001d75bda8 in /usr/bin/clickhouse 10. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 11. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 13. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 14. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 15. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 16. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 17. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 18. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 19. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 20. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 21. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 22. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 23. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 24. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 25. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 26. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 27. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 28. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 29. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 30. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 31. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 2024.09.24 02:22:45.577618 [ 64717 ] {1d4434c0-9a1f-4d3e-b4b9-71e264e7cc9d} executeQuery: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f1acbba9000, frame address: 0x7f1acbfa8df0, stack size: 4194832, maximum stack size: 8388608: while getting table iterator of Merge table. Maybe caused by two Merge tables that will endlessly try to read each other's data. (TOO_DEEP_RECURSION) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:58946) (comment: 00985_merge_stack_overflow.sql) (in query: SELECT * FROM merge2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x0000000013965e64 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:121: checkStackSize() @ 0x00000000139659dc in /usr/bin/clickhouse 7. /build/src/Storages/StorageMerge.cpp:1040: DB::StorageMerge::getDatabaseIterators(std::shared_ptr) const @ 0x000000001d752dbc in /usr/bin/clickhouse 8. /build/src/Storages/StorageMerge.cpp:140: std::shared_ptr DB::StorageMerge::getFirstTable(DB::StorageMerge::getVirtuals() const::$_0&&) const @ 0x000000001d75c1aa in /usr/bin/clickhouse 9. /build/src/Storages/StorageMerge.cpp:1244: DB::StorageMerge::getVirtuals() const @ 0x000000001d75bda8 in /usr/bin/clickhouse 10. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 11. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 13. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 14. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 15. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 16. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 17. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 18. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 19. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 20. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 21. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 22. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 23. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 24. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 25. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 26. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 27. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 28. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 29. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 30. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 31. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 2024.09.24 02:22:45.578663 [ 64717 ] {1d4434c0-9a1f-4d3e-b4b9-71e264e7cc9d} TCPHandler: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f1acbba9000, frame address: 0x7f1acbfa8df0, stack size: 4194832, maximum stack size: 8388608: while getting table iterator of Merge table. Maybe caused by two Merge tables that will endlessly try to read each other's data. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x0000000013965e64 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:121: checkStackSize() @ 0x00000000139659dc in /usr/bin/clickhouse 7. /build/src/Storages/StorageMerge.cpp:1040: DB::StorageMerge::getDatabaseIterators(std::shared_ptr) const @ 0x000000001d752dbc in /usr/bin/clickhouse 8. /build/src/Storages/StorageMerge.cpp:140: std::shared_ptr DB::StorageMerge::getFirstTable(DB::StorageMerge::getVirtuals() const::$_0&&) const @ 0x000000001d75c1aa in /usr/bin/clickhouse 9. /build/src/Storages/StorageMerge.cpp:1244: DB::StorageMerge::getVirtuals() const @ 0x000000001d75bda8 in /usr/bin/clickhouse 10. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 11. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 13. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 14. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 15. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 16. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 17. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 18. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 19. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 20. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 21. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 22. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 23. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 24. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 25. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 26. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 27. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 28. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 29. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 30. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 31. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75be12 in /usr/bin/clickhouse 2024.09.24 02:22:57.455831 [ 731 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:22:57.456341 [ 731 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:22:57.542901 [ 731 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:23:12.698533 [ 807 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:23:12.699241 [ 807 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:23:12.772107 [ 807 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:23:27.923950 [ 784 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:23:27.924762 [ 784 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:23:27.999271 [ 784 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:23:43.162956 [ 821 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:23:43.163478 [ 821 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:23:43.224709 [ 821 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:23:58.385856 [ 753 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:23:58.386501 [ 753 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:23:58.476299 [ 753 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:24:13.650865 [ 810 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:24:13.651514 [ 810 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:24:13.724696 [ 810 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:24:28.885775 [ 749 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:24:28.886371 [ 749 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:24:28.975656 [ 749 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:24:44.132083 [ 809 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:24:44.132834 [ 809 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:24:44.210298 [ 809 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:24:59.370367 [ 734 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:24:59.370902 [ 734 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:24:59.443968 [ 734 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:25:14.601650 [ 761 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:25:14.602220 [ 761 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:25:14.664056 [ 761 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:25:29.817432 [ 801 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:25:29.818097 [ 801 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:25:29.896411 [ 801 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:25:45.061985 [ 801 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:25:45.062598 [ 801 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:25:45.136157 [ 801 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:25:51.071989 [ 65026 ] {14e65194-4ebc-44e0-aa04-2e1ae6371f65} executeQuery: Code: 48. DB::Exception: Truncate is not supported by storage View. (NOT_IMPLEMENTED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:36276) (comment: 00623_truncate_table_throw_exception.sh) (in query: TRUNCATE TABLE test_truncate.test_view;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/IStorage.h:452: DB::IStorage::truncate(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, DB::TableExclusiveLockHolder&) @ 0x000000001a9fac6c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterDropQuery.cpp:221: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001c8b69a4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001c8b4db4 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x000000001c8b462e in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:25:51.073501 [ 65026 ] {14e65194-4ebc-44e0-aa04-2e1ae6371f65} TCPHandler: Code: 48. DB::Exception: Truncate is not supported by storage View. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b1952d3 in /usr/bin/clickhouse 6. /build/src/Storages/IStorage.h:452: DB::IStorage::truncate(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, DB::TableExclusiveLockHolder&) @ 0x000000001a9fac6c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterDropQuery.cpp:221: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001c8b69a4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001c8b4db4 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x000000001c8b462e in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b0e97 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0ac1a4 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e64374d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e655d65 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 19. ? @ 0x00007f1d281b3ac3 in ? 20. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:25:59.942258 [ 43330 ] {} DynamicQueryHandler: Code: 372. DB::Exception: Session nonexistent not found. (SESSION_NOT_FOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Interpreters/Session.cpp:112: DB::NamedSessionsStorage::acquireSession(std::shared_ptr const&, StrongTypedef, DB::UUIDTag> const&, String const&, std::chrono::duration>, bool) @ 0x000000001cdfea75 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:548: DB::Session::makeSessionContext(String const&, std::chrono::duration>, bool) @ 0x000000001cdfc312 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:558: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5beaf2 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 10. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 16. ? @ 0x00007f1d281b3ac3 in ? 17. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:26:00.096551 [ 43330 ] {} DynamicQueryHandler: Code: 374. DB::Exception: Invalid session timeout: 'string'. (INVALID_SESSION_TIMEOUT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Server/HTTPHandler.cpp:268: DB::parseSessionTimeout(Poco::Util::AbstractConfiguration const&, DB::HTMLForm const&) @ 0x000000001e5c1861 in /usr/bin/clickhouse 7. /build/src/Server/HTTPHandler.cpp:556: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5be9dc in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 9. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:26:00.200026 [ 43330 ] {} DynamicQueryHandler: Code: 374. DB::Exception: Session timeout '3601' is larger than max_session_timeout: 3600. Maximum session timeout could be modified in configuration file. (INVALID_SESSION_TIMEOUT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, unsigned int&) @ 0x000000001e5cffec in /usr/bin/clickhouse 6. /build/src/Server/HTTPHandler.cpp:271: DB::parseSessionTimeout(Poco::Util::AbstractConfiguration const&, DB::HTMLForm const&) @ 0x000000001e5c19a4 in /usr/bin/clickhouse 7. /build/src/Server/HTTPHandler.cpp:556: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5be9dc in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 9. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:26:00.211176 [ 43330 ] {} DynamicQueryHandler: Code: 374. DB::Exception: Invalid session timeout: '-1'. (INVALID_SESSION_TIMEOUT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90da93 in /usr/bin/clickhouse 6. /build/src/Server/HTTPHandler.cpp:268: DB::parseSessionTimeout(Poco::Util::AbstractConfiguration const&, DB::HTMLForm const&) @ 0x000000001e5c1861 in /usr/bin/clickhouse 7. /build/src/Server/HTTPHandler.cpp:556: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5be9dc in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 9. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 15. ? @ 0x00007f1d281b3ac3 in ? 16. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:26:00.275517 [ 824 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:26:00.276025 [ 824 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:26:00.355083 [ 824 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:26:02.071154 [ 43330 ] {} DynamicQueryHandler: Code: 372. DB::Exception: Session test_7jeyt3rq_6 not found. (SESSION_NOT_FOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Interpreters/Session.cpp:112: DB::NamedSessionsStorage::acquireSession(std::shared_ptr const&, StrongTypedef, DB::UUIDTag> const&, String const&, std::chrono::duration>, bool) @ 0x000000001cdfea75 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:548: DB::Session::makeSessionContext(String const&, std::chrono::duration>, bool) @ 0x000000001cdfc312 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:558: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5beaf2 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 10. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 16. ? @ 0x00007f1d281b3ac3 in ? 17. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:26:03.753269 [ 43330 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: test_00463: Authentication failed: Code: 192. DB::Exception: There is no user `test_00463` in local_directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f7bec in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:682: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x000000001b0f62f9 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f93fd in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f91af in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b183f89 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x000000001b0f90fa in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb30cc in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf9049 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bdb5f in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5be87b in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 22. ? @ 0x00007f1d281b3ac3 in ? 23. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:26:03.754207 [ 43330 ] {} DynamicQueryHandler: Code: 516. DB::Exception: test_00463: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b218fa9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb34a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf9049 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bdb5f in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5be87b in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 17. ? @ 0x00007f1d281b3ac3 in ? 18. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:26:03.768533 [ 43330 ] {d67aec33-dca2-43bd-b257-c37e320082d8} executeQuery: Code: 60. DB::Exception: Table test_7jeyt3rq.t does not exist. (UNKNOWN_TABLE) (version 23.8.16.41.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:35056) (comment: 00463_long_sessions_in_http_interface.sh) (in query: SELECT * FROM t), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53612 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc20756 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 20. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 21. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:26:03.769944 [ 43330 ] {d67aec33-dca2-43bd-b257-c37e320082d8} DynamicQueryHandler: Code: 60. DB::Exception: Table test_7jeyt3rq.t does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b19a40c in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb53612 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bee0f33 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee6043 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc20756 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa7a14 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa6f26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbce5e1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbcc0a9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbcb525 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca5a7b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca585a8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0b04fd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2a88 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 20. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 21. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 27. ? @ 0x00007f1d281b3ac3 in ? 28. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:26:06.826645 [ 43330 ] {} DynamicQueryHandler: Code: 372. DB::Exception: Session test_7jeyt3rq_7 not found. (SESSION_NOT_FOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Interpreters/Session.cpp:112: DB::NamedSessionsStorage::acquireSession(std::shared_ptr const&, StrongTypedef, DB::UUIDTag> const&, String const&, std::chrono::duration>, bool) @ 0x000000001cdfea75 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:548: DB::Session::makeSessionContext(String const&, std::chrono::duration>, bool) @ 0x000000001cdfc312 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:558: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5beaf2 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 10. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 16. ? @ 0x00007f1d281b3ac3 in ? 17. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:26:15.469186 [ 65026 ] {} DynamicQueryHandler: Code: 373. DB::Exception: Session test_7jeyt3rq_9 is locked by a concurrent client. (SESSION_IS_LOCKED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90df53 in /usr/bin/clickhouse 6. /build/src/Interpreters/Session.cpp:134: DB::NamedSessionsStorage::acquireSession(std::shared_ptr const&, StrongTypedef, DB::UUIDTag> const&, String const&, std::chrono::duration>, bool) @ 0x000000001cdff898 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:548: DB::Session::makeSessionContext(String const&, std::chrono::duration>, bool) @ 0x000000001cdfc312 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:558: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5beaf2 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 10. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 16. ? @ 0x00007f1d281b3ac3 in ? 17. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:26:15.516676 [ 753 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:26:15.517223 [ 753 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:26:15.577252 [ 753 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:26:17.066043 [ 43330 ] {test_7jeyt3rq_9} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.16.41.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:46730) (comment: 00463_long_sessions_in_http_interface.sh) (in query: SELECT count() FROM system.numbers), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f983e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x000000001ccaa25b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6d0a80 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6d115c in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d09f6 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ce1c8 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b3ee0 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:26:17.073054 [ 43330 ] {test_7jeyt3rq_9} DynamicQueryHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f983e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x000000001ccaa25b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6d0a80 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6d115c in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d09f6 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ce1c8 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b3ee0 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:26:30.733653 [ 805 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:26:30.735190 [ 805 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:26:30.809967 [ 805 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:26:45.987116 [ 725 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:26:45.987634 [ 725 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:26:46.066122 [ 725 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:26:57.549090 [ 43330 ] {a69645b4-8f4a-493b-9a9a-99a40cdec7cc} executeQuery: Code: 24. DB::Exception: Cannot write to ostream at offset 5403: While executing TabSeparatedRowOutputFormat. (CANNOT_WRITE_TO_OSTREAM) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:43404) (in query: SELECT message_format_string, count(), any(message) AS any_message FROM system.text_log WHERE (now() - toIntervalMinute(240)) < event_time AND (message NOT LIKE (replaceRegexpAll(message_format_string, '{[:.0-9dfx]*}', '%') AS s)) AND (message NOT LIKE concat('%Exception: ', s, '%')) GROUP BY message_format_string ORDER BY count() DESC LIMIT 20 FORMAT TSVWithNamesAndTypes ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000d91e133 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromOStream.cpp:22: DB::WriteBufferFromOStream::nextImpl() @ 0x0000000013b6244f in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b204acd in /usr/bin/clickhouse 8. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:132: DB::WriteBufferFromHTTPServerResponse::nextImpl() @ 0x000000001e66dbdf in /usr/bin/clickhouse 9. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b204acd in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IOutputFormat.cpp:111: DB::IOutputFormat::flush() @ 0x000000001e7013bc in /usr/bin/clickhouse 11. /build/src/Processors/Formats/IOutputFormat.cpp:0: DB::IOutputFormat::work() @ 0x000000001e701134 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 2024.09.24 02:26:57.591195 [ 43330 ] {a69645b4-8f4a-493b-9a9a-99a40cdec7cc} DynamicQueryHandler: Code: 24. DB::Exception: Cannot write to ostream at offset 5403: While executing TabSeparatedRowOutputFormat. (CANNOT_WRITE_TO_OSTREAM), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000d91e133 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromOStream.cpp:22: DB::WriteBufferFromOStream::nextImpl() @ 0x0000000013b6244f in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b204acd in /usr/bin/clickhouse 8. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:132: DB::WriteBufferFromHTTPServerResponse::nextImpl() @ 0x000000001e66dbdf in /usr/bin/clickhouse 9. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b204acd in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IOutputFormat.cpp:111: DB::IOutputFormat::flush() @ 0x000000001e7013bc in /usr/bin/clickhouse 11. /build/src/Processors/Formats/IOutputFormat.cpp:0: DB::IOutputFormat::work() @ 0x000000001e701134 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:26:57.671278 [ 43330 ] {a69645b4-8f4a-493b-9a9a-99a40cdec7cc} DynamicQueryHandler: Cannot send exception to client: Code: 24. DB::Exception: Cannot write to ostream at offset 5592. (CANNOT_WRITE_TO_OSTREAM), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000d91e133 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromOStream.cpp:22: DB::WriteBufferFromOStream::nextImpl() @ 0x0000000013b6244f in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b204acd in /usr/bin/clickhouse 8. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:132: DB::WriteBufferFromHTTPServerResponse::nextImpl() @ 0x000000001e66dbdf in /usr/bin/clickhouse 9. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b204acd in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:950: DB::HTTPHandler::trySendExceptionToClient(String const&, int, DB::HTTPServerRequest&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&) @ 0x000000001e5c25ee in /usr/bin/clickhouse 11. /build/src/Server/HTTPHandler.cpp:1088: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c4b75 in /usr/bin/clickhouse 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:26:57.888739 [ 43330 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(String const&, int) @ 0x00000000249623a7 in /usr/bin/clickhouse 4. /build/base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x00000000249664e7 in /usr/bin/clickhouse 5. /build/base/poco/Net/src/SocketImpl.cpp:1008: Poco::Net::SocketImpl::error(int, String const&) @ 0x000000002477d04d in /usr/bin/clickhouse 6. /build/base/poco/Net/src/SocketImpl.cpp:927: Poco::Net::SocketImpl::error(int) @ 0x000000002477d6e4 in /usr/bin/clickhouse 7. /build/base/poco/Net/src/SocketImpl.cpp:0: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x000000002477e2d2 in /usr/bin/clickhouse 8. /build/base/poco/Net/src/StreamSocketImpl.cpp:63: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x0000000024785f7e in /usr/bin/clickhouse 9. /build/base/poco/Net/src/StreamSocket.cpp:114: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x0000000024781dd2 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/HTTPSession.cpp:144: Poco::Net::HTTPSession::write(char const*, long) @ 0x000000002475c84e in /usr/bin/clickhouse 11. /build/base/poco/Net/src/HTTPChunkedStream.cpp:146: Poco::Net::HTTPChunkedStreamBuf::writeToDevice(char const*, long) @ 0x0000000024746bf4 in /usr/bin/clickhouse 12. /build/base/poco/Foundation/include/Poco/BufferedStreamBuf.h:130: Poco::BasicBufferedStreamBuf, Poco::BufferAllocator>::flushBuffer() @ 0x00000000245fe8cd in /usr/bin/clickhouse 13. /build/base/poco/Foundation/include/Poco/BufferedStreamBuf.h:111: Poco::BasicBufferedStreamBuf, Poco::BufferAllocator>::sync() @ 0x00000000245fe4d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/HTTPChunkedStream.cpp:54: Poco::Net::HTTPChunkedStreamBuf::close() @ 0x00000000247463b3 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/HTTPChunkedStream.cpp:166: Poco::Net::HTTPChunkedIOS::~HTTPChunkedIOS() @ 0x0000000024746d9a in /usr/bin/clickhouse 16. /build/base/poco/Net/src/HTTPChunkedStream.cpp:208: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x0000000024747481 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/HTTPChunkedStream.cpp:207: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x00000000247474c0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:64: void std::__destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x000000001e66aa4d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:89: void std::destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x000000001e66a9f5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:321: void std::allocator_traits>::destroy[abi:v15000](std::allocator&, Poco::Net::HTTPChunkedOutputStream*) @ 0x000000001e66a9d9 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:309: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x000000001e66a84e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:175: std::__shared_count::__release_shared[abi:v15000]() @ 0x000000000b193a54 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:215: std::__shared_weak_count::__release_shared[abi:v15000]() @ 0x000000000b1939f9 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:703: std::shared_ptr>>::~shared_ptr[abi:v15000]() @ 0x000000001e5cd5ac in /usr/bin/clickhouse 25. /build/src/Server/HTTP/HTTPServerResponse.h:16: DB::HTTPServerResponse::~HTTPServerResponse() @ 0x000000001e664d3b in /usr/bin/clickhouse 26. /build/src/Server/HTTP/HTTPServerConnection.cpp:88: DB::HTTPServerConnection::run() @ 0x000000001e664878 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:27:01.234722 [ 743 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:27:01.235401 [ 743 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:27:01.298449 [ 743 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:27:16.478748 [ 761 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:27:16.479688 [ 761 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:27:16.568610 [ 761 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:27:30.449766 [ 65026 ] {b0bd40df-445a-4c20-bea4-ad6950e50080} executeQuery: Code: 24. DB::Exception: Cannot write to ostream at offset 5403: While executing TabSeparatedRowOutputFormat. (CANNOT_WRITE_TO_OSTREAM) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:44330) (in query: SELECT message_format_string, count(), any(message) AS any_message FROM system.text_log WHERE (now() - toIntervalMinute(240)) < event_time AND (message NOT LIKE (replaceRegexpAll(message_format_string, '{[:.0-9dfx]*}', '%') AS s)) AND (message NOT LIKE concat('%Exception: ', s, '%')) GROUP BY message_format_string ORDER BY count() DESC LIMIT 20 FORMAT TSVWithNamesAndTypes ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000d91e133 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromOStream.cpp:22: DB::WriteBufferFromOStream::nextImpl() @ 0x0000000013b6244f in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b204acd in /usr/bin/clickhouse 8. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:132: DB::WriteBufferFromHTTPServerResponse::nextImpl() @ 0x000000001e66dbdf in /usr/bin/clickhouse 9. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b204acd in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IOutputFormat.cpp:111: DB::IOutputFormat::flush() @ 0x000000001e7013bc in /usr/bin/clickhouse 11. /build/src/Processors/Formats/IOutputFormat.cpp:0: DB::IOutputFormat::work() @ 0x000000001e701134 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 2024.09.24 02:27:30.494562 [ 65026 ] {b0bd40df-445a-4c20-bea4-ad6950e50080} DynamicQueryHandler: Code: 24. DB::Exception: Cannot write to ostream at offset 5403: While executing TabSeparatedRowOutputFormat. (CANNOT_WRITE_TO_OSTREAM), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000d91e133 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromOStream.cpp:22: DB::WriteBufferFromOStream::nextImpl() @ 0x0000000013b6244f in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b204acd in /usr/bin/clickhouse 8. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:132: DB::WriteBufferFromHTTPServerResponse::nextImpl() @ 0x000000001e66dbdf in /usr/bin/clickhouse 9. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b204acd in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IOutputFormat.cpp:111: DB::IOutputFormat::flush() @ 0x000000001e7013bc in /usr/bin/clickhouse 11. /build/src/Processors/Formats/IOutputFormat.cpp:0: DB::IOutputFormat::work() @ 0x000000001e701134 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:27:30.495354 [ 65026 ] {b0bd40df-445a-4c20-bea4-ad6950e50080} DynamicQueryHandler: Cannot send exception to client: Code: 24. DB::Exception: Cannot write to ostream at offset 5592. (CANNOT_WRITE_TO_OSTREAM), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000d91e133 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromOStream.cpp:22: DB::WriteBufferFromOStream::nextImpl() @ 0x0000000013b6244f in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b204acd in /usr/bin/clickhouse 8. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:132: DB::WriteBufferFromHTTPServerResponse::nextImpl() @ 0x000000001e66dbdf in /usr/bin/clickhouse 9. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b204acd in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:950: DB::HTTPHandler::trySendExceptionToClient(String const&, int, DB::HTTPServerRequest&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&) @ 0x000000001e5c25ee in /usr/bin/clickhouse 11. /build/src/Server/HTTPHandler.cpp:1088: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c4b75 in /usr/bin/clickhouse 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:27:30.496968 [ 65026 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(String const&, int) @ 0x00000000249623a7 in /usr/bin/clickhouse 4. /build/base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x00000000249664e7 in /usr/bin/clickhouse 5. /build/base/poco/Net/src/SocketImpl.cpp:1008: Poco::Net::SocketImpl::error(int, String const&) @ 0x000000002477d04d in /usr/bin/clickhouse 6. /build/base/poco/Net/src/SocketImpl.cpp:927: Poco::Net::SocketImpl::error(int) @ 0x000000002477d6e4 in /usr/bin/clickhouse 7. /build/base/poco/Net/src/SocketImpl.cpp:0: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x000000002477e2d2 in /usr/bin/clickhouse 8. /build/base/poco/Net/src/StreamSocketImpl.cpp:63: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x0000000024785f7e in /usr/bin/clickhouse 9. /build/base/poco/Net/src/StreamSocket.cpp:114: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x0000000024781dd2 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/HTTPSession.cpp:144: Poco::Net::HTTPSession::write(char const*, long) @ 0x000000002475c84e in /usr/bin/clickhouse 11. /build/base/poco/Net/src/HTTPChunkedStream.cpp:146: Poco::Net::HTTPChunkedStreamBuf::writeToDevice(char const*, long) @ 0x0000000024746bf4 in /usr/bin/clickhouse 12. /build/base/poco/Foundation/include/Poco/BufferedStreamBuf.h:130: Poco::BasicBufferedStreamBuf, Poco::BufferAllocator>::flushBuffer() @ 0x00000000245fe8cd in /usr/bin/clickhouse 13. /build/base/poco/Foundation/include/Poco/BufferedStreamBuf.h:111: Poco::BasicBufferedStreamBuf, Poco::BufferAllocator>::sync() @ 0x00000000245fe4d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/HTTPChunkedStream.cpp:54: Poco::Net::HTTPChunkedStreamBuf::close() @ 0x00000000247463b3 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/HTTPChunkedStream.cpp:166: Poco::Net::HTTPChunkedIOS::~HTTPChunkedIOS() @ 0x0000000024746d9a in /usr/bin/clickhouse 16. /build/base/poco/Net/src/HTTPChunkedStream.cpp:208: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x0000000024747481 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/HTTPChunkedStream.cpp:207: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x00000000247474c0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:64: void std::__destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x000000001e66aa4d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:89: void std::destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x000000001e66a9f5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:321: void std::allocator_traits>::destroy[abi:v15000](std::allocator&, Poco::Net::HTTPChunkedOutputStream*) @ 0x000000001e66a9d9 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:309: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x000000001e66a84e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:175: std::__shared_count::__release_shared[abi:v15000]() @ 0x000000000b193a54 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:215: std::__shared_weak_count::__release_shared[abi:v15000]() @ 0x000000000b1939f9 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:703: std::shared_ptr>>::~shared_ptr[abi:v15000]() @ 0x000000001e5cd5ac in /usr/bin/clickhouse 25. /build/src/Server/HTTP/HTTPServerResponse.h:16: DB::HTTPServerResponse::~HTTPServerResponse() @ 0x000000001e664d3b in /usr/bin/clickhouse 26. /build/src/Server/HTTP/HTTPServerConnection.cpp:88: DB::HTTPServerConnection::run() @ 0x000000001e664878 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:27:31.740424 [ 760 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:27:31.740840 [ 760 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:27:31.814853 [ 760 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:27:46.964596 [ 765 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:27:46.965920 [ 765 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:27:47.027691 [ 765 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:28:02.186594 [ 768 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:28:02.187226 [ 768 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:28:02.276645 [ 768 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:28:06.061020 [ 43330 ] {18509ba0-f5d9-40fa-909f-88332257e6c4} executeQuery: Code: 24. DB::Exception: Cannot write to ostream at offset 5403: While executing TabSeparatedRowOutputFormat. (CANNOT_WRITE_TO_OSTREAM) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:41558) (in query: SELECT message_format_string, count(), any(message) AS any_message FROM system.text_log WHERE (now() - toIntervalMinute(240)) < event_time AND (message NOT LIKE (replaceRegexpAll(message_format_string, '{[:.0-9dfx]*}', '%') AS s)) AND (message NOT LIKE concat('%Exception: ', s, '%')) GROUP BY message_format_string ORDER BY count() DESC LIMIT 20 FORMAT TSVWithNamesAndTypes ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000d91e133 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromOStream.cpp:22: DB::WriteBufferFromOStream::nextImpl() @ 0x0000000013b6244f in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b204acd in /usr/bin/clickhouse 8. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:132: DB::WriteBufferFromHTTPServerResponse::nextImpl() @ 0x000000001e66dbdf in /usr/bin/clickhouse 9. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b204acd in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IOutputFormat.cpp:111: DB::IOutputFormat::flush() @ 0x000000001e7013bc in /usr/bin/clickhouse 11. /build/src/Processors/Formats/IOutputFormat.cpp:0: DB::IOutputFormat::work() @ 0x000000001e701134 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 2024.09.24 02:28:06.111488 [ 43330 ] {18509ba0-f5d9-40fa-909f-88332257e6c4} DynamicQueryHandler: Code: 24. DB::Exception: Cannot write to ostream at offset 5403: While executing TabSeparatedRowOutputFormat. (CANNOT_WRITE_TO_OSTREAM), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000d91e133 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromOStream.cpp:22: DB::WriteBufferFromOStream::nextImpl() @ 0x0000000013b6244f in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b204acd in /usr/bin/clickhouse 8. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:132: DB::WriteBufferFromHTTPServerResponse::nextImpl() @ 0x000000001e66dbdf in /usr/bin/clickhouse 9. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b204acd in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IOutputFormat.cpp:111: DB::IOutputFormat::flush() @ 0x000000001e7013bc in /usr/bin/clickhouse 11. /build/src/Processors/Formats/IOutputFormat.cpp:0: DB::IOutputFormat::work() @ 0x000000001e701134 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:28:06.112301 [ 43330 ] {18509ba0-f5d9-40fa-909f-88332257e6c4} DynamicQueryHandler: Cannot send exception to client: Code: 24. DB::Exception: Cannot write to ostream at offset 5592. (CANNOT_WRITE_TO_OSTREAM), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000d91e133 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromOStream.cpp:22: DB::WriteBufferFromOStream::nextImpl() @ 0x0000000013b6244f in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b204acd in /usr/bin/clickhouse 8. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:132: DB::WriteBufferFromHTTPServerResponse::nextImpl() @ 0x000000001e66dbdf in /usr/bin/clickhouse 9. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b204acd in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:950: DB::HTTPHandler::trySendExceptionToClient(String const&, int, DB::HTTPServerRequest&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&) @ 0x000000001e5c25ee in /usr/bin/clickhouse 11. /build/src/Server/HTTPHandler.cpp:1088: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c4b75 in /usr/bin/clickhouse 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:28:06.114322 [ 43330 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(String const&, int) @ 0x00000000249623a7 in /usr/bin/clickhouse 4. /build/base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x00000000249664e7 in /usr/bin/clickhouse 5. /build/base/poco/Net/src/SocketImpl.cpp:1008: Poco::Net::SocketImpl::error(int, String const&) @ 0x000000002477d04d in /usr/bin/clickhouse 6. /build/base/poco/Net/src/SocketImpl.cpp:927: Poco::Net::SocketImpl::error(int) @ 0x000000002477d6e4 in /usr/bin/clickhouse 7. /build/base/poco/Net/src/SocketImpl.cpp:0: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x000000002477e2d2 in /usr/bin/clickhouse 8. /build/base/poco/Net/src/StreamSocketImpl.cpp:63: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x0000000024785f7e in /usr/bin/clickhouse 9. /build/base/poco/Net/src/StreamSocket.cpp:114: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x0000000024781dd2 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/HTTPSession.cpp:144: Poco::Net::HTTPSession::write(char const*, long) @ 0x000000002475c84e in /usr/bin/clickhouse 11. /build/base/poco/Net/src/HTTPChunkedStream.cpp:146: Poco::Net::HTTPChunkedStreamBuf::writeToDevice(char const*, long) @ 0x0000000024746bf4 in /usr/bin/clickhouse 12. /build/base/poco/Foundation/include/Poco/BufferedStreamBuf.h:130: Poco::BasicBufferedStreamBuf, Poco::BufferAllocator>::flushBuffer() @ 0x00000000245fe8cd in /usr/bin/clickhouse 13. /build/base/poco/Foundation/include/Poco/BufferedStreamBuf.h:111: Poco::BasicBufferedStreamBuf, Poco::BufferAllocator>::sync() @ 0x00000000245fe4d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/HTTPChunkedStream.cpp:54: Poco::Net::HTTPChunkedStreamBuf::close() @ 0x00000000247463b3 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/HTTPChunkedStream.cpp:166: Poco::Net::HTTPChunkedIOS::~HTTPChunkedIOS() @ 0x0000000024746d9a in /usr/bin/clickhouse 16. /build/base/poco/Net/src/HTTPChunkedStream.cpp:208: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x0000000024747481 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/HTTPChunkedStream.cpp:207: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x00000000247474c0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:64: void std::__destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x000000001e66aa4d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:89: void std::destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x000000001e66a9f5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:321: void std::allocator_traits>::destroy[abi:v15000](std::allocator&, Poco::Net::HTTPChunkedOutputStream*) @ 0x000000001e66a9d9 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:309: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x000000001e66a84e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:175: std::__shared_count::__release_shared[abi:v15000]() @ 0x000000000b193a54 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:215: std::__shared_weak_count::__release_shared[abi:v15000]() @ 0x000000000b1939f9 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:703: std::shared_ptr>>::~shared_ptr[abi:v15000]() @ 0x000000001e5cd5ac in /usr/bin/clickhouse 25. /build/src/Server/HTTP/HTTPServerResponse.h:16: DB::HTTPServerResponse::~HTTPServerResponse() @ 0x000000001e664d3b in /usr/bin/clickhouse 26. /build/src/Server/HTTP/HTTPServerConnection.cpp:88: DB::HTTPServerConnection::run() @ 0x000000001e664878 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:28:17.429410 [ 780 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:28:17.429975 [ 780 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:28:17.493279 [ 780 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:28:32.645295 [ 784 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:28:32.645869 [ 784 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:28:32.725350 [ 784 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:28:35.043546 [ 65026 ] {5145c2a3-6800-4c8b-b4f6-3516873c4586} executeQuery: Code: 24. DB::Exception: Cannot write to ostream at offset 115: While executing TabSeparatedRowOutputFormat. (CANNOT_WRITE_TO_OSTREAM) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:32902) (in query: SELECT message_format_string, count(), any(message) AS any_message FROM system.text_log WHERE (now() - toIntervalMinute(240)) < event_time AND (message NOT LIKE (replaceRegexpAll(message_format_string, '{[:.0-9dfx]*}', '%') AS s)) AND (message NOT LIKE concat('%Exception: ', s, '%')) GROUP BY message_format_string ORDER BY count() DESC LIMIT 20 FORMAT TSVWithNamesAndTypes ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000d91e133 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromOStream.cpp:22: DB::WriteBufferFromOStream::nextImpl() @ 0x0000000013b6244f in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b204acd in /usr/bin/clickhouse 8. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:132: DB::WriteBufferFromHTTPServerResponse::nextImpl() @ 0x000000001e66dbdf in /usr/bin/clickhouse 9. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b204acd in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IOutputFormat.cpp:111: DB::IOutputFormat::flush() @ 0x000000001e7013bc in /usr/bin/clickhouse 11. /build/src/Processors/Formats/IOutputFormat.cpp:0: DB::IOutputFormat::work() @ 0x000000001e701134 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse 2024.09.24 02:28:35.086714 [ 65026 ] {5145c2a3-6800-4c8b-b4f6-3516873c4586} DynamicQueryHandler: Code: 24. DB::Exception: Cannot write to ostream at offset 115: While executing TabSeparatedRowOutputFormat. (CANNOT_WRITE_TO_OSTREAM), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000d91e133 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromOStream.cpp:22: DB::WriteBufferFromOStream::nextImpl() @ 0x0000000013b6244f in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b204acd in /usr/bin/clickhouse 8. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:132: DB::WriteBufferFromHTTPServerResponse::nextImpl() @ 0x000000001e66dbdf in /usr/bin/clickhouse 9. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b204acd in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IOutputFormat.cpp:111: DB::IOutputFormat::flush() @ 0x000000001e7013bc in /usr/bin/clickhouse 11. /build/src/Processors/Formats/IOutputFormat.cpp:0: DB::IOutputFormat::work() @ 0x000000001e701134 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6ecc43 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6ec980 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d19a1 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d1d37 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d2a78 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29d5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d29b5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d2995 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d2960 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000013950396 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394f875 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5cba3 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a67404 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a673d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a673b9 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a6731d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a67225 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a67195 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a67175 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a67155 in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:28:35.087557 [ 65026 ] {5145c2a3-6800-4c8b-b4f6-3516873c4586} DynamicQueryHandler: Cannot send exception to client: Code: 24. DB::Exception: Cannot write to ostream at offset 303. (CANNOT_WRITE_TO_OSTREAM), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000d91e133 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromOStream.cpp:22: DB::WriteBufferFromOStream::nextImpl() @ 0x0000000013b6244f in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b204acd in /usr/bin/clickhouse 8. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:132: DB::WriteBufferFromHTTPServerResponse::nextImpl() @ 0x000000001e66dbdf in /usr/bin/clickhouse 9. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b204acd in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:950: DB::HTTPHandler::trySendExceptionToClient(String const&, int, DB::HTTPServerRequest&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&) @ 0x000000001e5c25ee in /usr/bin/clickhouse 11. /build/src/Server/HTTPHandler.cpp:1088: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c4b75 in /usr/bin/clickhouse 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:28:35.089136 [ 65026 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(String const&, int) @ 0x00000000249623a7 in /usr/bin/clickhouse 4. /build/base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x00000000249664e7 in /usr/bin/clickhouse 5. /build/base/poco/Net/src/SocketImpl.cpp:1008: Poco::Net::SocketImpl::error(int, String const&) @ 0x000000002477d04d in /usr/bin/clickhouse 6. /build/base/poco/Net/src/SocketImpl.cpp:927: Poco::Net::SocketImpl::error(int) @ 0x000000002477d6e4 in /usr/bin/clickhouse 7. /build/base/poco/Net/src/SocketImpl.cpp:0: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x000000002477e2d2 in /usr/bin/clickhouse 8. /build/base/poco/Net/src/StreamSocketImpl.cpp:63: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x0000000024785f7e in /usr/bin/clickhouse 9. /build/base/poco/Net/src/StreamSocket.cpp:114: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x0000000024781dd2 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/HTTPSession.cpp:144: Poco::Net::HTTPSession::write(char const*, long) @ 0x000000002475c84e in /usr/bin/clickhouse 11. /build/base/poco/Net/src/HTTPChunkedStream.cpp:146: Poco::Net::HTTPChunkedStreamBuf::writeToDevice(char const*, long) @ 0x0000000024746bf4 in /usr/bin/clickhouse 12. /build/base/poco/Foundation/include/Poco/BufferedStreamBuf.h:130: Poco::BasicBufferedStreamBuf, Poco::BufferAllocator>::flushBuffer() @ 0x00000000245fe8cd in /usr/bin/clickhouse 13. /build/base/poco/Foundation/include/Poco/BufferedStreamBuf.h:111: Poco::BasicBufferedStreamBuf, Poco::BufferAllocator>::sync() @ 0x00000000245fe4d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/HTTPChunkedStream.cpp:54: Poco::Net::HTTPChunkedStreamBuf::close() @ 0x00000000247463b3 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/HTTPChunkedStream.cpp:166: Poco::Net::HTTPChunkedIOS::~HTTPChunkedIOS() @ 0x0000000024746d9a in /usr/bin/clickhouse 16. /build/base/poco/Net/src/HTTPChunkedStream.cpp:208: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x0000000024747481 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/HTTPChunkedStream.cpp:207: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x00000000247474c0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:64: void std::__destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x000000001e66aa4d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:89: void std::destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x000000001e66a9f5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:321: void std::allocator_traits>::destroy[abi:v15000](std::allocator&, Poco::Net::HTTPChunkedOutputStream*) @ 0x000000001e66a9d9 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:309: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x000000001e66a84e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:175: std::__shared_count::__release_shared[abi:v15000]() @ 0x000000000b193a54 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:215: std::__shared_weak_count::__release_shared[abi:v15000]() @ 0x000000000b1939f9 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:703: std::shared_ptr>>::~shared_ptr[abi:v15000]() @ 0x000000001e5cd5ac in /usr/bin/clickhouse 25. /build/src/Server/HTTP/HTTPServerResponse.h:16: DB::HTTPServerResponse::~HTTPServerResponse() @ 0x000000001e664d3b in /usr/bin/clickhouse 26. /build/src/Server/HTTP/HTTPServerConnection.cpp:88: DB::HTTPServerConnection::run() @ 0x000000001e664878 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:28:47.879916 [ 793 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:28:47.880471 [ 793 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:28:47.968267 [ 793 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:29:03.120780 [ 810 ] {} DNSResolver: Cannot resolve host (KZ.n), error 0: Host not found. 2024.09.24 02:29:03.121359 [ 810 ] {} DNSResolver: Cannot resolve host (;A), error 0: Host not found. 2024.09.24 02:29:03.182335 [ 810 ] {} DNSResolver: Cannot resolve host (), error 0: No address found. 2024.09.24 02:29:09.380692 [ 667 ] {} Application: Closed all listening sockets. Waiting for 19 outstanding connections. 2024.09.24 02:29:09.631350 [ 65026 ] {ea29213b-6b23-46e8-b7b2-9f8c72e9cfaa} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.16.41.altinitystable (altinity build)) (from [::1]:53074) (in query: SELECT message_format_string, count(), any(message) AS any_message FROM system.text_log WHERE (now() - toIntervalMinute(240)) < event_time AND (message NOT LIKE (replaceRegexpAll(message_format_string, '{[:.0-9dfx]*}', '%') AS s)) AND (message NOT LIKE concat('%Exception: ', s, '%')) GROUP BY message_format_string ORDER BY count() DESC LIMIT 20 FORMAT TSVWithNamesAndTypes ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f983e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x000000001ccaa25b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6d0a80 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6d115c in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d09f6 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ce1c8 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b3ee0 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? 2024.09.24 02:29:09.680704 [ 65026 ] {ea29213b-6b23-46e8-b7b2-9f8c72e9cfaa} DynamicQueryHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f983e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x000000001ccaa25b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6d0a80 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6d115c in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6d09f6 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ce1c8 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b3ee0 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5c12b1 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3de7 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 20. ? @ 0x00007f1d281b3ac3 in ? 21. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:29:09.681840 [ 65026 ] {ea29213b-6b23-46e8-b7b2-9f8c72e9cfaa} DynamicQueryHandler: Cannot send exception to client: Code: 24. DB::Exception: Cannot write to ostream at offset 122. (CANNOT_WRITE_TO_OSTREAM), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a33c2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a338d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x000000002495ef40 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138de6ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b19540a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000d91e133 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromOStream.cpp:22: DB::WriteBufferFromOStream::nextImpl() @ 0x0000000013b6244f in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b204acd in /usr/bin/clickhouse 8. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:132: DB::WriteBufferFromHTTPServerResponse::nextImpl() @ 0x000000001e66dbdf in /usr/bin/clickhouse 9. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b204acd in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:950: DB::HTTPHandler::trySendExceptionToClient(String const&, int, DB::HTTPServerRequest&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&) @ 0x000000001e5c25ee in /usr/bin/clickhouse 11. /build/src/Server/HTTPHandler.cpp:1088: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c4b75 in /usr/bin/clickhouse 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e6646dc in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x0000000024787579 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000024787dbc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249dc434 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249d91da in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249d7ede in /usr/bin/clickhouse 18. ? @ 0x00007f1d281b3ac3 in ? 19. ? @ 0x00007f1d28244a04 in ? (version 23.8.16.41.altinitystable (altinity build)) 2024.09.24 02:29:14.288557 [ 667 ] {} Application: Closed connections. But 8 remain. Tip: To increase wait time add to config: 60 2024.09.24 02:29:14.288793 [ 667 ] {} Application: Will shutdown forcefully.